4e7c6329
web: full-width split diff view with a rendered file tree
Make the commit and compare pages full-bleed and default to the side-by-side (split) diff, so the layout matches a conventional diff viewer: file tree on the left, split diff on the right. - layout.html renders the content wrapper with a per-page ContainerClass; chrome() defaults it to "container" and the commit/compare handlers set "container-fluid" for the diff views (the nav stays centered). - app.ts defaults DEFAULT_LAYOUT to "split". - Fix the @pierre/trees sidebar rendering blank: its virtualized container collapses to zero height unless the mount has a definite height, so sizeTreeRoot() gives #tree-root a viewport-height panel (re-applied on resize). Rebuilt the vendored bundle.
bigbes <bigbes@gmail.com> — 2026-07-18 20:42:36 UTC
Commit 4e7c6329e40c58e790e98774d456af93c2e56bc5 —
view raw patch
Parent(s):
a4853d05
| File | Status | + | − |
|---|---|---|---|
frontend/src/app.ts
|
M | +16 | -1 |
web/chrome.go
|
M | +18 | -12 |
web/handlers.go
|
M | +2 | |
web/static/bundle.js
|
M | +6 | -6 |
web/templates/layout.html
|
M | +1 | -1 |