Skip to content

[P1][bug] Most FR-4.3 context-menu operations are missing #293

Closed

Description

@EVWorth

Context

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.

Needs human verify

No.

Activity

  1. added
    audit
    severity/p1
    kind/bug
    kind/doc-drift
    area/schema
    on Jul 24, 2026
  2. EVWorth commented on Sep 11, 2026

    @EVWorth
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/schemaauditkind/bugkind/doc-driftseverity/p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions