posit-dev / posit-dev/shinychat

'New chat' resets dark mode preference

Open
#406 2 comments 0 reactions 0 assignees View on GitHub

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:

  1. Submit an input to chat
  2. Change dark mode setting
  3. Click new chat

Notice how 3 undoes 2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.