TinyDB GUI Feature Backlog
Keep a list of recently executed SQL statements.
Click an item to load it back into the SQL editor.
Optional: one-click re-run button.
Let users pin/favorite useful queries.
Save snippets locally (same style as GUI config persistence).
Add quick insert/execute controls.
3) Full Row CRUD in Table Viewer
Add Add Row dialog.
Add Delete Selected Row with confirmation.
Keep current Edit Selected Row flow.
4) Inline Table Filter + Sort
Per-table quick filter input (e.g. "contains").
Clickable column headers to toggle ASC/DESC sort.
Keep filtering/sorting responsive for common table sizes.
Dialogs/buttons for:
Add column
Remove last column
Rename column
Drop table (with strong confirmation)
Surface clear limitations from engine rules.
New AI action to explain currently typed SQL.
Include expected effect and potential risks.
Keep result concise and actionable.
Optional modes:
Read-only (SELECT only)
Block destructive statements (DROP/DELETE)
Enforce guardrails before execution.
8) Richer Error Diagnostics
Show parser location/snippet in a dedicated diagnostics section.
Offer likely fixes (identifier mismatch, unsupported syntax, etc.).
Add one-click copy for full error details.
Export query/table results to CSV.
Import CSV into selected table with column mapping and validation.
10) Status Bar + DB Stats
Show open DB path, table count, and query timing.
Optional lightweight row-count info per table.
Improve visibility of current app state.
Suggested Implementation Order
SQL History Panel
Full Row CRUD in Table Viewer
Inline Table Filter + Sort
Schema Actions in GUI
Richer Error Diagnostics
Saved Query Snippets
CSV Import/Export
AI Guardrails Toggle
AI Explain This SQL
Status Bar + DB Stats
You can’t perform that action at this time.