feat: improve public chat UI and shared components

This commit is contained in:
CREDO23 2026-01-26 18:39:59 +02:00
parent 37adc54d6a
commit ee65e1377f
14 changed files with 403 additions and 275 deletions

View file

@ -17,6 +17,8 @@ interface CurrentThreadState {
visibility: ChatVisibility | null;
hasComments: boolean;
addingCommentToMessageId: number | null;
publicShareEnabled: boolean;
publicShareToken: string | null;
}
const initialState: CurrentThreadState = {
@ -24,6 +26,8 @@ const initialState: CurrentThreadState = {
visibility: null,
hasComments: false,
addingCommentToMessageId: null,
publicShareEnabled: false,
publicShareToken: null,
};
export const currentThreadAtom = atom<CurrentThreadState>(initialState);