Repository navigation
Show the moving and unavailable sentences calmly after a press, too - #2148
Merged
Merged
Conversation
A failed press saved only the error's words and drew them red later, so the server's "moving" and "unavailable" sentences were shown as failures when exporting the audit log, adding someone to a team, connecting a browser, opening the Bot's browser, creating a Bot, and in about 80 other places. A press now keeps the error itself and draws it through the shared rule (failureSaid), so a hold is muted and a real failure stays red. Error toasts show a hold as information. The guard test now also catches an error's words saved in state, handed to an error prop, or shown as an error toast.
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 24, 2026 19:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While OpenBot moves an organization, or its database is briefly out of reach, the server answers with "OpenBot is moving this organization. Try again in a moment." or "This organization is unavailable right now. Try again in a moment.". Nothing failed, so the app should show these sentences as calm, muted text. #2111 did this for every page that shows a load error.
Buttons were still showing these sentences in red. A failed press saved only the error's words and drew them in red later. By the time anything was drawn, nothing showed the sentence was a hold. This affected exporting the audit log, adding someone to a team, connecting a browser, opening the Bot's browser, and creating a Bot, among about 80 other places.
What changed:
failureOf,failureInsteadandfailureToastTypefor this.reportoronErrorerrorprop.messageshown directly in a page, not only ones namederrorTests: