You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to see a TablePlus option in the "Open in..." section so I can immediately one-click jump into the DB via GUI.
Why
TablePlus is supported by other local site apps like Local and I enjoy the ease-of-use for that flow. I use TablePlus for all of my DB connections on various projects for both remote and local DBs.
How
Various areas of the code reference vscode/phpstorm so those places would also need to support tableplus.
TablePlus is at /Applications/TablePlus.app on macOS.
This would be a new if conditional that could look something like this:
if(installedApps.tableplus){buttonsArray.push({label: 'TablePlus',className: 'text-nowrap',icon: connection,onClick: async()=>{try{awaitgetIpcApi().openURL(`sqlite://@${encodeURIComponent(selectedSite.path)}%2Fwp-content%2Fdatabase%2F.ht.sqlite/.ht.sqlite?statusColor=686B6F&env=local&name=Studio%20%3E%20${encodeURIComponent(selectedSite.path)}&tLSMode=0&usePrivateKey=false&safeModeLevel=0&advancedSafeModeLevel=0&driverVersion=0&lazyload=true`);}catch(error){Sentry.captureException(error);alert(sprintf(__("Could not open the database in %s. Please check if it's installed correctly."),'TablePlus'));}},});}
The connection icon would need to be imported at the top of the file as well.
This is just kind of an example of what that might look like, the logic may need to change during testing.
The text was updated successfully, but these errors were encountered:
What
I'd like to see a TablePlus option in the "Open in..." section so I can immediately one-click jump into the DB via GUI.
Why
TablePlus is supported by other local site apps like Local and I enjoy the ease-of-use for that flow. I use TablePlus for all of my DB connections on various projects for both remote and local DBs.
How
Various areas of the code reference vscode/phpstorm so those places would also need to support tableplus.
TablePlus is at
/Applications/TablePlus.app
on macOS.The main area where the logic for how to use the installed status would be just below the PhpStorm option in https://github.com/Automattic/studio/blob/trunk/src/components/content-tab-overview.tsx
This would be a new if conditional that could look something like this:
The connection icon would need to be imported at the top of the file as well.
This is just kind of an example of what that might look like, the logic may need to change during testing.
The text was updated successfully, but these errors were encountered: