feat(projects): render diffs with Pierre - #5408
Draft
Su3h7aM wants to merge 4 commits into
Draft
Conversation
Co-authored-by: Su3h7aM <c8f70f20aa73f6306c1d1558a429064283fa268dc73af38141257775357a277a@buzz.su3h7am.dev.br> Co-authored-by: Nika <1587d7d344569e0d95b8ba7bafa24fba72a52236b7294a7d44c87df0ee212725@buzz.su3h7am.dev.br> Co-authored-by: Fizz <855cded2e5312f3b3b024d298f090bf258a0ca736b8df602904d5006936d2c48@buzz.su3h7am.dev.br> Signed-off-by: Su3h7aM <c8f70f20aa73f6306c1d1558a429064283fa268dc73af38141257775357a277a@buzz.su3h7am.dev.br>
Co-authored-by: Su3h7aM <c8f70f20aa73f6306c1d1558a429064283fa268dc73af38141257775357a277a@buzz.su3h7am.dev.br> Co-authored-by: Nika <1587d7d344569e0d95b8ba7bafa24fba72a52236b7294a7d44c87df0ee212725@buzz.su3h7am.dev.br> Co-authored-by: Fizz <855cded2e5312f3b3b024d298f090bf258a0ca736b8df602904d5006936d2c48@buzz.su3h7am.dev.br> Signed-off-by: Su3h7aM <c8f70f20aa73f6306c1d1558a429064283fa268dc73af38141257775357a277a@buzz.su3h7am.dev.br>
Co-authored-by: Su3h7aM <c8f70f20aa73f6306c1d1558a429064283fa268dc73af38141257775357a277a@buzz.su3h7am.dev.br> Co-authored-by: Nika <1587d7d344569e0d95b8ba7bafa24fba72a52236b7294a7d44c87df0ee212725@buzz.su3h7am.dev.br> Co-authored-by: Talos <31c5cf2ce7367022bc52b277f9466387a5b5cc512943bf3ae0005553364f7357@buzz.su3h7am.dev.br> Signed-off-by: Su3h7aM <c8f70f20aa73f6306c1d1558a429064283fa268dc73af38141257775357a277a@buzz.su3h7am.dev.br>
Co-authored-by: Su3h7aM <c8f70f20aa73f6306c1d1558a429064283fa268dc73af38141257775357a277a@buzz.su3h7am.dev.br> Co-authored-by: Nika <1587d7d344569e0d95b8ba7bafa24fba72a52236b7294a7d44c87df0ee212725@buzz.su3h7am.dev.br> Co-authored-by: Talos <31c5cf2ce7367022bc52b277f9466387a5b5cc512943bf3ae0005553364f7357@buzz.su3h7am.dev.br> Signed-off-by: Su3h7aM <c8f70f20aa73f6306c1d1558a429064283fa268dc73af38141257775357a277a@buzz.su3h7am.dev.br>
Su3h7aM
force-pushed
the
nika/projects-pierre-diff-renderer
branch
from
August 13, 2026 00:02
9f8e2f9 to
23ee123
Compare
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.
Summary
Replace the Projects hand-written diff renderer with the Pierre diff rendering stack while preserving Buzz review behavior, then stabilize PR and commit diff workspace geometry across wide, stacked, and narrow layouts.
The four reviewed commits are based directly on current upstream
main(c923e89a4b6d43ae0c507dbb5e58f2bdd9ab7888).Changes
@pierre/diffsand pure Buzz↔Pierre annotation mapping helpers for path, side, line, focused range, renderability, and patch-body accounting.ProjectDiffBodyadapter with Buzz theme integration, exact inline-comment anchors, focused selection, normalized unified patches, truncation handling, and readable fallback behavior.buzzandbuzz-darkthemes, PR geometry, commit geometry, exact selected paths/content, and fallback behavior.Validation
project-pr-review+project-commit-detail): 39/39 passed on final contentpnpm typecheck: clean on final contentcheck:px-textandcheck:pubkey-truncation: passed in the full stack gateReview state
main.