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

Account Notification Settings Input Issues (UI only) #82642

Conversation

nipunh
Copy link
Contributor

@nipunh nipunh commented Dec 29, 2024

False as a value in dropdown was causing unexpected behaviour

Solves this issue : #82508

Changed checks, The setting "Off" was internally represented with the value False, but the front-end logic did not properly handle this case.

Earlier : When selected value is Off text field shows "--"
Screenshot 2024-12-29 at 5 13 46 PM
Screenshot 2024-12-29 at 5 13 14 PM

After Change
Screenshot 2024-12-29 at 5 00 43 PM

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. and is gonna need some rights from me in order to utilize my contributions in this here 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.

False as a value in dropdown was causing unexpected behaviour
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 29, 2024
@nipunh nipunh changed the title changed value checks Account Notification Settings Input Issues (UI only) Dec 29, 2024
@nipunh
Copy link
Contributor Author

nipunh commented Dec 31, 2024

Hi @ryan953 @scttcper, Can someone please review my PR.

@ryan953 ryan953 added the Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests label Dec 31, 2024
@ryan953
Copy link
Member

ryan953 commented Dec 31, 2024

Hi @nipunh, awesome fix!

Thanks for tagging us too. I think we didn't see the PR right away away because there's no codeowners for this file/folder. So no one got an automatic notification. I'll fix that up now too so the next one hits my inbox right away.

@ryan953
Copy link
Member

ryan953 commented Dec 31, 2024

Fixes #82508

@nipunh
Copy link
Contributor Author

nipunh commented Dec 31, 2024

Hi @nipunh, awesome fix!

Thanks for tagging us too. I think we didn't see the PR right away away because there's no codeowners for this file/folder. So no one got an automatic notification. I'll fix that up now too so the next one hits my inbox right away.

Thank you for the response, I have worked on another one #82641 . Can you please also review it and let me know if any further changes are required.

@ryan953 ryan953 merged commit 6a5f091 into getsentry:master Dec 31, 2024
46 of 47 checks passed
andrewshie-sentry pushed a commit that referenced this pull request Jan 2, 2025
False as a value in dropdown was causing unexpected behaviour

<!-- Describe your PR here. -->
Solves this issue : #82508

Changed checks, The setting "Off" was internally represented with the
value False, but the front-end logic did not properly handle this case.

Earlier : When selected value is Off text field shows "--"
![Screenshot 2024-12-29 at 5 13
46 PM](https://github.com/user-attachments/assets/634e1a55-aa36-4cee-9752-2192a7658440)
![Screenshot 2024-12-29 at 5 13
14 PM](https://github.com/user-attachments/assets/e7bccd89-acb3-4c16-b065-65d444de068d)


After Change
![Screenshot 2024-12-29 at 5 00
43 PM](https://github.com/user-attachments/assets/ecb81db1-d801-4207-aff1-199ee09462fc)

<!--

  Sentry employees and contractors can delete or ignore the following.

-->

### 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. and is
gonna need some rights from me in order to utilize my contributions in
this here 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.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Account Notification Settings Input Issues (UI only)
2 participants