Repository navigation
Share console clipboard feedback and parse chat payloads once - #907
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
69fcd34 to
81bcfed
Compare
29e8fcc to
91c8242
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Code examples and provider setup commands each manage the same asynchronous clipboard feedback and cleanup. Share that state machine through
useClipboard, keeping tab reset, pending-write handling, error feedback, and the two-second success reset. Chat SSE payloads now parse once before receipt/token dispatch instead of parsing every token twice.Stacked on #902 (
refactor/repository-web) so full TypeScript validation stays enabled. No API, encryption, trust receipt, or visible copy changes.Validation: pinned Node 22 passes all 694 tests, complete TypeScript checking, ESLint (existing warnings), and full Next production build including types. Existing tests exercise pending/rejected clipboard writes, stale completion after tab changes, provider setup feedback, chat SSE, and encrypted responses.
flowchart LR subgraph Before A[CodeExample local copy lifecycle] --> B[Copying / Copied / error UI] C[SetupCommand local copy lifecycle] --> B D[SSE payload] --> E[Parse for receipt] E --> F[Parse again for delta] F --> G[Token or thinking callback] E --> H[Trust receipt] endflowchart LR subgraph After A[CodeExample and SetupCommand] --> B[useClipboard attempt and timer lifecycle] B --> C[Same feedback and stale completion suppression] D[SSE payload] --> E[Parse once] E --> F[Trust receipt] E --> G[Same token or thinking callback] endNeed help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.