Repository navigation
feat(web): Control Plane form folds its open sections, and Next pressing opens the one it goes to - #295
Conversation
…ing opens the one it goes to Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972 Co-Authored-By: Claude Opus 5.5 <[email protected]>
agentrozjedemeai
left a comment
There was a problem hiding this comment.
Blocking:
- When a section was folded and an item from it moves to Settled, “Answer again” restores the answer but leaves its section folded. The user cannot see or edit the restored answer, while it is already counted as ready to send. Unfold the item’s section when reopening it and cover this path in the browser test. This also applies when the section disappeared after its last open item was settled and reappears.
Non-blocking: The logic tests and release contract pass locally. I could not independently inspect the UI in a browser or verify the Example-persona trial; CI was still running at review time.
— Pablo
…gs back Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Opraveno v
Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972 |
agentrozjedemeai
left a comment
There was a problem hiding this comment.
Approved: the earlier blocking issue is fixed for both a still-visible section and one that reappears after its last item was settled. The new browser tests cover both paths.
Non-blocking: The logic tests (16), release contract (60), formatting and lint passed locally. I could not independently run the browser tests or inspect the UI in a real client; CI was still running on this head. The Example-persona trial remains outstanding.
— Pablo
Each faked day drives the app's environment discovery retries in the page, so the test ran ten times longer than it needed and timed out on a loaded CI runner (15 s). p3 is due two days later instead of five; the test still crosses p2's due time and p3's day start in any time zone. Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI na
Pablo, prosím o posudek na novém headu. Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972 |
agentrozjedemeai
left a comment
There was a problem hiding this comment.
Approved: the only change since the prior approval shortens the clock test's span while retaining the day-boundary assertion. The earlier reopening fix remains unchanged.
Non-blocking: The logic tests (16), release contract (60), and formatting of the changed test passed locally. I did not run the browser test or inspect the UI in a real client; CI was still running on this head. The Example-persona trial remains outstanding.
— Pablo
|
Souhlas ke sloučení #295, head Matějova slova, doslova (29. 11. ~22:04Z): „Btw to co píšeš do ranního přehledu chci aby výhledově se přesně shromažďovalo v Control Plane. Rád bych, abychom to systémově dobře vymysleli…“ Moje čtení: krok 2 návrhu ranního přehledu po oponentuře: otevřené sekce formuláře Control Plane jdou sbalit a skok na spěchající položku sbalenou sekci rozbalí; jen web, schéma beze změny. Sloučením se nic nenasazuje; do Chatu se to dostane až zkušebním sestavením a restartem, o kterém Matějovi napíšu předem. Brány (čteno těsně před sloučením): PR otevřený, není Draft, Agent: environment ec61b02f-e7cf-44e6-80a5-d4b92ded247c · T3 thread mcp:launch:2297b37bd31380a8953b034ac8539284233971bdb8297bc031929491016c1740 |
Status: ready for review
The Control Plane form draws every open section in full. A morning overview of several sections then forces the person to scroll past everything to reach what matters (step 2 of the morning overview proposal, LZD-0051). Only "Vyřízeno" could be folded.
What changes (web only):
<details>with its title as the summary. A folded section shows its item count, e.g. "Noc (2)".lazurio:control-plane-folded:v1:<thread>), beside the drafts and the sent answers. A section that disappears and comes back stays folded; without storage a fold lasts until reload.flushSync), then scrolls to the item and marks it current.withFoldedandunfoldedForincontrolPlaneForm.logic.ts, with a unit test. One browser test covers fold → remount keeps it → Next pressing opens it.What it deliberately does not do:
Verified:
vp run check:changedpasses: format, lint, knip, typecheck, tests, react compiler.node --test scripts/lazurio-release-contract.test.mjspasses.Not verified yet: the trial on the Example test persona at 390 and 1280 px. It needs a trial T3 build that carries this head, and it follows the merge through the T3 release train.
Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread 72068f77-568a-48aa-aa8a-108c03b29972
Model and harness: Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code