Remember previously selected fork form visibility level and only reset if option is disabled
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
In this MR !62306 (merged), we changed the behaviour of the visibility level. It was to resolve the issue of a disabled radio option being selected
|
|
---|---|
incorrect-visibility-selected | solved-radio-option |
Improvement 1
Let's improve this UX as remembering a previously selected visibility level is a nice convenience for our users
Optionally, we could also set it to null
(no option selected) when namespace is changed
Improvement 2
In this MR > !62340 (merged), when a restrictedVisibilityLevel
is selected, it will reset to null
. Let's make the UX smarter.
A. Initialize it to the visibility level of the project; unless it's restricted, in which case default to the highest visibility level (Private > Internal > Public)
B. When namespace changes, it remembers the previous selected visibility level taking into account of the restrictedVisibilityLevel