Skip to content

feat(core-ui): desktop components on Camouflage tokens - #145

Merged
dwikiriyadi merged 3 commits into
mainfrom
feat/g1-task11-desktop-components
Nov 16, 2026
Merged

dwikiriyadi merged 3 commits into
mainfrom
feat/g1-task11-desktop-components

Conversation

@dwikiriyadi

Copy link
Copy Markdown
Member

G1 Task 11 (closes #132).

What

:module:core:ui components. Each is shaped like its Camouflage proposal so the Camouflage version can replace it when that ships.

  • SplitPane (camouflage#71): an app-owned SplitPaneState, a 1 px divider line on a 7 px drag target, arrow keys (Shift for bigger steps), Enter to collapse, double-click to reset, and a value and range for screen readers.
  • DockLayout (camouflage#75): left, right and bottom docks with edge stripes, one tool window open per dock, moving a window between docks, hiding, focus mode, toggleSide for Cmd/Alt+1/2/3, Esc back to the center, and a snapshot to save the layout.
  • DocumentTabs (camouflage#74): line tabs, a close button, middle-click close, a modified dot, pinned tabs, drag and keyboard reorder, a list-all menu on overflow, and a context-menu hook.
  • Speed search (camouflage#73): a matcher (prefix, substring, camel humps), a state and modifier, match highlighting, a tree filter that keeps ancestors, and the overlay field.
  • Desktop scrollbars (camouflage#78): thin overlay bars that widen on hover and fade when idle.
  • Table columns (camouflage#72): resize by dragging an edge or Alt+←/→, hide and show from a right-click menu, one fill column, and snapshot/restore.
  • CommandPalette (camouflage#76): grouped results with loading rows, keyboard navigation, shortcut hints and match highlighting.

Tests

  • 6 state tests.
  • 6 keyboard tests: focus order, typing and tab switching.
  • 7 screenshots, checked by eye on macOS.
  • ./gradlew check passes.

Expected first CI result

As in Task 10, the 7 new screenshots have no Linux goldens yet. The ubuntu jobs will fail on those images only, and their renders get committed after a look.

Rulings (in plans/progress.md)

  • A tab's close button is out of the focus order.
  • The split pane has two panes, sized in dp.
  • Column reorder and fit-to-content are deferred.
  • The scrollbars don't follow the macOS scroll-bar setting until Settings (Task 18).
  • Key events in one test use an internal-API opt-in.

🤖 Generated with Claude Code

dwikiriyadi and others added 3 commits November 16, 2026 08:24
A split pane, a dock layout with tool windows and edge stripes,
document tabs, speed search, desktop scrollbars, resizable and
hideable table columns, and the command palette shell, each shaped
like its Camouflage proposal (camouflage#71-#76, #78) so it can be
swapped when that ships. Keyboard tests for focus order, typing and
tab switching, and a screenshot per component and state.

Closes #132

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Dwiki Riyadi <[email protected]>
Six goldens from the check (ubuntu-latest) job's renders, checked
against the macOS ones. The dock's light and dark screenshots become
two tests: in one loop, the missing light golden stopped the dark one
from ever rendering.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Dwiki Riyadi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Dwiki Riyadi <[email protected]>
@dwikiriyadi
dwikiriyadi merged commit dd5d36b into main Nov 16, 2026
6 checks passed
@dwikiriyadi
dwikiriyadi deleted the feat/g1-task11-desktop-components branch November 16, 2026 05:25
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.

:module:core:ui: desktop components (split pane, tool windows, tabs, speed search)

1 participant