Skip to content

feat(dock): expand focused app indicator into animated pill - #3640

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
hthienloc:feat/dock-focused-indicator-expand
Oct 1, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
hthienloc:feat/dock-focused-indicator-expand

Conversation

@hthienloc

Copy link
Copy Markdown
Member

What

When a dock app's window is focused, its indicator dot now expands into a pill shape instead of only changing color:

  • Horizontal dock: dot width expands to 3× the base width
  • Vertical dock: dot height expands to 3× the base height

Why

The previous behavior (color-only change) was easy to miss at a glance, especially with small dots. The pill expansion provides a clear spatial signal for the active app without requiring the user to parse color.

dms_capture_1790843765237 dms_capture_1790843808992

Focused dot expands to 3× width (horizontal dock) or 3× height
(vertical dock) using Theme.shortDuration + Easing.OutCubic.
Applies to both circle and line indicator styles.
@hthienloc

Copy link
Copy Markdown
Member Author

/claude review

@claude

claude Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: focused-state logic matches the old color logic for single and grouped windows, the pill fits the icon cell in horizontal and vertical docks with up to 4 grouped dots, radius clamping for circle style, Theme.shortDuration exists, and animations run only on focus changes, so no idle cost. Model: claude-opus-5-5.

@bbedward
bbedward merged commit b54fa3a into duxlabs-dev:master Oct 1, 2026
2 checks passed
@hthienloc
hthienloc deleted the feat/dock-focused-indicator-expand branch November 15, 2026 15:38
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.

2 participants