- Upstream merged core, data, editor, and utils into a single `components` crate: `ui::button`, `ui::tabs`, `ui::code`, `ui::tree`, `ui::sidebar` are flat, and `h_flex`/`v_flex`/`StyledExt` live in `ui::common` and `ui::layout`. - Adopts the new wrapper-less component module tree, the merged theme/icon updates, and the relocated editor grammars. - Titlebar repo tabs use the new `TabsVariant::Titlebar` capsule sizing. - Doc examples now import from `ui::`, so all 44 doctests compile; the clipboard sample no longer names the kit crate. - docs/ui-gaps.md records that `ui` has no dock/view-registry API instead of the deleted `DockState`.
2.2 KiB
2.2 KiB
ui gaps
Known Signed features ui does not currently support. Recorded instead of
modifying it or reimplementing a parallel mechanism.
- Custom themes.
Signed Light/Signed Dark, theme registry names, font sizes, radii, focus ring, and shadows are removed.uiderives colors, radii, fonts, and chrome from the OS;AppearanceModeis preserved throughset_mode_override/follow_system. - Tab bar navigation. The previous/next tab buttons and
tab_bar.hide_navigation_buttonsare removed;uitab strip has none. - Traffic-light placement. Custom macOS traffic-light position and the 44px
tab bar are removed.
uiusestheme.titlebar_heightand a fixed 78px traffic-light pad. - Virtual list.
uihas no data-driven virtual list. Screens keepgpui::uniform_listfor fixed-height lists andScrollAreafor the Inbox. - Editable code field.
uicode view is read-only and supports four grammars. Signed only previews files read-only; other extensions render as plain text. - Hunk-only diffs. The
uiDiffViewStateneeds the full old and new texts;CommitDiffcarries hunks only. The custom hunk rows are retained. - Tree data.
uitree is flat with caller-managed expansion. Folder rows useIconRole::Folderand file rows useIconRole::File. - Dock panels.
uihas no dock, tab-group, or view registry API:Panelcovers one split row andResizablestacked panes. Per-repository panels register a builder keyed by a unique id and stay in the builder map. No dock persistence, zoom, or bottom/right placement; splits only. - Dialogs. Dialogs are elements mounted at the window root; there is no
window.open_dialog, dialog stack, or non-dismissible option. A single-slotDialogHostis used, and the passphrase dialog ignores dismiss requests. - Notifications.
uitoast shows one toast at a time; backend errors queue but only the current toast is visible. - Segmented badges.
Segmentedhas no badge slot; filter counts fold into labels. - Combobox trigger.
Comboboxhas no custom trigger renderer; branch/tag selectors lose the leading git icon and custom caret.