Repository navigation
fix: queue completion notifications during active approval/question - #61
Closed
CodePirate7 wants to merge 1 commit into
Closed
CodePirate7 wants to merge 1 commit into
CodePirate7 wants to merge 1 commit into
Conversation
…ctive Previously, when a session completed while an approval or question card was being displayed, the completion notification would immediately replace the interactive card. This caused the user to lose their pending approval or question, effectively skipping it. Now completion notifications are queued when any interactive card (approval or question) is visible, and drained after the user finishes interacting. The showNextPending() method is extended to handle the full priority chain: permission requests > questions > queued completions > collapse. Co-Authored-By: Claude Opus 4.6 <[email protected]>
This was referenced Apr 11, 2026
Owner
Contributor
Author
|
Thanks for including the fix! Would you mind adding a |
wxtsky
added a commit
that referenced
this pull request
Apr 11, 2026
…+ completion queue fix Multi-question (merged #59 + #60): - Wizard-style one-question-at-a-time UI with Back navigation - MultiSelect checkbox support and "Other" free-text input - AskUserQuestionState with answer key dedup (header-based, collision-safe) - answerQuestionMulti with positional matching - drainQuestions sends deny for AskUserQuestion-derived requests - 7 unit tests covering multi-question, dedup, skip, disconnect Completion queue fix (merged #61): - Queue completion notifications when approval/question card is active - Drain queued completions in showNextPending Remote SSH monitoring (merged #42): - SSH tunnel forwarding for remote Claude Code / Codex sessions - Remote hook installer and Python bridge script - Settings UI for remote host management - Remote session guards (skip PID monitor, model read, persistence, terminal activation) Co-Authored-By: CodePirate7 <[email protected]> Co-Authored-By: lkangd <[email protected]> Co-Authored-By: Hatiaa <[email protected]> Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
nguyenvanduocit
pushed a commit
to nguyenvanduocit/CodeIsland
that referenced
this pull request
Apr 12, 2026
PR wxtsky#59/wxtsky#60 merged (abfc3b7): multi-question AskUserQuestion wizard UI — promote T-018 from "watch" to "implement now". New tasks added to Todo: - T-020: terminal activation overhaul (Warp/Alacritty/Hyper/tmux/IDE) - T-021: configurable island width 50–150% slider - T-022: cmux precise terminal jump (PR wxtsky#50 merged) - T-023: hook config migration ~/.claude/hooks/ → ~/.codeisland/ PR wxtsky#61 (completion queue fix) already in our codebase — no task needed. Remote SSH monitoring, third-party CLI, and Turkish l10n skipped. https://claude.ai/code/session_01Gcwzjp7VguhnX64hM6tEC1
heiboy0070
pushed a commit
to heiboy0070/CodeIsland
that referenced
this pull request
Apr 13, 2026
…+ completion queue fix Multi-question (merged wxtsky#59 + wxtsky#60): - Wizard-style one-question-at-a-time UI with Back navigation - MultiSelect checkbox support and "Other" free-text input - AskUserQuestionState with answer key dedup (header-based, collision-safe) - answerQuestionMulti with positional matching - drainQuestions sends deny for AskUserQuestion-derived requests - 7 unit tests covering multi-question, dedup, skip, disconnect Completion queue fix (merged wxtsky#61): - Queue completion notifications when approval/question card is active - Drain queued completions in showNextPending Remote SSH monitoring (merged wxtsky#42): - SSH tunnel forwarding for remote Claude Code / Codex sessions - Remote hook installer and Python bridge script - Settings UI for remote host management - Remote session guards (skip PID monitor, model read, persistence, terminal activation) Co-Authored-By: CodePirate7 <[email protected]> Co-Authored-By: lkangd <[email protected]> Co-Authored-By: Hatiaa <[email protected]> Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
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
Fixes #57
showNextPending()now handles the full priority chain: permission requests → questions → queued completions → collapse.showNextCompletionOrCollapse()delegates to it to avoid duplicated logic.Changes
Sources/CodeIsland/AppState.swiftisShowingInteractivecheck, updatedenqueueCompletionto queue during interactive cards, extendedshowNextPendingto drain completion queue, simplifiedshowNextCompletionOrCollapseTest plan