fix: reload page after bulk chatflow update and show in-progress state#1072
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ct3685
added a commit
that referenced
this pull request
May 15, 2026
## 🚀 Release: Staging to Production **Release Date:** 2026-05-15 ### Changes in this release - fix: add missing KeyboardArrowDownIcon import (7d7216e) - feat: collapsible template banner with count pill, green/amber theming, always-green badge (#1074) (99e0c8b) - feat: turn template banner green when all chatflows are up to date (#1073) (7314af5) - fix: reload page after bulk chatflow update and show in-progress state (#1072) (5ca478d) - fix: preserve workspaceId in bulkUpdateChatflows + optional template name sync (#1071) (3e166d6) - chore: update dependencies for improved compatibility and functionality (#1070) (6451d83) - fix: restore Atlassian MCP OAuth by removing stale Passport dependency (#1068) (00bae11) --- *This PR is automatically created/updated when commits are pushed to staging.* *Merging this PR will trigger the release workflow to create a new GitHub release.* --------- Co-authored-by: Cameron Taylor <50385537+ct3685@users.noreply.github.com> Co-authored-by: Cameron Taylor <cameron@lastrev.com>
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.
Summary
Patch for the Admin Chatflows bulk update UX:
Page didn't reload after update — The previous code gated
window.location.reload()onresponse.updated > 0, but the axios client wraps the body in.data, soresponse.updatedwas alwaysundefinedand the condition never fired. Fixed by removing the condition and always reloading on success.No in-progress feedback — The button showed no indication the update was running. Added
bulkUpdateInProgressstate that disables both the trigger button and the dialog confirm button, and changes their labels toUpdating N…while the request is in-flight. On error, the state resets so the admin can retry.Changes
packages-answers/ui/src/Admin/Chatflows/index.tsxonly — no server changes.Test Plan