Repository navigation
feat(web): link the pull requests in session lists to GitHub - #169
Merged
Merged
Conversation
Each row in the home page's, a workspace's and a project's session list was one link to the session, which couldn't hold links to its pull requests. The title is now the session's link, and its ::after covers the row, so the whole row still opens it; the pull requests lie over that as links of their own.
kalaspuff
approved these changes
Oct 21, 2026
kalaspuff
deleted the
fctl/104-the-prs-listed-in-the-home-view-listing
branch
October 21, 2026 15:52
kalaspuff
pushed a commit
that referenced
this pull request
Oct 21, 2026
…ge (#168) [hyperstructure/sandbox#8](hyperstructure/sandbox#8) moves the sandbox image to Debian 13 (trixie), Node.js 26, uv 0.13.4 and Rust 1.99.1, and checks on its pull requests that fctl's own development works in it. fctl follows it: - **Lima sandboxes on Debian 13.** `fctl host image build --driver lima` prepares the `fctl-base` VM from Lima's `debian-13` template instead of `debian-12`, so Lima sessions get the image's Debian. Lima added that template in 2.0 (November 2025): with an older Lima, the VM gets Debian 12 as before, and the command says so and to upgrade Lima (`brew upgrade lima`). The image's `provision.sh` works on both. A `fctl-base` VM that is already there stays as it is until it is built again. - **Rust 1.99.1**, the image's: the two move together, so that sessions working on fctl have nothing to download. It fixes regressions in 1.99.0 ([announcement](https://blog.rust-lang.org/2026/10/15/Rust-1.99.1/)): missing `wcslen` symbols on some targets, a miscompilation of `bool` returned through FFI on x86_64, and rust-lld failing to load on macOS. `rust-version` in Cargo.toml stays `1.99`, and the standalone image builds its Worker in `rust:1.99.1-slim-bookworm`, which `main` now pins to the toolchain (a test in `xtask/src/serve.rs` checks that they match). - **package-lock.json, refreshed with npm 11.** Node.js 26 comes with npm 11, which drops two entries npm 10 keeps: the `site` workspace, which moved to hyperstructure/fctl-site, and `@cloudflare/workers-types` as an optional peer that nothing installs. Without this, the first `npm install` in a session rewrites the lockfile. npm 10 keeps the refreshed one as it is, so CI's Node.js 22 and sessions' Node.js 26 agree on it. - **The Sandbox images page** says the image is Debian 13 with Node.js 26, and that the Lima VM is Debian 13 unless Lima is older than 2.0. Its .NET example installs Debian 13's ICU (`libicu76`; Debian 13 has no `libicu72`), and its examples start from the `0.14` tag, which sandbox#8's merge rebuilds on Debian 13, instead of `0.5`, which stays on Debian 12. fctl's own Node.js doesn't change (CI, the standalone image, "Node.js 22 or newer"): CI keeps checking the oldest Node.js fctl supports, and sandbox#8's Develop fctl workflow runs fctl's checks and sessions on Node.js 26 in the image. Release builds (`cargo xtask dist`, with zig) and deploys stay with the Release and CI workflows. hyperstructure/sandbox#8 is merged, and its image is published: `0.14.1`, `0.14` and `latest` are Debian 13 now (2.25 GB unpacked on amd64, 58 MB more than before; 2.12 GB on arm64, 43 MB more), so the docs' example works and this can merge. **Verification** - CI: `cargo xtask check` and `cargo xtask dev --smoke` pass on Node.js 22 and npm 10 with the refreshed lockfile, and the Standalone image workflow builds the standalone image with Rust 1.99.1 and runs a session through it. - Merged with `main` (#169 to #176): `image.rs` keeps #172's isolated base VM (`--set` with no mounts and no port forwards) and #173's private download directory, with the Debian 13 template. Lima 2.2.1 merges its templates' bases, the home directory mount of `_default/mounts` included, before it applies `--set`, so `debian-13` gets no mounts either. The lockfile keeps #176's `@hyperstructure/design` 0.6.0, and npm 10 and 11 leave it as it is. `cargo xtask check --quick` passes on the merge. - A unit test covers the template: Lima 2.x gets Debian 13, 1.x Debian 12, and a version it can't read Debian 13. - In sandbox#8's Debian 13 image, its Develop fctl workflow runs this branch (4fcc7ff) as a session would and passes on amd64 and arm64 ([run](https://github.com/hyperstructure/sandbox/actions/runs/39635043177)): `cargo xtask check`, a session through `cargo xtask dev` and one through `cargo xtask serve`, an `npm install` that leaves the lockfile as it is, and Playwright screenshots of the signed-in home page, which install Chromium's libraries from Debian 13. - In the session (arm64, Debian 12, Node.js 26.12.1 first on the PATH), the same `check-fctl.sh` passes on this branch in 8 minutes. - npm 10.9.9 and 11.20.0 both leave the refreshed lockfile as it is (`npm install --package-lock-only`). - Lima itself isn't run here: sessions have no VMs. Lima's `debian-13` template is in its releases from v2.0.0 on, and `debian-12` is still in them. Made in fctl session https://app.fctl.sh/s/ses_01M5FGH6RENBJVF1MS02X2MB51 --------- Co-authored-by: fctl-sh[bot] <fctl-sh[bot]@users.noreply.github.com>
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.
Session lists named each session's pull requests as plain text ("· PRs fctl#166, fctl#167"): to open one, you opened the session first and found it there. Now each is a link to the pull request on GitHub. It opens in a new tab, and on hover it shows its repository and title. This covers every session list: the home page's (Working now and Recently), a workspace's and a project's.
Each row was a single link to its session, and a link can't hold other links. So the session's title is now that link, and its
::aftercovers the row. A click anywhere else on the row still opens the session, with everything a link does: ⌘-click or a middle click for a new tab, the context menu, the address in the status bar. The pull requests' links lie over it (relative z-[2], in a row that isrelative isolate). Tab goes from a session to its pull requests, then to the next session, and the focus ring still goes around the whole row. The pull requests are a shade brighter than the text around them, and underlined on hover. On phones, the home page's and a workspace's rows still leave them out for room.One thing changes besides: the row's link now lies over the avatar of the person who started the session and over the time, so hovering those no longer shows their tooltips (the person's name, the exact time). Clicking them opens the session, as before.
PullRequestsLabelis nowPullRequestLinks, andprsLabelwent with the plain-text label.Verification
cargo xtask checkpasses. A new test,web/src/components/session/row.test.tsx, checks the row's links: the session's from its title, one per pull request to GitHub (new tab, title on hover), and none inside another.cargo xtask dev, with four fake-claude sessions whose pull requests I set in the local D1 (fake-claude opens none), driven in Chromium with Playwright on the home page, a workspace's page and a project's page:main;main, and truncate at the same places at 390 px;Screenshots
At a6c7e3b: the home page's Recently list, 1440 px wide.
The pointer on fctl#166:
A project's sessions:
At 390 px the home page looks as it did, since its rows leave out the pull requests on phones.
Made in the fctl session https://app.fctl.sh/s/ses_01M5FGBAPKCXGB86HNW7QE4Q80