Closed bacloud22 closed 1 month ago
hey i want to try this issue it seem really cool.
i also want to add a way for questioner to join the chat before establish a connection but i don't have a good text to add to the button yet. Any suggestion?
I don't understand you at all.
Issue: Currently, messages are ephemeral. Users cannot retrieve past questions/answers if they reload the page or lose connection.
Improvement: Add message persistence (either using PubNub’s storage feature or native local storage a local DB like PouchDB) so users can see previous conversations when they reconnect.
it mean i like the above issue you're given
i also have another idea to have people who joined the channel to have a username displayed on the chat log
but if i want to do that i need to implement user join channel action
but currently i don't know what text should i add to the button so i put it as joinChannel_text
for now
Please don't. Because a user joining a channel event is already logged. Plus, if you talking about the questioner role not displaying logs, it means you didn't understand what this app is about.
okay thank you for pulling me back before i messed up
i would like to try improve the message persistent.
How would you do it?
I going to try to do it but saving it to localstorage everytime mesage log updated Then when user load the chanel with the id it will check the id and append the message log only once If the user switch to a different language it will switch to that language too
for storage clean up the system will delete the localstorage data if the lastest message is appended 1 day ago
very nice ! let's go.
still on it?
@moo-light Last check before unassign
yes i'm still on it kinda busy irl
Really sorry for the wait
No worries
yeah i guess this will be a big update
Issue: Currently, messages are ephemeral. Users cannot retrieve past questions/answers if they reload the page or lose connection.
Improvement: Add message persistence (either using PubNub’s storage feature or native local storage a local DB like PouchDB) so users can see previous conversations when they reconnect.