Repository navigation
Description
Stage 1 — Reliable appearance and controls
Synopsis
The existing placement/settings ellipsis is visually ambiguous once an actual overflow menu is introduced. Give table configuration a distinct table-and-gear treatment.
End goal
Users can distinguish table placement/settings from hidden toolbar actions at a glance and through assistive technology.
Start after
No prerequisite issue. This work can start independently from freshly fetched origin/main; stage numbering does not require waiting for every earlier milestone. Use the repository's dedicated feature-branch/worktree workflow and record the actual base revision.
Current evidence
The current table toolbar uses an ellipsis for its placement picker. This is an approved usability refinement, not a report that the picker action itself is missing.
Source-inspected baseline: 19b276f3b819b9549e3a9e06d2dc967d8187ec06. Recheck the relevant code on the actual implementation base. No current runtime pass or implementation completion is claimed by this issue.
Agreed scope
- Use a legible table icon with a small gear treatment; keep the chosen glyph consistent with the existing icon family.
- Use a precise tooltip and accessible name reflecting the placement/settings scope, rather than promising unrelated table formatting.
- Reserve the overflow ellipsis for additional actions; do not implement the responsive overflow behavior in this issue.
Acceptance criteria
- The placement/settings control has the agreed distinct icon in every toolbar orientation and docked/compact arrangement.
- Tooltip, accessible name, focus indicator, hit target, and keyboard activation remain usable across themes and zoom levels.
- The new icon opens the existing placement menu and preserves its behavior, active table, and selection.
- Required interface translations are updated consistently; no Markdown or undo change occurs from opening the menu.
Verification
- Provide rendered views of horizontal, vertical, docked, and compact controls in light and dark themes.
- Check keyboard and screen-reader semantics in the browser fixture and smoke-check both editor hosts.
Source pointers
src/webview/table-toolbar.jssrc/webview/editor.jssrc/webview/styles.csssrc/i18n/locales
Delivery contract
Implement the shared editor behavior in both VS Code and Electron. View-only settings/actions must preserve Markdown, selection/editing context, clean state, and undo history. For new or changed settings, keep host wiring, manifest descriptions, all supported translations, and documentation consistent. Preserve existing identifiers and defaults except for the deliberate changes specified above.
Work from the repository root using the Node version in .node-version and the maintained instructions in CONTRIBUTING.md, docs/building.md, and docs/testing/README.md; export changes also follow docs/export-verification.md. Run full compilation after webview JavaScript/CSS, shared-module, or translation changes, plus checks that exercise the changed behavior. Rebuild and reinstall for installed-extension evidence. Report failures/skips honestly; follow required CI and review gates. Update affected documentation and review any committed Markdown in source and rendered form.
Link the PR or investigation to this issue. Keep remediation on the same focused work item where practical. Completion requires the stated evidence and accepted outcome; opening a draft PR does not complete the issue. No deadline or assignee is imposed by this issue.
Activity