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
feat: implement tab persistence and last query memory
- Add TabStateStorage service for saving/loading tab state per connection
- Implement tab persistence: save tabs on quit, restore on reconnect
- Add last query memory: auto-fill new query tabs with last typed query
- Smart state clearing: remove saved state when all tabs are closed
- Sync tabs between UI (QueryTabManager) and session (ConnectionSession)
- Clean up debug logs for production readiness
Features:
- Tabs are saved to UserDefaults per connection ID
- Only essential tab data is persisted (title, query, type, table name)
- Last query is saved separately and loaded into new query tabs
- Empty query clears the last query memory
- Closing all tabs immediately clears saved state
0 commit comments