Skip to content

fix(ui): animate sidebar row actions and tighten gutters - #576

Merged
nixuuu merged 1 commit into
devfrom
fix/sidebar-row-hover-parity
Nov 12, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/sidebar-row-hover-parity

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

The sidebar time/actions swap appeared instantly while the provider/archive swap animated. Both slots now use shared CSS swap classes with the same motion tokens, timing, easing and reduced-motion behavior in Threads and Bots. Hover and focus-within reveal both actions; an open menu keeps them visible. Existing slot widths stay reserved, including the bot time slot before its first message.

Rows now use a shared 12px content gutter, composed of a 4px background inset and 8px inner padding. Group headings, search, footer controls and archived rows use the same spacing tokens. The sidebar reserves its scrollbar at the trailing edge, removing the extra leading scrollbar gutter. Native mobile files and fingerprint inputs are untouched.

Fixes: #549

Validation:

  • Changed-file lint, formatting and git diff --check pass. Self-review covered reserved widths, truncation, action positioning, open menus and reduced-motion selectors. No UI tests were added.
  • An isolated Linux checkout at ac98bf4039e6ab33a1e21104eb3e13e009ee1cf9 passed bun install, bun run gen:check, bun run typecheck, bun run lint, bun run format:check, and the production web build. Svelte reported zero errors and warnings. CI is green, including all four test shards with temp-directory checks and the aggregate check.
  • Real headless Chromium reviewed the production build against a disposable gateway/database. Threads and Bots passed in light/dark at 220px, 288px and 560px sidebar widths, with short, typical and long names. Both slots animate opacity/scale/blur in and out on 250ms ease-in-out, without movement delay. Row and title bounds stay fixed; bot names retain separation from the reserved 64px time slot, including before the first message.
  • Keyboard focus reveals both actions, Tab reaches the menu and quick action, open menus preserve both slots, and Escape closes the menu. Reduced motion gives zero-duration swaps in both tabs. The row content, section heading, search icon, logo and footer icon align at 12px; backgrounds retain a 4px inset from the sidebar edge and scrollbar.
  • Archived-row swapping also passed. The web phone drawer was checked in light/dark at 393px with a coarse pointer; quick actions remain hidden. No page errors were observed in the completed review. Screenshots and disposable browser drivers were kept outside the repository. No application fixes were needed after review.
  • UI copy is unchanged; no copy audit is required. Polish documentation describes the shared gutter and motion behavior.

@nixuuu
nixuuu marked this pull request as ready for review November 12, 2026 20:28
@nixuuu
nixuuu merged commit b20e2ce into dev Nov 12, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/sidebar-row-hover-parity branch November 12, 2026 20:30
nixuuu added a commit that referenced this pull request Nov 12, 2026
)

Working sidebar threads gained a neutral fill in #545 that looks too
close to the selected thread, especially in dark mode. Remove that fill
on web and mobile: an unselected working thread now uses its spinner and
Working label, while the current thread retains the selected background
regardless of activity.

Only unselected web thread and Bots conversation rows receive the
lighter hover fill. Keyboard focus keeps its separate outline. Bots
already have no working-only fill; selected bot/group conversations now
retain their selected fill on hover. Keep the normal title/metadata
contrast from #545 and the action swaps, reduced-motion behavior,
reserved slots and gutters from #576. Update the related Polish
documentation; UI copy is unchanged.

Fixes: #545

Validation:
- Rebased onto `dev` at `968757a4c`, including #591 and #594. Reviewed
head: `070efea27b73c7fec7049b1be061c42258e7f17e`. Blame and patches
identify #545 (`1c65b9317`) as introducing the working fill on both
clients. Reviewed #549, #576 and #583; they did not introduce it.
- On the assigned review server, `bun install --frozen-lockfile`, `bun
run gen:check`, full `bun run typecheck`, `bun run lint`, `bun run
format:check` and the production web build pass after the rebase. Svelte
reports zero errors and warnings. Changed-file mobile ESLint, repository
formatting, commitlint and `git diff --check` also pass. No web UI tests
were added or run.
- A single Chromium browser reviewed the production build against a
disposable gateway/database: light/dark at 1440px desktop and 1100px
narrow widths, 288px and 220px sidebars, plus the 393px phone drawer.
Checked working-only, selected-only, selected+working, hover and
keyboard focus in Threads and Bots, including a working side thread and
short/long labels. Working-only rows are transparent; hover uses 4%,
selection uses 6% light / 8% dark, and keyboard focus retains its
separate 2px outline. Selected rows keep their fill on hover. Row bounds
remain fixed and labels do not overflow. Reduced motion gives
zero-duration action swaps. Final navigation reports no console errors.
- The mobile change only removes the `busy ? c.well` background branch
from a TSX file. Native dependencies, configuration, fingerprint
configuration, assets and lockfile are unchanged. Base/head fingerprints
generated on the assigned server with `nice -n 19`, using `expo-updates
fingerprint:generate` and the production/nightly environment, are
identical: iOS `6ddec9ef559ee0095ac33e94ff9418a942053b17`, Android
`5f6eae3ab278f1cd543e9ed763f923a319b65ec9`. This uses Expo's underlying
runtime fingerprint engine. The maintainer confirmed that this local
comparison is sufficient for the JS-only change; authenticated EAS
verification is not required. No build or OTA publication was started.
- Browser, gateway, web and disposable database are stopped. Assigned
ports are free. Verification artifacts remain outside the repository.
Ready for review; the maintainer will merge once CI is green.

Copy audit: no UI text changes; no copy audit required.
nixuuu added a commit that referenced this pull request Nov 26, 2026
The Threads and Bots lists keep a 4 px leading inset at the default
interface size. The trailing gap shrinks from 14 px to 8 px in Chromium.
The scrollbar keeps a 6 px track with a 4 px thumb, and the stable
gutter keeps rows the same width as the list starts or stops
overflowing.

Fixes: #576

## Verification

- In Chromium with sample data, measured the same 317 px thread row
before and after filtering the desktop-width list to one thread.
- At a 390 px viewport, Threads and Bots rows stayed 284 px wide with
and without vertical overflow.
- Changed-file formatting and `git diff --check` passed. Native macOS
was outside the local verification. GitHub Actions runs the full gate.
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