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

[Jupyter] Prevent a bad config from being stored #9711

Merged
merged 2 commits into from Feb 7, 2024

Conversation

bbonenfant
Copy link
Contributor

@bbonenfant bbonenfant commented Feb 6, 2024

When handling PUT /config the backend was setting the config and then testing it. Now we test the new config and store it only if the config is not invalid. Doing so prevents a user from inputting a bad pachd_address on the config screen and having the UI present it like it's a valid address. Surprisingly this didn't require and front end changes.

Jira: INT-1182

@bbonenfant bbonenfant marked this pull request as ready for review February 6, 2024 20:51
Copy link
Contributor

@smalyala smalyala left a comment

Choose a reason for hiding this comment

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

LGTM

@bbonenfant bbonenfant merged commit ae7aa18 into master Feb 7, 2024
12 checks passed
@bbonenfant bbonenfant deleted the bonenfant/INT-1182-FE branch February 7, 2024 17:42
bbonenfant added a commit that referenced this pull request Feb 22, 2024
When handling `PUT /config` the backend was setting the config and then
testing it. Now we test the new config and store it only if the config
is _not_ invalid. Doing so prevents a user from inputting a bad
pachd_address on the config screen and having the UI present it like
it's a valid address. Surprisingly this didn't require and front end
changes.
bbonenfant added a commit that referenced this pull request Feb 23, 2024
- Lumino tabs (#9692)
- Uninstantiated python client bugfix (#9705)
- Prevent bad config from being stored (#9711)
- Remove dev_server (#9713)
- UNKNOWN cluster status state (#9719)
- Prevent error popups bugfix (#9721)
- Infinite scroll in file explorer (#9715)
- Fix local cypress tests (#9728)
- Infinite scroll w/ scrollbar (#9746)
- Clear mounted datums before new datums (#9716)
- Make input spec non-resizeable (#9720)
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

2 participants