Keep composer drafts across reloads and preview attached images
The composer's unsent text and uploaded files are kept in localStorage per bot and workspace until sent. Picked images show a small preview in place of their icon. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -6,6 +6,11 @@ export const AppData = {
|
||||
* Shared with twui's `ColorSchemeSelector`, so it must stay `theme`.
|
||||
*/
|
||||
ThemeStorageKey: "theme",
|
||||
/**
|
||||
* Prefix of the composer's unsent drafts in `localStorage`, one per
|
||||
* bot and workspace.
|
||||
*/
|
||||
ComposerDraftStorageKey: `${SiteData["SiteSlug"]}_composer_draft`,
|
||||
ServerHealthMessage: "Server Running Well",
|
||||
AuthKeyCookieName: `${SiteData["SiteSlug"]}_auth_key`,
|
||||
AuthCSRFCookieName: `${SiteData["SiteSlug"]}_auth_csrf`,
|
||||
|
||||
Reference in New Issue
Block a user