Commit graph

3 commits

Author SHA1 Message Date
6b45c398e0 fix(preview): drawer uses display:none + animation when opened
Some checks failed
CI / build-and-test (push) Failing after 27s
Replace the transform-only approach with display:none / display:flex
switching, plus a @keyframes drawer-slide-in for the entry animation.
The previous translateX trick let the drawer-head close button's SVG
bleed through somehow (likely a browser rendering quirk on a 4K display
with HiDPI scaling); display:none guarantees the hidden state stays
fully hidden across all browsers.

Visual is the same when the drawer is open; only the closed state is
hardened. Drawer still slides in on the rail settings button or the
banner "Open settings" CTA.
2026-05-13 00:26:02 -04:00
46b1ca5874 fix(preview): clip drawer behind .content with position:relative+overflow:hidden
Some checks failed
CI / build-and-test (push) Failing after 28s
The drawer was bleeding its close-X out of the window's left side
because .content (its containing block) had display:grid but no
position:relative, so absolute-positioned children anchored to .window
or further up the tree. Adding position:relative makes the drawer
anchor to .content, and overflow:hidden clips the off-screen
translateX(100%) so its content doesn't render outside the bounds.
2026-05-13 00:22:42 -04:00
c150bce28e docs: interactive HTML preview of the redesigned MainWindow
docs/preview/redesigned-mainwindow.html — a single-file faithful
rendering of the redesigned MainWindow at 1280×780 fidelity. Built so
you can SEE the redesign tomorrow morning even with the WinUI 3
activation issue unresolved.

What's interactive:

* Title-bar sun/moon icon toggles dark <-> light. The full CSS variable
  set swaps in-place; both themes are accurate to DESIGN.md's token
  table (Wild Dragon cyan stays as the surface fill in both; accent.cyan
  for text darkens to #0E7C82 on the light palette for AA contrast).
* Rail "settings" icon (the gear) slides the settings drawer in from
  the right with a 220ms ease-out-quart transition.
* Esc dismisses the drawer.
* Banner "Toggle dark / light" and "Open settings" buttons for
  hover-discoverable parity.

What's faithful to the WinUI 3 implementation:

* All structural decisions from the shape brief: 64px rail, 44px
  title bar with absorbed live pills (live · 00:14:32 / rec 3 / 482GB
  free), section header with primary button + secondary actions, 64px
  table rows with avatar+name, signal+lock dot, audio meter,
  output-name in mono, ISO pill at right, conditional in-call control
  bar, slim 32px status bar.
* Active-speaker row (Maya) has the cyan left border + cyan-muted
  background tint, matching the data trigger in MainWindow.xaml.
* Wild Dragon brand mark in the rail uses the same cyan-muted square +
  cyan-text "W" treatment as the WinUI 3 Avatar style.
* In-call buttons use the destructive style for Muted + Leave (coral
  border and text) and Secondary for Camera / Share / Marker, mirroring
  the button-hierarchy commitment from DESIGN.md.
* Settings drawer shows the Appearance tab with the System / Dark /
  Light radio group + the accent peek panel.

Open it in any modern browser:
file:///C:/Users/zacga/Documents/Claude/Projects/Teams%20ISO/docs/preview/redesigned-mainwindow.html

This is documentation; the actual product is the WinUI 3 XAML in
src/TeamsISO.App.WinUI/. Once activation unblocks, the preview can be
deleted (or kept for future stakeholder demos before binaries ship).
2026-05-13 00:18:55 -04:00