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

fix: Onboarding flow TOS & user intent screen UX improvement (Radio input) #2736

Merged

Conversation

onkardeshpande93
Copy link
Contributor

Description

When trying out CodeCov for my repository ( wanted to test out bundle size insights before I propose in my org ), I noticed a small UX issue , when selecting my User Intent , whether Personal or Business.

When clicking on the radio button's label or the description text, I believe the state should switch. On investigation, realized that the id shared between the input and label were the same , so made those unique , and the helper label outside the radio button meant that these elements needed to share the id across components, so made a small change in the id creation mechanism as well.

TLdr : For RadioInputs, set state on label click or helper text click as well.

Notable Changes

Changes the behavior of the RadioInput component
Added tests to test this behavior as well.

Screenshots

No visual change

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@nicholas-codecov nicholas-codecov merged commit bde9385 into codecov:main Apr 11, 2024
22 of 23 checks passed
@nicholas-codecov
Copy link
Contributor

@onkardeshpande93 Thank you for your contribution.

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.

None yet

3 participants