Skip to content

Delete session status CSS-class decisions; paint existing typed roles - #679

Merged
trissim merged 4 commits into
mainfrom
refactor/activity-theme-state
Oct 16, 2026
Merged

trissim merged 4 commits into
mainfrom
refactor/activity-theme-state

Conversation

@trissim

@trissim trissim commented Oct 16, 2026 •

Copy link
Copy Markdown

Delete the round trip

SessionDetails computed status, wrote CSS class names, and made selectors reinterpret the same state. Three local class writers and their three selector branches are gone; notification auto height uses Static’s existing behavior.

Codex10762 correctly rejected my four forwarding SessionStatus classes: they only wrapped LineRole. They are now deleted in ddafcf8. title_role returns the existing NoticeRole/WorkingRole/MutedRole directly, with attention precedence unchanged. Content.is_same compares native text/spans before assigning; no last-title/status cache. Mounted native style-update hook retains theme repaint. Separate observed/local activity and the sole throbber sweep are unchanged.

No authored dependency-pin, Forms, geometry, clock or global palette changes.

Evidence

Previous source preview on owned :210 exercised genuine idle/working/attention paint, palette change and tab return. The forwarding-class deletion preserves those exact existing role values and native value comparison; no repeat full UI journey per Codex10762. Source parses, wrapper declarations/consumers are absent and diff whitespace checks pass. No tests/fakes/provider input/build/install by this owner. Codex retains the installed check with me.

Remaining

This small PR works against the existing Core flag API. Paired #681/#943 carries Core’s proper status family across all models/consumers, eliminating that upstream flattening; it contains this deletion too. Five geometry selectors await core-route-counts’ native foundation. Neither source review nor this PR claims scrolling/performance or full DM history acceptance.

@trissim
trissim marked this pull request as ready for review October 16, 2026 03:07
Copilot AI balanced review requested due to automatic review settings October 16, 2026 03:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@trissim
trissim merged commit 39638ea into main Oct 16, 2026
2 checks passed
@trissim
trissim deleted the refactor/activity-theme-state branch October 17, 2026 20:51
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.

2 participants