Skip to content

Unified resources: Make "Show requestable resources" clickable #55289

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ravicious
Copy link
Member

@ravicious ravicious commented May 30, 2025

Before this change, the text next to the toggle wasn't clickable.

By default, when you pass children to <Toggle>, they end up being used as a label for the toggle and the label is shown to the right of the toggle. Grepping through the project, it seems to be the most common use case for <Toggle>. This particular callsite was an outlier.

The flicker in the recordings is due to how the story is written, I didn't want to spend time on improving it. The preferences in the story are not even interactive without https://github.com/gravitational/teleport.e/pull/6599.

before.mov
after.mov

@ravicious ravicious added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v18 labels May 30, 2025
@github-actions github-actions bot requested review from kimlisa and rudream May 30, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v18 no-changelog Indicates that a PR does not require a changelog entry size/sm ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants