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

Prevent proposal submission with undefined observations #4545

Merged

Conversation

toddburnside
Copy link
Contributor

Updates the UI to match the new limit set in the API.

Copy link

bundlemon bot commented Feb 6, 2025

BundleMon

Files updated (1)
Status Path Size Limits
index-(hash).js
1.74MB (+402B +0.02%) -
Unchanged files (7)
Status Path Size Limits
exploreworkers-(hash).js
597.5KB -
index-(hash).css
66.23KB -
workbox-window.prod.es5-(hash).js
2.07KB -
plotworker-(hash).js
85B -
agsworker-(hash).js
83B -
itcworker-(hash).js
83B -
catalogworker-(hash).js
82B -

Total files change +402B +0.02%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

Copy link

@swalker2m swalker2m left a comment

Choose a reason for hiding this comment

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

Looks great. 👍

): (ps, _, he) =>
if (he && ps === ProposalStatus.NotSubmitted)
errorMessage.set(
"Proposal cannot be submitted with undefined observations. Define them or mark them as inactive.".some

Choose a reason for hiding this comment

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

Is there any use in pointing them to the Overview tab? That is, should we put that bit back? Not suggesting it -- I just don't know the answer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going to link to this message in the shortcut story and ask Andy that very question. :) I guess I could do it before merging.

@toddburnside
Copy link
Contributor Author

I am merging this because I have additional work to do in the same error. I will change the message in a new PR if it needs changed.

@toddburnside toddburnside merged commit 3a37b2b into main Feb 6, 2025
17 checks passed
@toddburnside toddburnside deleted the sc-4426-do-not-allow-submitting-a-proposal-with-undefined branch February 6, 2025 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants