Skip to content

UI tweaks - #3

Merged
cchandurkar merged 5 commits into
mainfrom
ui-tweaks
Sep 14, 2026
Merged

cchandurkar merged 5 commits into
mainfrom
ui-tweaks

Conversation

@cchandurkar

Copy link
Copy Markdown
Owner

UI Tweaks

…ray matching hints

- Reduce sidebar/analysis-panel section top margin (32px -> 20px)
- Replace inline array-matching toggle-hint text with ? tooltip icons,
  matching the existing sidebar Comparison section pattern
…ment fix, and toolbar 'Changes only' checkbox

- Reduce left sidebar width 300px -> 270px
- Add -moz-appearance: none fallback so the switch thumb renders in Firefox
- Apply the same pill-switch re-skin to the toolbar's 'Changes only' checkbox
Thumb used var(--card), which is identical to the track's var(--muted)
background in dark theme. Switch to var(--muted-foreground) for contrast
in both themes and both checked/unchecked states.
- Add collapse/expand toggle to the analysis panel resize handle, with
  localStorage persistence separate from the dragged width.
- Move the two mobile drawer trigger buttons out of SidebarComponent/
  AnalysisPanelComponent into a shared HomeComponent .mobile-panel-bar
  styled as a continuation of the app header.
- Re-skin the Comparison section's checkboxes as pill switches
  (CSS-only, native <input type="checkbox"> semantics preserved),
  with a -moz-appearance fix for Firefox ::after support.
- Fix reload flashes: analysis panel collapsed state and width both
  start from Angular defaults (avoiding a hydration mismatch) and are
  corrected via afterNextRender; a pre-hydration index.html script
  applies both as pure visual overrides ahead of first paint. The
  collapsed override lives in the global styles.css (component-scoped
  :root selectors are dead CSS under Angular's view encapsulation,
  which scopes every compound selector including :root). The width
  override is an injected global <style> tag, removed once Angular's
  own signal is corrected so it never pins a later drag-resize. A
  home.component.ts effect keeps the collapsed data-attribute in sync
  with the live signal so expanding after a collapsed reload works.
@cchandurkar
cchandurkar marked this pull request as ready for review September 14, 2026 21:24
@cchandurkar
cchandurkar merged commit 306509a into main Sep 14, 2026
2 checks passed
@cchandurkar
cchandurkar deleted the ui-tweaks branch September 16, 2026 16:50
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