Skip to content

Trim dead branches and doubled constants in the page - #46

Merged
Maharsh17 merged 1 commit into
mainfrom
tidy-client
Nov 27, 2026
Merged

Maharsh17 merged 1 commit into
mainfrom
tidy-client

Conversation

@Maharsh17

Copy link
Copy Markdown
Member

Closes 45

  • the chat always shows the guide and starters when it is empty, so the fallback paragraph and its CSS go
  • --gold-deep leaves app.css and DESIGN.md, and .research__label-row goes
  • Spinner loses its unused className, and the panel calls new ResizeObserver directly (the test setup already polyfills it for jsdom)
  • one onPath(name) in api.js reads /research and /study
  • Panel exports SHORT_WINDOW and App imports it
  • the avatar uses utterance.parts as App hands them, and marks a reply said in one place
  • --pill and --unseen are tokens in :root and the CSS uses them

The other hex values in app.css are not DESIGN.md colours, so they stay as they are. Prettier, the 22 client tests and the build pass here. The page should look exactly the same, and I'll check the live site after it deploys.

The chat's empty fallback, an unused colour token and CSS rule, the
Spinner's unused className and the ResizeObserver guard go. One onPath
helper reads /research and /study, Panel exports the short-window
breakpoint App uses, and the tutor trusts the speech parts App hands it.
Pill Grey and Unseen Grey are tokens, as DESIGN.md names them.
@Maharsh17
Maharsh17 merged commit 4b88aa4 into main Nov 27, 2026
2 checks passed
@Maharsh17
Maharsh17 deleted the tidy-client branch November 27, 2026 22:40
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