Skip to content

feat(sidebar): add favorite databases - #2184

Open
sophiathedev wants to merge 3 commits into
TableProApp:mainfrom
sophiathedev:agent/favorite-databases
Open

feat(sidebar): add favorite databases#2184
sophiathedev wants to merge 3 commits into
TableProApp:mainfrom
sophiathedev:agent/favorite-databases

Conversation

@sophiathedev

@sophiathedev sophiathedev commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Closes #1553

Summary

  • add database favorites from the Tree sidebar with Development, Testing, Production, and Unassigned environments
  • show favorite databases first in the Favorites sidebar, grouped by environment with search, filtering, persisted disclosure, keyboard actions, and double-click switching
  • keep favorites local and connection-scoped, clean them up when a connection is deleted, and document the behavior

Preview

Favorite databases grouped by environment in the Favorites sidebar

Verification

  • generated the Xcode project successfully
  • passed an unsigned Debug build of the TablePro scheme
  • passed 85 affected storage, grouping, menu, selection, AppKit, connection cleanup, and persistence tests in the deep pass
  • passed the focused FavoritesOutlineSelectionTests again after the final persistence regression was added
  • passed strict SwiftLint on all 34 changed Swift files with 0 violations
  • verified the native flow against a disposable MySQL server in OrbStack: all groups render, the environment filter works, state survives relaunch, and double-click switches the active database

UI automation is covered at the AppKit coordinator boundary because the database Tree layout requires a live database server. The manual native pass used an isolated app sandbox and disposable server data.

@sophiathedev
sophiathedev marked this pull request as ready for review August 18, 2026 14:22
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Favorite Databases (Right‑click on Database Name + Environment Grouping)

1 participant