Skip to content

feat(ui): XPS workbench Ribbon entries, Overlay naming, catalog context menu - #85

Merged
nmrtist merged 1 commit into
nmrtist:mainfrom
Limdongcheng:up/ribbon-workbench-entries
Sep 2, 2026
Merged

feat(ui): XPS workbench Ribbon entries, Overlay naming, catalog context menu#85
nmrtist merged 1 commit into
nmrtist:mainfrom
Limdongcheng:up/ribbon-workbench-entries

Conversation

@Limdongcheng

Copy link
Copy Markdown
Contributor

Summary

  • XPS datasets get an Analyze ▸ XPS group: four navigation commands open the XPS workbench on its Acquisition, Background, Components, or Diagnostics page in the right sidebar, with the current page checked. The workbench pages become palette-searchable for the first time, and the Analyze tab is no longer near-empty for XPS work.
  • The trace-alignment group drops the bare "Align" title, which collided with Arrange's object alignment and Process's spectrum alignment; it reads "Overlay" now.
  • The canvas context menu routes its grid, spacing, order, snap, layout-grid and canvas-settings rows through the command catalog, rendered by the same menu-row helper as the in-window menu bar, so labels, enabled state, shortcuts, and checkmarks cannot drift from the Ribbon and the palette.
  • Docs: a Ribbon reference page (EN and zh-CN) lists the tab and group vocabulary users see on screen and the width behaviour; the UI overview names the right sidebar's Dataset tools and the CRAFT task-dock tab, and the pages that pointed at an undefined "toolbar" now name the actual surface.

Validation

  • cargo pr-check passes (fmt, file size, dependency policy, both frontends, clippy with denied warnings, tests).
  • npm run build in docs/ passes with the new reference page in the sidebar.

UI display logic

  • New or changed actions go through the command catalog (CommandId +
    describe) and are searchable in the command palette.
  • Hiding happens only at Ribbon-group level (dataset kind or width
    budget); transient states disable with a disabled_reason that says how
    to unblock. (The XPS group is hidden for non-XPS datasets; its commands
    disable in the palette with "Open an XPS dataset before using the XPS
    workbench.")
  • No layout changes from background events; panels are never auto-closed.
    (The workbench commands reveal the right sidebar on a user action only.)
  • New panels or empty regions show an empty state with a next step. (None
    added.)
  • Docs updated in docs/ (English and zh-CN) for user-visible behavior.

🤖 Generated with Claude Code

…xt menu

Close the information-architecture gaps the Ribbon diagnosis surfaced:

- XPS datasets get an Analyze group: four navigation commands open the
  XPS workbench on its Acquisition, Background, Components, or
  Diagnostics page in the right sidebar, with the current page checked.
  The workbench pages become palette-searchable for the first time;
  the Analyze tab is no longer near-empty for XPS work.
- The trace-alignment group drops the bare "Align" title, which
  collided with Arrange's object alignment and Process's spectrum
  alignment; it reads "Overlay" now.
- The canvas context menu routes its grid, spacing, order, snap, grid
  and canvas-settings rows through the command catalog, rendered by the
  same menu-row helper as the in-window menu bar, so labels, enabled
  state, shortcuts, and checkmarks can no longer drift from the Ribbon
  and palette.
- Docs: a Ribbon reference page (EN and zh-CN) teaches the tab and
  group vocabulary users see on screen; the glossary names the right
  sidebar's Dataset tools and the CRAFT task-dock tab, and the pages
  that pointed at an undefined "toolbar" now name the actual surface.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@nmrtist
nmrtist merged commit 12c093d into nmrtist:main Sep 2, 2026
11 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants