Skip to content

feat: sidebar version label and native macOS scrollbars - #371

Open
KinyooZ wants to merge 4 commits into
mainfrom
feat/sidebar-version-label
Open

feat: sidebar version label and native macOS scrollbars#371
KinyooZ wants to merge 4 commits into
mainfrom
feat/sidebar-version-label

Conversation

@KinyooZ

@KinyooZ KinyooZ commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Show the running DSH Desktop version (e.g. v0.1.1) at the bottom of the sidebar, between the settings entry and the phone button. The value comes from the update status the main process already streams to the window, so no new IPC. Hidden when the sidebar collapses to the rail.
  • Let macOS decide scrollbar visibility. The Harness theme plugin styles ::-webkit-scrollbar globally, which makes Chromium drop native overlay scrollbars and show classic always-visible ones regardless of the system "Show scroll bars" preference. A new patch for @deepseek-ai/dsh-client-ui-theme skips those rules on macOS and sets color-scheme (light, or dark under body[data-ds-dark-theme]) so native scrollbars follow the theme. Windows and Linux keep the custom scrollbar.

Notes

  • patch-package cannot regenerate patches for this private package (it tries to fetch it from the npm registry), so the patch was produced from the pristine file in the bundled tgz and verified to apply cleanly.

Test plan

  • npm test (90 files, 748 tests)
  • electron-vite build
  • Dev build: version label visible in the sidebar footer; scrollable panes no longer show a persistent scrollbar with "Show scroll bars: Automatically"
  • Reviewer: open the model picker on macOS and confirm the list scrollbar only appears while scrolling

🤖 Generated with Claude Code

KinyooZ and others added 4 commits September 10, 2026 14:38
Inject a version label between the settings entry and the phone button,
fed by the current version already carried in the update status.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Harness styles ::-webkit-scrollbar globally, which makes Chromium drop the
native overlay scrollbars on macOS and show them permanently regardless of
the system "Show scroll bars" preference. Patch the theme plugin to skip
those rules on macOS and expose the active color scheme so native
scrollbars match dark mode.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The hover indicator beside the chat column was 3px wide and read as a
heavy content border. Draw it at 1px instead.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Turn usage / turn time triggers, the message clock, and the stats line under
the composer now use calc(var(--dsh-content-font-size-secondary) - 1px):
12px at the default setting, still tracking the font-size preference.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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