Skip to content

Change visibility input in order to support organization selection

Administrator requested to merge code-insights/multi-org-support into main

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

  1. Change form validation mechanism in order to improve UX with live preview charts
  2. This PR
  3. 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

  1. The user has disabled the org radio button if he doesn't have an organization in the account.
  2. User can pick available organization by the list of organization radion buttons

Screenshot from Figma layouts.

image

Merge request reports

Loading