Skip to content

fix(editor): polish context menus and data tokens - #339

Merged
DavidBabinec merged 1 commit into
mainfrom
fix/editor-ui-polish
Aug 3, 2026
Merged

fix(editor): polish context menus and data tokens#339
DavidBabinec merged 1 commit into
mainfrom
fix/editor-ui-polish

Conversation

@DavidBabinec

Copy link
Copy Markdown
Contributor

Summary

  • improve clearable segmented controls and remove duplicate viewport/context labels
  • replace the Content slash menu's one-off styling with the shared context-menu primitive
  • extract a reusable data-binding picker shared by Site and Content
  • make Content token insertion browse real system, collection, custom media, and repeater fields
  • suppress the insert-token tooltip while its picker is open and remove duplicate repeater labels

Why

Several small editor details duplicated labels or used one-off UI. Content token insertion also hardcoded {currentEntry.title} instead of letting users choose from the data available in the current workspace.

Impact

The editor now presents cleaner context controls and one consistent menu treatment. Content authors can insert valid tokens from their active collection, including custom image/media and repeater data, with populated previews where available.

Verification

  • focused editor/token suites: 116 tests passed
  • bun run lint
  • bun run build
  • browser smoke checks for the affected Site and Content interactions

@DavidBabinec
DavidBabinec merged commit bbabd42 into main Aug 3, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant