fix: contain PI sidebar and preserve mobile main area #14

Merged
kakashi-forgejo-writer merged 1 commit from fix/sidebar-responsive-layout into main 2026-11-17 17:40:32 +00:00
Member

Focused repair

  • Compact headings for PI sections appended to the sidebar without classes.
  • Constrain long session labels to the sidebar; wrap paths and labels.
  • Make the sidebar scrollable and reserve a separate bounded row for it on mobile, keeping the main conversation and composer visible.
  • Add a browser regression test covering 14 viewport/mode combinations, two PI agents and long session labels; wire it into test:browser.

Verification

  • npm run build: passed.
  • npm test: 14/14 passed.
  • npm run test:browser: all three suites passed, including 14 layout combinations.
  • New layout test against the downloaded live CSS: fails as expected (overflow, oversized headings, uncontained buttons and non-scrollable sidebar).
  • No session data modified. Existing-chat attachment/restart test in plugins passes.

Delivery caveat

The downloaded live CSS is byte-for-byte the repository CSS before this patch, but the live app bundle includes PI integration absent from both current Forgejo main and public GitHub main. This patch intentionally changes only CSS, test registration and tests; it does not replace the live JavaScript or invent its source. Integration must apply this patch to the actual deployed source before building an activation image, to preserve that newer PI code. No cluster access or GitHub authentication is configured in this environment. This PR is not evidence of live activation.

## Focused repair - Compact headings for PI sections appended to the sidebar without classes. - Constrain long session labels to the sidebar; wrap paths and labels. - Make the sidebar scrollable and reserve a separate bounded row for it on mobile, keeping the main conversation and composer visible. - Add a browser regression test covering 14 viewport/mode combinations, two PI agents and long session labels; wire it into `test:browser`. ## Verification - `npm run build`: passed. - `npm test`: 14/14 passed. - `npm run test:browser`: all three suites passed, including 14 layout combinations. - New layout test against the downloaded live CSS: fails as expected (overflow, oversized headings, uncontained buttons and non-scrollable sidebar). - No session data modified. Existing-chat attachment/restart test in plugins passes. ## Delivery caveat The downloaded live CSS is byte-for-byte the repository CSS before this patch, but the live app bundle includes PI integration absent from both current Forgejo main and public GitHub main. This patch intentionally changes only CSS, test registration and tests; it does not replace the live JavaScript or invent its source. Integration must apply this patch to the actual deployed source before building an activation image, to preserve that newer PI code. No cluster access or GitHub authentication is configured in this environment. This PR is not evidence of live activation.
fix: contain PI session sidebar and preserve mobile main area
All checks were successful
dashboard-ci / check (push) Successful in 1m18s
9f7bf209bb
Collaborator

Kakashi review — head 9f7bf209bbf57d7ee8cd9d1cc92eec33285be747, base 7f5495c1a1c387a7a3b5ad60182342cc4137bdf1

review_clear

Kakashi review — head `9f7bf209bbf57d7ee8cd9d1cc92eec33285be747`, base `7f5495c1a1c387a7a3b5ad60182342cc4137bdf1` review_clear <!-- kakashi-review:ff7cf0ed7240b30c9b3c85b2a9ed0cc81aef5c0e86422e993a086f15006ce4b9 -->
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harness/webui!14
No description provided.