posit-dev / posit-dev/shinychat
'New chat' resets dark mode preference
Open
Nobody has claimed this yet.
ai-triage:needs-review
needs reprex
- Dominant language
- TypeScript
- Stars
- 139
- Forks
- 28
- Avg merge
- 23h 44m
- Merged PRs (30d)
- 50
Description
Reproducible with a basic page_chat() app with history enabled:
- Submit an input to chat
- Change dark mode setting
- Click new chat
Notice how 3 undoes 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the history-enabled basic page_chat() reproduction and trace what happens when the new-chat action is triggered after a dark mode change. Verify whether that action recreates or resets the chat UI state, then confirm that choosing New chat leaves the dark mode setting unchanged and that the reproduction steps no longer show the reset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100