generated from BlackHatMagic/Template-Bare
fix: render reasoning at full sidebar width with Markdown #7
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/reasoning"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fix the tall, narrow reasoning column shown in the reported screenshot:
<details>both used.pi-chat-thinking. The dropdown'smax-width: 110px(88px below 360px) therefore constrained the entire reasoning transcript. Give the dropdown a separate.pi-chat-thinking-selectclass at both breakpoints.**bold**and other Markdown literal. Keep streaming text incremental andpre-wrap; remove that whitespace mode when rendering Markdown.Validation
bun install --frozen-lockfile— passCHROMIUM_PATH=/usr/bin/chromium bun run check— typecheck + 41 tests passed, 0 failedbun run build— passgit diff --check— passRisks / limitations
Browser regressions exercise real Chromium layout but stub the Obsidian host API and Markdown renderer. They verify that reasoning reaches Obsidian's existing rendering pipeline; they do not independently validate Obsidian Markdown or community themes. Playwright is dev-only; browser installation/system-browser instructions are in README.
Pi code review
0 new actionable findings
No new actionable findings. Previously reported issues, if any, are tracked below.
Aggregated the three candidate reviews of head
b7d50f1against basebd861ec, covering reasoning layout, Markdown handoff, streaming behavior, browser tests, documentation, and release metadata; no evidence-supported introduced bugs were identified. This aggregation did not run tests, typechecks, builds, or live Obsidian/theme checks, and the browser tests use a stubbed Obsidian host and Markdown renderer.Change walkthrough
src/chat-view.ts,styles.css,manifest.json,versions.jsontests/chat-view.test.ts,tests/fixtures/chat-view.ts,tests/fixtures/obsidian.ts,tests/fixtures/crypto.tspackage.json,bun.lockREADME.mdReview effort: 3/5.
Static observations (not validation results)
Reviewed
b7d50f12a09ee5c0b6c896612179871194529ca4withproxy/glm-5.3-flash + proxy/deepseek-v4.1-flash + proxy/gpt-6.1-sol → proxy/gpt-6.1-sol. Automated advisory review; no project commands or tests were executed.Review monitoring complete: Code-Reviewer reviewed current head
b7d50f12a0with 0 actionable findings. Local typecheck, all 41 tests (including Chromium layout/streaming regressions), production build, and diff checks pass. No remote commit statuses are configured/reported. Merging and preparing release 0.4.2 as requested.