Skip to content

fix(ui): drop ceremonial Astryx patches; two-tone shell floor - #2574

Merged
jackwener merged 1 commit into
mainfrom
fix/simplify-astryx-patches-shell-two-tone
Aug 9, 2026
Merged

fix(ui): drop ceremonial Astryx patches; two-tone shell floor#2574
jackwener merged 1 commit into
mainfrom
fix/simplify-astryx-patches-shell-two-tone

Conversation

@jackwener

Copy link
Copy Markdown
Member

Summary

  • Shrink @astryxdesign/core patch to blank UA-CH only (Electron mod-key / Kbd bug). Remove conversationKey, List aria-label, ChatToolCalls onActivate / group totals, and astryx-layer-surface floating-recipe hook.
  • Product workarounds use published Astryx APIs: linked subagent open via Button beside stock ChatToolCalls; session switch remounts ChatLayout with key (composer draft is session-keyed outside the layout).
  • Shell floor is two colours only: sidebar + canvas share --agents-layout-bg / base; content plate stays raised (fixes third-tone gap at the plate corner).
  • Delete patch-guard tests (floating-recipe, new-messages-indicator, ink-ladder-contract, astryx-list-accessible-name) and slim patches/README.
  • Keep @ai-sdk/provider-utils patch (streaming tool-call association for messy gateway shapes).

Test plan

  • npm run build --workspace=@maka/ui and node --test packages/ui/dist/__tests__/tool-trow-stability.test.js
  • Desktop: switch sessions with a composer draft — draft survives; no new-message bleed
  • Linked subagent / swarm: open-session control still works
  • Multi-edit turn: collapsed group is stock Astryx (per-row counts when expanded)
  • Shell: sidebar and plate gutter are the same gray (no third band at bottom-left)
  • macOS hotkeys / keyboard help still use ⌘ (including blank UA-CH e2e path if still in keyboard-help.spec)

Keep only real blocking patches (blank UA-CH, ai-sdk tool-call tracker).
Product code uses stock ChatToolCalls + Astryx Button for linked sessions,
and remounts ChatLayout on session switch instead of conversationKey.

Shell sidebar shares the canvas base so the floating plate gap is not a
third colour. Remove patch-guard tests and the floating-recipe CSS hook.
@jackwener
jackwener merged commit 3834238 into main Aug 9, 2026
6 of 11 checks passed
@jackwener
jackwener deleted the fix/simplify-astryx-patches-shell-two-tone branch August 9, 2026 06:32
jackwener added a commit that referenced this pull request Aug 9, 2026
#2574 dropped the data-slot patch; nested sticky CSS still targeted it, so
expanded call headers scrolled away. Bind sticky to role=button instead.
jackwener added a commit that referenced this pull request Aug 9, 2026
* fix(desktop): restore composer drafts after #2574 remount

Drop the session-keyed ChatLayout remount that wiped the in-composer
draft Map, and point patch-era e2e/story selectors at stock Astryx DOM.

* fix(desktop): sticky tool-call rows on stock ChatToolCalls DOM

#2574 dropped the data-slot patch; nested sticky CSS still targeted it, so
expanded call headers scrolled away. Bind sticky to role=button instead.
jackwener added a commit that referenced this pull request Aug 9, 2026
Remove suites that pinned vendor class names, sticky px offsets, List
aria-label, and CSS-grep structure after #2574 dropped ceremonial patches.
Keep product journeys, classifier logic, and the real blank-UA-CH patch gate.
jackwener added a commit that referenced this pull request Aug 9, 2026
Remove suites that pinned vendor class names, sticky px offsets, List
aria-label, and CSS-grep structure after #2574 dropped ceremonial patches.
Keep product journeys, classifier logic, and the real blank-UA-CH patch gate.
jackwener added a commit that referenced this pull request Aug 9, 2026
* test: drop Astryx DOM geometry and CSS string contracts

Remove suites that pinned vendor class names, sticky px offsets, List
aria-label, and CSS-grep structure after #2574 dropped ceremonial patches.
Keep product journeys, classifier logic, and the real blank-UA-CH patch gate.

* test: drop more layout geometry and vendor class pins

Second pass: Daily Review bounds play, Astryx Skeleton class checks,
astryx-codeblock markup matches, MCP field Y-order, and workbar CSS
pixel widths. Keep accessible values, journeys, and product signals.

* fix(ci): allowlist Astryx tool-call and CodeBlock CSS hooks

Removing test greps for astryx-chat-tool-calls / astryx-codeblock made
check-dead-css treat product CSS overrides as dead. Mark them as runtime
themeProps classes like the other Astryx hooks.

* test(e2e): slash desktop suite to core product journeys

Drop flaky/geometry/vendor-heavy specs (quote-companion, mermaid layout,
mention grammar, workbar resize, providers/MCP/onboarding surfaces, etc.).
Keep send+IME, draft survival, skill revision drafts, blank-UA-CH help,
settings theme shell, and artifact list navigation. Prune unused fixtures.

* fix(e2e): drop unused e2eHomeDir export after suite cull

Knip typecheck failed: skill-delete e2e was the last consumer.
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