Change visibility input in order to support organization selection
Created by: vovakulikov
Closes: https://github.com/sourcegraph/sourcegraph/issues/20985
Details of this PR
This PR is the second PR in three polishing PR's before the 3.28 release
- Change form validation mechanism in order to improve UX with live preview charts
- This PR
- Polish visual aspects of form and creation UI flow
This PR is about supporting the organization picker (list of orgs) in creation UI visibility input.
Existing approach If a user clicked the organization checkbox we just pick the first organization in an org list
New approach
- The user has disabled the org radio button if he doesn't have an organization in the account.
- User can pick available organization by the list of organization radion buttons
Screenshot from Figma layouts.