Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix: surface error when over-extending workspace#3275

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
presleyp merged 1 commit intomainfrombanner-error/presleyp/3097
Jul 28, 2022

Conversation

presleyp
Copy link
Contributor

Fixes#3097

We were displaying a hard-coded error, and I changed it to display the errormessage from the backend. That message is currently not great in terms of specificity, but will improve with work@johnstcn is planning. It does not have adetail aspect, so there is no need to expand/collapse, and so I thought keeping the snackbar made sense.

Screen Shot 2022-07-28 at 3 23 48 PM

Testing

When I click + on the Workspace Schedule button too many times,
Then I see an error snackbar that says "Bad extend workspace request"

Once the backend error is updated, the snackbar will say something like "New deadline is greater than workspace allows"

With future work, the + button will be disabled so that it's impossible to elicit this error. It's just here in case of frontend bugs.

@presleyppresleyp marked this pull request as ready for reviewJuly 28, 2022 20:07
@presleyppresleyp requested a review froma team as acode ownerJuly 28, 2022 20:07
@presleyppresleyp merged commit6b82fdd intomainJul 28, 2022
@presleyppresleyp deleted the banner-error/presleyp/3097 branchJuly 28, 2022 21:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@Kira-PilotKira-PilotKira-Pilot approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Fix error messages in workspaceScheduleXService and workspaceScheduleBannerXService
2 participants
@presleyp@Kira-Pilot

[8]ページ先頭

©2009-2025 Movatter.jp