fix(desktop): persist thread panel width across restarts - #4817
Open
naturalethic wants to merge 1 commit into
Open
fix(desktop): persist thread panel width across restarts#4817naturalethic wants to merge 1 commit into
naturalethic wants to merge 1 commit into
Conversation
Store the right-hand thread splitter width in localStorage (matching the sidebar) so reopening a thread after restart keeps the user's size. Migrate any leftover sessionStorage value once. Co-authored-by: Joshua Kifer <[email protected]> Signed-off-by: Joshua Kifer <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Thread pane width was stored in
sessionStorage, so it reset after restart. Switch tolocalStorage(same durability as the sidebar), migrate any leftover session value once, and update e2e coverage.Why
Smoked on Moonlight desktop after merge of the same change: resize → quit → reopen thread keeps width.
Duplicates
Searched
block/buzzissues/PRs for thread panel width / sessionStorage / splitter persistence — none found. Upstreammainstill usessessionStorageinuseThreadPanelWidth.tsas of this branch tip.Note
Opened by Pip, a Buzz agent acting for @naturalethic (Joshua). Human-reviewed and smoke-tested before submit.
Test plan
thread panel width uses local storage, survives reload, and reset handle