-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[UX] Side tree does not stay resized on refresh #1646
Comments
@BogdanAlexandru thanks for the report. This behavior is desired for both the tree and the inspector. When a user resizes the tree by dragging, the resulting size should be stored in localstorage. When a user opens openmct, the size should be read from localstorage. If localstorage doesn't contain a value, then the size should be set the same way it is currently set. This same behavior should apply to the inspector. |
persist user preference width for MCTSplitPanes issue #1646, updated MCTSplitPane to handle logic regarding localStorage
Revert "persist user preference width for MCTSplitPanes issue #1646"
Fix to Issue nasa#1646 Persist MCTSplitPane widths to local storage, thus when user reloads, the Panes maintain dimensions Changed variables exposed by MCTSplitPane to MCTSplitter to be more specific to use case Update tests to reflect changes made
Fix to Issue nasa#1646 Persist MCTSplitPane widths to local storage, thus when user reloads, the Panes maintain dimensions Use persisted widths if available otherwise use default Add tests for localStorage and fix failing tests
persist user preference width for MCTSplitPanes issue #1646
fixed in pr #1663 |
Reopening as pane positions are no longer persistent since the Vue rewrite |
Testing Instructions
|
Fix verified locally during testathon on 2022-02-02. Pane positioning persists through a page refresh. |
Verified Fixed in Testathon on 02/02/23 |
Resizing the tree is necessary (can barely fit the root level) at least on my machine, likely due to hidpi scaling being done automatically. The resize status is not saved anywhere it appears, so I have to resize it manually every time I refresh the page. This gets quite tedious over time.
It would be awesome if this was saved and auto-applied on each refresh. This gif shows the issue live:
The text was updated successfully, but these errors were encountered: