Conversation
…hat 0.5 An audit of the Studio's rules against the ai-chat 0.5 markup found two more selectors written for 0.4 that no longer matched. The rail is now an aside on the muted-panel token rather than theme-panel border-r, so it lost the Library rail's background: identical in light mode, #2e3032 against #232528 in dark. And its rows render as spans in li, button, and a elements rather than bare links, so they grew from the Library tree's 13px to 14px. Both rules now match either version. Measured in a browser after the change: the rail is #232528 in dark and white in light, rows and actions are 13px, and the Chats header stays 14px. The audit's other unmatched selectors apply only in states the check did not render (the activity drawer open, a reply streaming, dark mode) and their classes still ship in 0.5.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An audit of the Studio's
.chat-canvasrules against the ai-chat 0.5 DOM found two more 0.4-era selectors that stopped matching (after the rail highlight in #346):aside.bg-(--theme-muted-panel-bg), not.theme-panel.border-r, so it lost--pw-rail-bg: identical in light,#2e3032vs the Library rail's#232528in dark.li,button, anda, not bare links, so they rendered at 14px instead of the Library tree's 13px.Both rules now match either version. Measured in headless Chrome: rail
#232528in dark and white in light; rows and actions 13px; the Chats header stays 14px.The audit's remaining unmatched selectors belong to states the check did not render (activity drawer open, a reply streaming, dark-only rules); their classes (
max-h-20,border-l-2,transition-[width]) still ship in 0.5.