fix(studio): fix interaction bugs across multiple pages#179
Closed
fix(studio): fix interaction bugs across multiple pages#179
Conversation
- Fix QuickCommand race condition: commands were silently failing because handleSubmit read stale state. Now executes the command directly. - Fix MessageBubble key collision: use index-suffixed keys to prevent React rendering issues when messages arrive in the same millisecond. - Add missing error handling to Dashboard write-next, BookDetail approve/reject/audit inline buttons, and ChapterReader approve/reject. - Fix handleApproveAll: use Promise.allSettled for parallel execution instead of sequential await loop that stops on first failure. - Fix GenreManager: replace window.confirm with ConfirmDialog for consistent UX; use fetchJson instead of raw fetch for delete. - Fix BookDetail Nav interface: add toTruth to type definition, remove unsafe type assertion hack. - Remove dead notification bell button that had a red dot but no click handler, misleading users into thinking there were notifications.
Owner
Author
|
All fixes from this PR were independently implemented on the dev branch and merged to master via the interaction control layer merge (8f12ee2). Closing as superseded. |
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
setInput后handleSubmit读到空状态),改为直接执行命令逻辑Promise.allSettled并行执行,单个失败不阻断其余toTruth加入接口定义,移除as强转Test plan
pnpm --filter @actalk/inkos-studio test— 55/55 passresyncChapterArtifacts), not introduced by this PR