-
-
The half-screen is designed as an action instead of a state. Otherwise, it will be very cubersome to show existing issue only in top half of the screen as the add new comment will occupy bottom half of the screen.
-
Previous Value Current Value Open
Closed
| Type |
Enhancement
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
Replaces OD-3139
Summary
OneDev exposes a toggle half screen control on several views - issues, pull requests, and any other screen that offers it. Today that state is not remembered: a user who turns it on must turn it on again every time they open an issue, a pull request, or any other view that has the control.
Problem
The user's intent is being discarded, which creates repetitive friction. If the toggle was left on, opening a new issue/PR should already show half screen; if it was left off, it should open off. Re-selecting it on every view implies the UI is not paying attention to an obvious, stable preference.
Desired behavior
Scope
Implementation approach: follow the light/dark mode persistence pattern
Rather than inventing a new mechanism, this should reuse the same client-side pattern already used for remembering the user's light/dark mode choice. The concrete details below must be confirmed by reading the source before implementing, since they are not verified here:
themeor similar) and where the read/write helpers live.Notes to confirm during investigation