GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(native): restore PR and diff parity for DF-PANEL, PR-PAGE, PR-DETAIL by rynfar · Pull Request #450 · rynfar/t3code

Conversation

@rynfar

@rynfar rynfar commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Part of #444

Ports upstream Pull Request & Diff deltas (4121b30f78..80cf4f7945) into apps/native and updates DF-PANEL, PR-PAGE, and PR-DETAIL in apps/native/parity/LEDGER.md to done.

Summary

  • Saved named PR filter views (pingdotgg/t3code#29387): Added t3_core::pull_requests::saved_views (reusing t3_core::issues::saved_views read-only) and wired the Views toolbar dropdown + save/rename modal in crates/app/src/pull_requests/{page.rs, toolbar.rs}, preserving merge_method and selected PR across view switches.
  • On-demand oversized PR diffs & GitHub-style Viewed folding (pingdotgg/t3code#37007, pingdotgg/t3code#37605, pingdotgg/t3code#39213):
    • Ported pullRequestDiffHttp.ts credential-rejection error mapping in crates/client/src/pull_requests.rs.
    • Ported pullRequestDiffFold.ts, diffCollapse.ts, and diffCutLines.ts in crates/core/src/diff/fold.rs.
    • Wired omitted_file_stats, withheld_files_readable, on-demand per-path diff loading (POST /api/pull-requests/diff), withheld-file banners, styled cut-line truncation notes, hunk-expansion suppression on cut lines, Viewed auto-folding that preserves explicit reader opens, and hidden-test fold preservation across Collapse All.
  • PR page & detail parity:
    • Batch-on-close label & reviewer pickers (pingdotgg/t3code#37733) with SelectionDraft and <=25-item chunked writes.
    • Cross-server PR URL deduplication & unreachable-environment assignment cost (pingdotgg/t3code#37704, pingdotgg/t3code#34088), plus numeric search title fallback (pingdotgg/t3code#33692).
    • Optimistic immediate title/label/reviewer paint (pingdotgg/t3code#32774), Code-tab diff hover prefetch & linked-PR hover-intent prefetch (pingdotgg/t3code#32842, pingdotgg/t3code#32911), and reaction failure sequence guard (pingdotgg/t3code#37853).
    • Whole single-comment and GitHub review line-comment Add-to-chat (pingdotgg/t3code#38113, pingdotgg/t3code#38276).
    • GitLab Rapid Diffs & removed-line anchor resolution (pingdotgg/t3code#34662).
    • Settled/archived/subagent thread PR watch guard (pingdotgg/t3code#29867).
    • Guide tab "Also in this stop" inline diff expansion + inline review commenting (pingdotgg/t3code#38858) and stale diff clearing on rewritten head_sha (pingdotgg/t3code#37864).
  • Diff panel & file tree parity:
    • Pre-patch added/deleted changeType preservation (pingdotgg/t3code#33310), POSIX backslash path handling (pingdotgg/t3code#23167), tool-call subfolder workspace resolution (pingdotgg/t3code#32684), trailing-space file reveal preservation (pingdotgg/t3code#37879), and Windows clipboard path formatting (pingdotgg/t3code#30394).

Verification

  • CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-core — 1808 unit + 8 conformance passed, 0 failed
  • CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-client — 162 passed, 0 failed
  • T3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-native — 196 passed, 0 failed
  • CARGO_INCREMENTAL=0 cargo check --manifest-path apps/native/Cargo.toml --tests -p t3-core -p t3-client -p t3-native — clean, 0 warnings
  • vp fmt --check apps/native/parity/LEDGER.md — passed
  • node apps/native/scripts/gen-theme.ts --check — up to date
  • node apps/native/conformance/generate.ts --check — passed
  • node --test apps/native/parity/sync.test.ts — 47/47 passed

Implemented by Antigravity.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
rynfar added 3 commits November 19, 2026 16:15
@rynfar
feat(native): restore PR and diff parity for DF-PANEL, PR-PAGE, PR-DE…
b574ba6
…TAIL
@rynfar
fix(native): address PR #450 review findings (fleet PR dedupe, rollba…
91d4ca0
…ck, clippy)

Addresses all 5 blocking findings from PR #450 review:
- Fix clippy warnings across workspace (`--all-targets -- -D warnings`): `is_multiple_of(3)` in `diff/fold.rs`, `CodeTabInit`, `LoadWithheldCallback`, `FleetInventory`, and `.flatten().flatten()` in `detail.rs`.
- Wire multi-environment fleet PR queries, unreachable-environment failover (`pingdotgg#34088`), and cross-server URL deduplication (`pingdotgg#37704`) into `PullRequestsPage`, with GPUI test coverage.
- Synchronously roll back optimistic batch label and reviewer mutations (and `Held` cache) on write failure before follow-up refresh.
- Clear sticky `DiffPanel::revealed_path` across external PR, connection, thread, and scope switches.
- Add Forgejo/Gitea `/pulls/` anchor routing (`pingdotgg#37703`) and pinned-first project filter ordering (`pingdotgg#29871`).
@rynfar
fix(native): route multi-env PR follow-ups, per-env cursors, and zero…
6e541dc
…-slice fallback

Addresses all 3 blocking findings from PR #450 re-review (`pingdotgg#826`):
1. Preserve owning `environment_id` in `merge_fleet_list_results` (`entry_environments`) and route all PR follow-up reads, writes, HTTP diff fetches, and streams (`DetailView`, `CodeTab`, `GuideTab`, `LinkPreviewController`, `mutations`, `fetch_stats`, `fetch_options`, `refresh_from_host`, `ensure_row_stack`, `run_intent_prefetch`, `quick_action`) through `connections.destination(owner, ...)`. Gate `PullRequestsPage::sync` and `follow_refreshes` on fleet connectivity when fleet environments are present.
2. Track per-environment pagination cursors (`next_cursors_by_env`) and `truncated_envs` so `load_more` sends each server only its own cursors and skips servers with no remaining cursor or regrowth.
3. Prevent `fetch()` in fleet mode from falling through to the active `client_handle()` when zero fleet slices are dispatched (e.g. scoping to a project on an offline environment), and recover transiently errored fleet environments on reconnect, explicit Retry, or TTL expiry.
@rynfar
rynfar merged commit 84d4176 into native Nov 20, 2026
@rynfar
rynfar deleted the feat/native-pr-diff-parity-444 branch November 20, 2026 00:18
This was referenced Nov 20, 2026
parity(sidebar,thread,transcript,pr,diff): PR saved views/on-demand diffs/Viewed fold, diff pre-patch tree, sidebar glimmer/undo & MCP PR/CI tools (PR-*, DF-*, SB-*, TV-*, TR-*) #444
Closed
Factory status #13
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rynfar
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.