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

Validate contributions #214

Merged
merged 6 commits into from
Jan 23, 2025
Merged

Validate contributions #214

merged 6 commits into from
Jan 23, 2025

Conversation

mccalluc
Copy link
Contributor

The user could also misfill Upper/Lower/Bins on the next tab, but in that case, there is an immediate error message, albeit an ugly one, so I'm inclined not to add more validation code there.

For reviewer:

  • Is this UI good enough?
  • Ok not to investigate test flakiness (define_analysis_button.is_disabled()) more deeply?
  • Confirmation that we're ok with Shiny's default error messages, where the error is obviously connected to the input?

Copy link
Member

@ekraffmiller ekraffmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the validation looks good, the message refers to the input field, so it is clear. I think it's ok to leave the other validations and the flaky test for later, since the UI is still evolving. But it would be good to add an issue or a TODO in the code as a reminder to review it later.

@mccalluc
Copy link
Contributor Author

@ekraffmiller , filed an issue, and added link in the comment. Is that what you had in mind? Thanks!

@ekraffmiller
Copy link
Member

@ekraffmiller , filed an issue, and added link in the comment. Is that what you had in mind? Thanks!

Yes, thanks!

@mccalluc mccalluc merged commit 1872e79 into main Jan 23, 2025
2 checks passed
@mccalluc mccalluc deleted the 188-input-validation branch January 23, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

Input validation / use req
2 participants