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
{{ message }}
Repository navigation
fix: CSV import can target the previous database #921
The useCallback for ImportDialog.handleImportCsv leaves database out of its dependency list (this is the existing react-hooks/exhaustive-deps warning). After the user changes the target database in the dialog, a CSV import can still run against the database that was selected before.
Fix
Add database (and any other missing dependencies the lint warning lists) to the deps. Add a test that changes the database and then imports.
Related, smaller items found in the same pass (#918)
PrivilegesEditor runs the per-database SHOW GRANTS through api.executeQuery (not recorded), but the global one through runStatement (recorded as internal). One path should be used for both.
TableStructure and TableDesigner (now through tableDetailsStore) call api.* directly instead of dataSourceFor, so SQLite connections miss their data-source routing.
The src/dev/mockconnected and lost scenarios: list_connections reopens Local dev after it has been disconnected.
Activity
fix: grid cell keys, tx switch prompt, CSV import (#922)