Maintain Conversation Tree State on Refresh or Share
Added code that maintains the current conversation tree state when refreshing the page or sharing the conversation.
Addresses issue #878
Not sure if this is the most efficient solution but will edit based on feedback.
Co-authored-by: Long Dao [[email protected]] Co-authored-by: Eduardo Rocha [[email protected]]
Wow really appreciate this! Will take a deep look into this :fire:
Hi, I believe we fixed the lint issues. Could the tests be ran again to make sure everything is working?
Hi, I'm a little confused as to why we're getting those errors as we didn't edit those files and when I run npm run lint in my vs code I'm not getting errors. I pretty much just ran npm run format and npm run lint then fixed the few errors that appeared. Should running npx prettier --plugin-search-dir . --write . and npx eslint . --fix be the solution to fixing the warnings?
Did you merge latest main? We updated quite some deps so it's possible the linting got changed, I can run it for you no worries
Oh, thank you!
Great work! This can help retain the tree state in the chat too, I think? working as tree memory? as refresh resets the tree to branch 1/incorrectly.