Tickets: lock status changes while an approval request is pending - #280
Open
romanivan-flamingo wants to merge 9 commits into
Open
romanivan-flamingo wants to merge 9 commits into
romanivan-flamingo wants to merge 9 commits into
Conversation
A Tech Required ticket with a pending tool-approval request cannot change status - the server rejects every transition (409, openframe-saas-tenant#2764) and returns empty availableTransitions. Mirror the lock in the UI instead of letting users hit the error: - detail page: the inline status changer renders as a locked tag with the reason in a tooltip; handleTransition guards the programmatic path; the cached ticket refetches right after approve/reject so the lock releases - board: dragging a locked card out of its lane toasts the reason and snaps back; the Take Over trigger on the assignee avatar toasts instead of opening the modal (the board fragment now selects statusDefinition.kind) - take-over: openTakeOver has a safety-net guard, and both Start Direct Chat buttons disable with the tooltip while the AI still works a locked ticket - edit form: the status field disables with the tooltip The lock signal is Ticket.pendingApproval (now selected by GET_TICKET_QUERY), which uses the same pending semantics as the server-side lock. Requires @flamingo-stack/openframe-frontend-core with TicketStatusTag disabled/disabledReason (openframe-oss-lib#1898) - version bump follows the lib release. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Brings TicketStatusTag disabled/disabledReason and the TicketInfoSection pass-through for the pending-approval status lock (openframe-oss-lib#1898). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
romanivan-flamingo
marked this pull request as ready for review
August 24, 2026 14:30
…dicate The drop interception checked statusDefinition kind + pendingApproval directly; isStatusLockedByPendingApproval is the single definition of the lock and works on board dialogs since the fragment selects the kind. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
aliaska-varieva
previously approved these changes
Aug 24, 2026
pavlo-flamingo
previously approved these changes
Aug 24, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
romanivan-flamingo
dismissed stale reviews from pavlo-flamingo and aliaska-varieva
via
August 24, 2026 17:53
9d8aac2
romanivan-flamingo
enabled auto-merge (squash)
August 25, 2026 12:29
romanivan-flamingo
disabled auto-merge
August 25, 2026 12:29
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
FE part of ClickUp 86ajqa7bv: a Tech Required ticket with a pending tool-approval request cannot change status. The server enforces the lock (openframe-saas-tenant#2764: 409
TICKET_STATUS_LOCKED_PENDING_APPROVAL, emptyavailableTransitions); this PR mirrors it in the UI so users see the reason instead of hitting the error.handleTransitionguards the programmatic path; the ticket refetches right after approve/reject so the lock releases immediately.statusDefinition.kind.openTakeOverhas a safety-net guard, both Start Direct Chat buttons disable with the tooltip while the AI still works a locked ticket.Ticket.pendingApproval(added toGET_TICKET_QUERY; same pending semantics as the server-side lock - escalate-to-human offers excluded).