|
| 1 | +# Session 036 — Dialog Autoscroll And PM Help Color Patch Release |
| 2 | + |
| 3 | +**Date:** 2026-04-04 15:00 (CEST) |
| 4 | +**Branch:** main |
| 5 | +**Version:** 1.1.885 |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +# 1. Work Done in This Session |
| 10 | + |
| 11 | +## Work summary |
| 12 | +- Created and approved a dedicated planning doc for the shared dialog regression where appended text inside the same logical bubble did not keep the viewport pinned to the bottom. |
| 13 | +- Confirmed that the shared browser dialog panel was keying auto-scroll only off `displayMessages.length`, which meant growing `Thinking` bubbles could extend below the viewport without triggering another bottom snap. |
| 14 | +- Added a small bottom-anchor fingerprint helper for merged dialog messages and rewired the shared `DialogPanel` auto-scroll effect to follow that fingerprint instead of only reacting to message-count changes. |
| 15 | +- Added focused regression coverage for the `same bubble, more text` case and verified it through a direct `tsx --test` run. |
| 16 | +- Retuned Project Manager help/spravka color again to `rgba(115, 130, 140, 1)` while preserving the already accepted `14px` size and medium-weight contract. |
| 17 | +- Updated README and CHANGELOG for release `1.1.885`, ran the full `build-all` plus packaged `build-release` cycle, and produced the new VSIX artefact for field testing. |
| 18 | + |
| 19 | +## Verification |
| 20 | +- `npm run build:webview` |
| 21 | +- `npx ultracite check src/client/ui/src/session/dialog-panel.tsx src/client/ui/src/session/dialog-panel-scroll-anchor.ts src/client/ui/src/session/dialog-panel-scroll-anchor.test.ts` |
| 22 | +- `npx tsc -p . --pretty false` |
| 23 | +- `npx tsx --test src/client/ui/src/session/dialog-panel-scroll-anchor.test.ts` |
| 24 | +- `npm run build:project-manager` |
| 25 | +- `./scripts/build-all.sh` |
| 26 | +- `./scripts/build-release.sh --use-current-version` |
| 27 | + - confirmed `Step 7: Verifying SDK exclusions` |
| 28 | + - confirmed `Removing dev dependencies before packaging` |
| 29 | + - confirmed `✅ Package created` |
| 30 | + - confirmed `✅ VSIX runtime package surface verified` |
| 31 | + |
| 32 | +## Git commits |
| 33 | +- `52cf2d21 docs(plan): define dialog autoscroll patch scope` |
| 34 | +- `21aeca2e fix(ui): keep dialog pinned on growing thinking messages` |
| 35 | +- `6e9e5868 style(pm): retune help text color again` |
| 36 | +- `321634bb docs(release): prepare dialog autoscroll patch notes` |
| 37 | +- `1c93ee3f build(release): assemble dialog autoscroll patch release` |
| 38 | + |
| 39 | +--- |
| 40 | + |
| 41 | +# 2. Instructions for Next Session |
| 42 | + |
| 43 | +## Required documents to review before work |
| 44 | +1. `doc/SolidWorks-WorkFlow/README.md` |
| 45 | +2. `doc/SolidWorks-WorkFlow/Docs_Index.md` |
| 46 | +3. `doc/SolidWorks-WorkFlow/System/SystemArchitecture.md` |
| 47 | +4. `doc/TODO/todo-plan.md` |
| 48 | +5. `doc/Sessions/Session036.md` (THIS REPORT) |
| 49 | + |
| 50 | +> If follow-up feedback is specifically about dialog streaming behavior, also open `doc/SolidWorks-WorkFlow/Plans/Dialog_Autoscroll_And_PM_Help_Color_Patch.md`. |
| 51 | +
|
| 52 | +## Plans for next session |
| 53 | +- Validate release `1.1.885` in the field and confirm that growing provider `Thinking` bubbles stay visible without manual scrolling. |
| 54 | +- If the user accepts the patch as final, archive or reset the active `todo-plan.md` scope on the next release-closeout pass. |
0 commit comments