-
Notifications
You must be signed in to change notification settings - Fork 928
fix(site): set min and max attributes for workspace number parameters #15182
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(site): set min and max attributes for workspace number parameters #15182
Conversation
Hi @toshikish, thank you for the contribution. Could you rebase your PR on |
5b747f1
to
6c62431
Compare
@matifali Hi, thank you for reviewing. I rebased the branch and fixed the lint and unit test errors found so far. |
The cause of test-e2e-premium failure is that The environment variable |
Yes, it is, but unfortunately, the secret is not available on PRs made through branches outside of coder/coder. |
I think rebasing this PR from main should fix the e2e tests. |
@BrunoQuaresma unfortunately e2e tests can't work on forks as they don't have access to the repo secrets (the license). Also we can't allow forks to have access to secrets in a safe way. |
@BrunoQuaresma COuld we run the e2e tests locally while we figure out a way to allow forks to run them? |
@BrunoQuaresma Could you review it again? Thanks |
@matifali the code didn't change from my last review so I think we are ready to go. My only concern is not being able to run the e2e tests using the premium license. |
@matifali Sure, I just don't have permission to force a merge. We have integration tests for this so I think we are safe to merge it right now. If it breaks something in the main, I can jump on it right away. |
Implements #14532.
This PR sets
min
andmax
attributes for workspace number parameter<input>
elements using inputProps.Note: When we update MUI to v6 or later, it is better to use
slotProps.htmlInput
instead.