mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
Merge remote-tracking branch 'upstream/dev' into fix/onboarding
This commit is contained in:
commit
2d837ea18c
185 changed files with 4729 additions and 3630 deletions
11
surfsense_web/atoms/chat/show-timestamps.atom.ts
Normal file
11
surfsense_web/atoms/chat/show-timestamps.atom.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { atomWithStorage } from "jotai/utils";
|
||||
|
||||
/**
|
||||
* Per-device preference: show a timestamp under each chat message.
|
||||
*
|
||||
* Off by default to match streaming-AI chat convention (ChatGPT/Claude keep
|
||||
* the message stream clean and put time in the conversation list). Persisted
|
||||
* in localStorage, so it does not sync across devices — acceptable for a
|
||||
* cosmetic display toggle.
|
||||
*/
|
||||
export const showMessageTimestampsAtom = atomWithStorage<boolean>("chat-show-timestamps:v1", false);
|
||||
Loading…
Add table
Add a link
Reference in a new issue