Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use accordions for schema selection, hiding inactive schemas by default #1383

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

GCHQDeveloper36
Copy link
Member

@GCHQDeveloper36 GCHQDeveloper36 commented Jul 5, 2024

Showing inactive schemas during selection could confuse some users, especially if an organisation is trying to encourage the use of active schemas only. This change makes both active and inactive schemas appear within accordions, with active schemas shown expanded by default. Users can still expand and select an inactive schema if desired, but it's a conscious choice.

The accordion styling props is configured to remove the divider that's shown only when collapsed, and also ensure that the expand icon is justified-right all the time. If the active/inactive schema accordion is empty (no schemas) it would be misaligned with the other accordion.

image

@ARADDCC012 ARADDCC012 merged commit 55f855e into gchq:main Jul 12, 2024
14 checks passed
@GCHQDeveloper36 GCHQDeveloper36 deleted the feature/hide-inactive-schemas branch July 12, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants