You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently message draft got cleaned up on navigation or starting replying to another message. It'll be great if text will be persisted per chat room. This will save future users from "Oh, my message got deleted, i need to copy it before other actions"
As a possible solution I see using SessionStorage (to keep things light and to not care about cleaning it up manually) to save message text with key "campfire:draft:roomId" with some debounce. As an alternative, LocalStorage may be used for the case, if closing tab to cleanup draft would not be considered as a feature
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently message draft got cleaned up on navigation or starting replying to another message. It'll be great if text will be persisted per chat room. This will save future users from "Oh, my message got deleted, i need to copy it before other actions"
As a possible solution I see using SessionStorage (to keep things light and to not care about cleaning it up manually) to save message text with key "campfire:draft:roomId" with some debounce. As an alternative, LocalStorage may be used for the case, if closing tab to cleanup draft would not be considered as a feature
Beta Was this translation helpful? Give feedback.
All reactions