Repository navigation
feat: combine page details and diagnostics with copyable text - #4291
Merged
Merged
Conversation
About this page now holds page identity and diagnostics together. Read-only diagnostic text includes its copy control by default. Plain-HTTP copying keeps its selection field inside the active native layer, where a modal can admit focus. Closes #4289
This was referenced Oct 26, 2026
Closed
leaf-agent
added a commit
that referenced
this pull request
Oct 27, 2026
The plain HTTP About test removed its hostname-to-loopback forwarding before navigating away, while the old document could still send interaction requests. Retain the route until the browser context closes, matching the existing code-copy tests. This preserves #4291's insecure-context clipboard fallback and its clipboard-content assertion without changing product behavior. A controlled reproduction on current main installs the browser clock before removing the route, presses Tab, and advances 1000 ms before navigation. Browser-health teardown then reports failed hostname requests, including `/api/interaction` (502 through this sandbox's proxy; the reported CI run refused the direct connection). The same sequence passes with forwarding retained. The temporary clock probe is not retained; the ordinary About case and both click/Enter code-copy cases pass (3 tests). Closes #4386 — automated triage Co-authored-by: leaf-agent <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 31, 2026
… state fails (#4807) Fifteen `leaf-dev stills` catalogue states failed to capture on every run, base and head alike, so no stills comparison covered them, and nothing said so: the command printed a `failed` line per state and exited 0. They surfaced while comparing a cascade change across the full catalogue (#4805). ### The command now fails when a state does `leaf-dev stills` writes its whole report as before, `faces.txt` included, then exits 1 if any state failed. Its module header states the rule, and `test_stills.py`'s failed-driver and failed-analysis tests expect it. ### Thirteen drivers followed a UI that has since moved - **plan-option-picked, plan-option-card-picked:** an admitted pick is announced as "Chose “…”" since #4325, without the "— sent" the driver waited for. - **share-link, share-link-dark:** since #4291 a refused copy of the page's link opens About this page, where the link is read-only text, rather than a field under the menu's About group. The driver waits for the dialog's source reading, as page-about does, and the state frames the dialog's Page details. - **diff-filter, diff-filter-phone-dark:** #4323 dropped the file filter from a one-file diff, which `#pr-key-hunk` is; the states filter the walkthrough's 46-file `#pr-exact-patch`. - **worktree-summaries (three variants):** since #4724 `lf-worktree` slots its authored evidence into a shadow disclosure, and the evidence's own `<details>` also matched the driver's selector. It presses the widget's `.lf-worktree-summary`. - **plan-capture (four variants):** area capture opens with no rectangle until a drag draws one (#3814); `capture_menu` waits for the Capture area region, as the suite's `open_capture_area` does. ### The contents map has a page again #4724 moved the feature gallery's contents out of its sidebar into the reading flow, where it is a folded "On this page" disclosure, so no example drew the margin map: contents-over-reading failed, and contents-spine and four more states captured the disclosure instead. `tests/fixtures/pages/sidebar-contents.html` is a runbook laid out as the site's docs pages are (`.layout-sidebar` with the contents in `aside > .layout-track` beside a `.layout-column`), and all eight contents states read it. As a fixture page it also joins the corpus, which had no page drawing the map. The gallery's sentence about the map's rings goes, since its folded disclosure draws none. ### Checks - The 13 repaired states, the eight contents states and topic-contents captured on two consecutive runs; each new capture was read by eye (the filter at "0 of 46", the capture area mid-drag, the closed worktree row, the picked option, the focused link, the map at rest and revealed over the column). - `dev/tests/model/test_stills.py` passes, and fails with the new exit removed. The fixture passes `leaf page check --render` with no findings. The gallery's topic-contents sample still says its Full view draws the map, which it doesn't since #4724; that is left for its own change. > _This was written by Claude Code on behalf of max-sixty_
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
About this page now brings page details and diagnostics into one dialog. Its read-only text displays use a shared template that includes a copy control by default, including the rendering environment and structured reports. The menu keeps its quick-copy shortcuts; a refused shortcut opens the same dialog with selectable text.
Copying over plain HTTP also works inside the dialog: the shared clipboard fallback puts its temporary selection field inside the active native layer, rather than in the inert document behind it. Embedded samples still follow their clipboard permissions. Touch copy controls use the shared 44px target floor.
The visible changes are the combined About dialog, copy controls beside each read-only block, and the selectable-text fallback after a menu copy fails. Desktop light/dark, constrained phone, keyboard traversal, Escape, and touch target edges were reviewed in the browser.
Verification
pnpm run checkand the source pre-commit checks pass, including the runtime suite.page-about,page-about-dark, andpage-about-phone.Closes #4289 — automated triage