TablePlus / TablePlus

TablePlus macOS issue tracker
https://tableplus.com
3.39k stars 56 forks source link

Should stay in the "No database selected" screen when the last database tab closed #3321

Open mp-dennis opened 3 months ago

mp-dennis commented 3 months ago

Please answer the questions below, it helps us to keep track of the issue. Please do not ignore it or your issue will be closed.

  1. Which driver are you using and version of it (Ex: PostgreSQL 10.0): MySQL

  2. Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81): Version 6.0.6 (558)

  3. The steps to reproduce this issue: a. Open any connection (without default database) b. Open any database(s) c. Close all databases tab by shortcut key (e.g. macos: CMD + w)

Expected: Should stay in the "No database selected" screen when the last database tab closed. Same like the screen from step a.

Actual: The connection window is closed and return to the connection list page.

Noted: If the bug is related to data, please attach an example SQL data. N/A


My project has many databases in the same server. When finish current task and move to new task, I want to closed all databases but keep the connection open, then open the database related to the new task again. So I can stay focus on the things needed with this quick actions.

My current practise, I need to open a database first, then right click and click "Close other connections". But if the database already opened, it will create a new database tab for the same database. So, I need to find the existing database from the tab list on the left. In the current design, it is very hard to see the database name if the connection name is long.

Another suggestion, to add "Close all connections" in the right click context menu. Expected it should show the "No database selected" screen as well.

Hopefully this idea can be adopted.

Since I met TablePlus many years ago, I stop using any other tools. I managed to convince many friends/colleagues move to TablePlus. You guys are awesome. Thank you.