Repository navigation
feat(doop): comment resolution picker, reason chips and review summary (CHE-9396) [squash] - #167
Draft
congvc-bot-x99[bot] wants to merge 3 commits into
Draft
congvc-bot-x99[bot] wants to merge 3 commits into
congvc-bot-x99[bot] wants to merge 3 commits into
Conversation
added 3 commits
November 27, 2026 02:57
This branch has not been deployed
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.
Closes CHE-9396 (U4, step 8 of CHE-9308). Design:
design/lifecycle-ui/approved/A4-comment-resolution.html @ 572cc77.What changed
{reason, ref|note}.q:stays open, shows the issue link, and offers no Resolve.doop:reviewed:<user>:<canvas>).PanelState: loading, empty, offline (reading works, Resolve paused), inline error with Try again.api.resolveCommenttakes an optional body. en and pt-BR strings added.Not rendered on purpose: the A4 "Suggested: Addressed" hint (waits on CHE-9351). A test guards it.
Test-first
Command:
npx vitest run tests/commentResolution.test.tsx(run here with a local config that skips the PGlite/Chromium globalSetup; the file is a pure happy-dom unit test).Red (before the code, 11 failed | 1 passed; the one pass is the "no Suggested" guard):
Green (after):
Also green:
tests/commentsPanel.test.tsx,tests/panelState.test.tsx,tests/commentResolveReason.test.ts(24 tests).bun run typecheck,bun run lint, prettier: clean.UI review pack (CHE-1485 Layer A)
Admit sheet:
docs/ux/CHE-9396.yml.NOT-CAPTURED reason: this run has no doop MCP tool, so it cannot place captures on a reference frame on page
che-5478; the Comments tab sits behind sign-in and has no story to render headlessly. Pack is incomplete, PR stays draft.Keep / Change / Remove check (written out from the sheet):
Visual diff: NOT-RUN (CHE-1485 Layer B pending)
Residual risk
VITE_MULTICA_WEB_URLat build time; without it the issue key is plain text.q:; a latere:reply clears it.Round 2 (review CHANGES on fd4f506)
Fixes: (1) a
q:<event id>reply names its issue in "Moved to Multica: "; the matchinga:<event id>reply clears the wait; the link is<VITE_MULTICA_WEB_URL>/issues/<KEY>(workspace URL, same shape as the server'sMULTICA_WEB_URL; documented in.env.example); (2) the summary reads every page of the canvas, since Mark reviewed moves a canvas-wide anchor.Red (new tests against the round-1 code):
Green: 40 passed in 4 files (
tests/commentResolution.test.tsx16, plus commentsPanel, panelState, commentResolveReason). typecheck, lint, prettier clean.UI pack is unchanged: four cells NOT-CAPTURED, PR stays draft.
Round 3 (round-2 P1: the configured Multica URL never reached the client)
Fix:
GET /api/me(the config the SPA already loads after sign-in) now carriesmulticaWebUrlfrom the server'sMULTICA_WEB_URL(http(s) only, no trailing slash; omitted when unset).CommentsPanelreads it throughuseMeand links the key.VITE_MULTICA_WEB_URLis removed, so no Dockerfile or image change is needed.Tests:
tests/meMulticaUrl.test.tsboots the real server with and withoutMULTICA_WEB_URLand asserts/api/me;tests/commentResolution.test.tsxasserts the<a href>from theMevalue.Red (before the fix):
tests/meMulticaUrl.test.tsfailed to load (Cannot find module '../shared/multica.ts') andkeeps a q: thread open with a working Multica linkfailed (expected undefined to be 'CHE-5301').Green: 5 files, 43 tests passed (
commentResolution,meMulticaUrl,commentsPanel,panelState,commentResolveReason).bun run typecheck,bun run lintandprettier --checkare clean.UI review pack (CHE-1485 Layer A)
Captured with headless Chrome 158 on X99: real server (PGlite, production build) with the client built from
cheese/main(before) and from this head (after). Comments tab at 1440 and 390; seed has open threads, aq:thread, and one resolved thread per reason. The six PNGs and the Keep / Change / Remove text are in CHE-10383 (comment01a2199b-aa42-792b-86c1-e3743f852c49).che-5478reference frame and the different-lab UX verdict: pending (CHE-10383).Visual diff: NOT-RUN (CHE-1485 Layer B pending)