Skip to content

feat(sidebar): add favorite tables, recent tables, and sidebar improvements#1422

Open
J2TeamNNL wants to merge 7 commits into
TableProApp:mainfrom
J2TeamNNL:sidebar
Open

feat(sidebar): add favorite tables, recent tables, and sidebar improvements#1422
J2TeamNNL wants to merge 7 commits into
TableProApp:mainfrom
J2TeamNNL:sidebar

Conversation

@J2TeamNNL
Copy link
Copy Markdown

Summary

  • Add favorite tables with star toggle and persistent storage (FavoriteTablesStorage)
  • Add recent tables tracking (RecentTablesStore) with automatic updates on table open
  • Add create-table button in sidebar, fix overflow, remove ER diagram context menu item
  • Sync support for favorite tables with iCloud conflict resolution

Checklist

  • Tests added or updated
  • CHANGELOG.md updated under [Unreleased]
  • Docs updated in docs/ (favorites.mdx, table-operations.mdx, icloud-sync.mdx)
  • User-facing strings localized
  • No SwiftLint/SwiftFormat violations

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@J2TeamNNL
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA.

J2TeamNNL added 7 commits May 26, 2026 23:58
…verflow fix

- Recent tables section at top of Tables sidebar (last 10 per connection/database,
  in-memory, clears on quit). RecentTablesStore pushes on every openTableTab call.
- TableRow trailing star button toggles favorite inline; overlay star badge removed.
  Add/Remove Favorites dropped from SidebarContextMenu (star button replaces it).
- Favorites tab now has only Tables and Queries sections (Recent removed).
- Plus button next to sidebar search field opens Create Table tab; disabled in safe mode.
- Window minimum width now recomputes dynamically when sidebar or inspector
  collapse/expand, preventing layout overflow on small windows.
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.

1 participant