Forgejo PR diffs: native Pierre bridge #23
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#24 PR diffs 1: lock down native review DOM contract
barrettruth/nix
#25 PR diffs 2: add fixtures and measurements for review pages
barrettruth/nix
#27 PR diffs 4: prototype read-only Pierre rendering where safe
barrettruth/nix
#28 PR diffs 5: implement native PR code-content repaint bridge
barrettruth/nix
#31 PR diffs 8: performance pass and deployment verification
barrettruth/nix
Reference
barrettruth/nix#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Build the required PR-diff path for the local Forgejo customization.
Core decision: PR Files Changed is a review surface, not just a rendered diff. Do not replace it wholesale with Pierre
FileDiffunless we intentionally reimplement Forgejo review behavior. The durable path is a native-DOM-preserving bridge: keep Forgejo's PR table, line metadata, review forms, conversations, viewed-file state, load-more behavior, and folding; upgrade the code/diff painting layer to the Pierre/midnight visual model.Known evidence:
pkgs/forgejo-custom/templates/repo/diff/box.tmplintentionally excludes PR files from Pierre with$.PageIsDiffandnot $.PageIsPullFiles.pkgs/forgejo-custom/frontend/src/pierre/diff-view.jscurrently only discovers/commit/<sha>.diff./pulls/<index>.diff, but that raw text does not include review comments, pending review state, viewed files, or commentability metadata.Topological issue set:
Dependency order:
Acceptance:
Implemented and deployed in
30367db.What landed:
FileDiff..diffsource discovery.Verified:
nix develop .#ci --command just formatnix develop .#ci --command just lintbiome checknode --checkon touched frontend modulesnix build .#nixosConfigurations.vps.config.system.build.toplevelmainto Forgejonixos-rebuild switch --flake .#vps --build-host vps --target-host vps/run/current-systemis/nix/store/hlblirwc4kd1sclvkhdcgsb6va7h6qgj-nixos-system-vps-26.05.20260504.afc5551forgejoandnginxare activebarrett-forgejo.jsandbarrett-forgejo.csscontain the PR bridge/CSSNote: Chromium headless on the laptop timed out dumping the live HTTPS page even with JS disabled, so final browser-level proof used curl/static asset checks plus service state. The bridge is intentionally native-DOM preserving so review behavior remains Forgejo-owned.