-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
task(chat): Update what should be skipped in state.json #1966
Conversation
|
UI Automated Test Results Summary for MacOS/Windows509 tests 449 ✅ 2h 58m 8s ⏱️ Results for commit d36d151. ♻️ This comment has been updated with latest results. |
UI Automated Tests execution is complete! You can find the test results report here |
So I deleted my state.json and reloaded the app and conversations were missing Screen.Recording.2024-04-08.at.1.56.05.PM.mov |
yes because the sidebars are still saved in state.json. the chats are still there. though you would need to click on the friends page to chat first. |
Uplink should be loading
|
this is already whats being done. |
If thats the case, shouldnt the conversations be loaded up into the sidebar after the |
i guess we can make it so that if the state.json is completly missing it adds all conversations to the sidebar? |
That, or probably compare the state to what is available on warp to see if a conversation was deleted or is missing and just remove that invalid entry. |
the thing is you can hide a chat on uplink and it will not be in the sidebar anymore. but the chat is still there |
I think that will be fine for now as we can treat this as a client-to-client bases for the time being |
marked as change request cause want to make it so if the state is e.g. new all chats will be loaded into the sidebar |
Sara and I retested again and still had chats missing when we would delete are state.json but something I noticed is when you login the button on the landing page will say Start a chat and then quickly change to Go to Friends so it does seem like Warp/Uplink is realizing that there are chats to load its just they never appear Screen.Recording.2024-04-12.at.11.15.41.AM.mov |
changed that field to be serialized. there is prob a better way to do it but that would require some design changes since state gets written to multiple times before the app is completely initialized. (e.g. during login) |
What this PR does 📖
Which issue(s) this PR fixes 🔨
Additional comments 🎤
We should probably move sidebar chats + favorites to warp.