-
-
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
-
...cumbersome to show existing issue only in top half of the screen as the add new comment will occupy bottom half of the screen.
The reason I disagree with this is because it is a matter of choice whether to show this or not.
The only people who will be using this half screen are those who, like me, need to be scrolling up and down and want that text box to be always visible. It's easily removed at any point in time. If they stop wanting it visible, they can untoggle it, and then it will be a state.
It doesn't need to be a state that is mirrored across all tabs at all times. It can be a state that is only loaded whenever a page is loaded, if that makes it easier.
The other reason I disagree is that it doesn't necessarily take up the entire half of the screen, since the size is scalable down to a smaller section of the screen. This makes it very convenient to always have the text box there while still being able to see the text of the issue in two-thirds of the screen.
Because this feature is not in place, every time I load a page, it's more cumbersome for me because I have to toggle the half-screen text box every single time. If people don't want the cumbersome nature of this half-screen toggle, then they can simply untoggle it, and it won't be cumbersome for them.
-
Previous Value Current Value Closed
Open
| Type |
Enhancement
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
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