mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-10 16:22:38 +02:00
refactor(chats): streamline podcast generation and enhance chat selection UI
- Removed podcast generation state and related functions from the ChatsPageClient component. - Simplified chat selection UI by removing unnecessary elements and improving layout. - Updated the AnnouncementBanner component to use Jotai for state management, allowing for persistent dismissal of the announcement.
This commit is contained in:
parent
ca341f07a2
commit
6298d631e4
3 changed files with 71 additions and 432 deletions
5
surfsense_web/stores/announcement.atom.ts
Normal file
5
surfsense_web/stores/announcement.atom.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { atomWithStorage } from "jotai/utils";
|
||||
|
||||
// Atom to track whether the announcement banner has been dismissed
|
||||
// Persists to localStorage automatically
|
||||
export const announcementDismissedAtom = atomWithStorage("surfsense_announcement_dismissed", false);
|
||||
Loading…
Add table
Add a link
Reference in a new issue