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
[P1][bug] Most FR-4.3 context-menu operations are missing #293
FR-4.3.1-4.3.4 enumerate specific menu actions per object type. Most are not implemented.
Problem
Table menus lack INSERT template, TRUNCATE, Rename, Duplicate structure. Database menus lack Create, Drop, Set as default, statistics. Column and index menus cannot exist because columns/indexes are not nodes. "Select Top 100 Rows" is mislabeled (uses configurable maxResultRows, often 1000).
Files
src/components/schema/SchemaTree.tsx:324
Repro
Right-click a table — no Rename, no TRUNCATE, no Duplicate, no INSERT template. Right-click a database — no Create or Drop here.
Expected
Every FR-4.3 menu item is available on its intended node. Destructive ops confirm. SELECT TOP N label and limit reflect the configured value.
Proposed fix
Scope L. Implement object-specific context menus and safe store actions for every FR-4.3 op, with confirmation for destructive ops and a label that uses the configured N.
Acceptance
Right-clicking each object type surfaces the documented menu set; destructions confirm; SELECT TOP N displays the configured N.
Done in #642. One thing not covered, deliberately.
Column and index context menus. The issue notes these "cannot exist because columns/indexes are not nodes". I have not made them nodes: a tree that expands to every column of every table is a lot of fetching and a lot of scrolling for information the Columns tab already shows better — with type, nullability, default, key and comment side by side rather than one line each.
What the column menus would have offered is reachable: the details panel shows everything about a column, the designer edits them, and dragging a table name into the editor is now possible from the tree (#643).
If you want columns as nodes for the drag-a-column case specifically, say so — that is the one thing the panel cannot do, and it would be a contained change now that the schema store can fetch columns per table.
Activity
feat(schema): the details and menu operations FR-4.2 and FR-4.3 ask for
feat(schema): the details and menu operations FR-4.2 and FR-4.3 ask for
feat(schema): the details and menu operations FR-4.2 and FR-4.3 ask f…
EVWorth commentedon Sep 11, 2026
Done in #642. One thing not covered, deliberately.
Column and index context menus. The issue notes these "cannot exist because columns/indexes are not nodes". I have not made them nodes: a tree that expands to every column of every table is a lot of fetching and a lot of scrolling for information the Columns tab already shows better — with type, nullability, default, key and comment side by side rather than one line each.
What the column menus would have offered is reachable: the details panel shows everything about a column, the designer edits them, and dragging a table name into the editor is now possible from the tree (#643).
If you want columns as nodes for the drag-a-column case specifically, say so — that is the one thing the panel cannot do, and it would be a contained change now that the schema store can fetch columns per table.