Repository navigation
feat(native): port Files PDF/Office/Cmd+F and Device hub parity (PN-FILES, PN-DEVICE) - #455
Merged
Merged
Conversation
… device reconnect, and ledger
rynfar
force-pushed
the
nw/g3-files-device
branch
from
November 20, 2026 02:27
7ab2ddf to
684bceb
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.
Ports the
#390File/Search and Device deltas and advances#249parity acrossPN-FILESandPN-DEVICEinapps/native, clearing#390and stale closed#235fromapps/native/parity/LEDGER.md.Part of #390
Part of #249
What changed
PN-FILES:pingdotgg/t3code#33956): Addedcrates/core/src/files/pdf.rsandcrates/app/src/files/pdf.rswith bounded workspace asset download, macOS CoreGraphics/PDFKit rasterization, single-parsePdfScanSessionwrapped inobjc2::rc::autoreleasepoolfor progressive first-hit Find, zoom/fit-width controls, saved viewport position LRU, and cross-platform pure-Rust fallback parser.pingdotgg/t3code#35548): Addedcrates/core/src/files/office.rsandcrates/app/src/files/office.rssupporting.xlsx/.odsspreadsheet grids with sheet tabs and interactive Excel-clamped (16..=1790col /16..=546row) track resize,.docx/.odt/.rtf/.epubdocument previews, and.pptx/.odpslide previews, plus PDF & Office icons incrates/app/src/palette/files.rs.Cmd+F/preview.find& focus routing (pingdotgg/t3code#34346,pingdotgg/t3code#34360): Added.key_context("Preview")onFilesPanel(crates/app/src/files/mod.rs) andPreview(crates/app/src/files/preview.rs) so default and user-customizedpreview.findbindings route cleanly without hardcodedsecondary-foverrides; opening a file focuses its preview/editor, read-onlyCodeViewopens an in-file Find bar (clearingfind_inputon close), and non-searchable previews propagatepreview.findtoFilesPanelto fall back to explorer search.MetadataCache(crates/core/src/files/metadata.rs) already retains positive hits per thread and expires misses (pingdotgg/t3code#30606).PN-DEVICE:pingdotgg/t3code#35994): Verified WebSocket close4001stops reconnect retries with the lease-end reason incrates/core/src/device/stream.rsandcrates/client/src/device_stream.rs(AVCC lease-end frame remains listed underNot yet:alongside H.264/WebRTC decoding).AgentSessionTracker(crates/core/src/device.rs) and wired agent-opened right-panel device tabs (crates/app/src/device/mod.rs), added device hub endpoints incrates/core/src/device/hub.rsandcrates/client/src/device_stream.rs(AX tree, iOS foreground SSE, iOS event log SSE, Android fold posture), wired them intoDeviceScreen/DeviceScreen::render_tools(crates/app/src/device/screen.rs,screen/tools.rs) withAppEvent::Phaseconnection-change state reset and Android Back/Recents rail buttons.Ledger (
apps/native/parity/LEDGER.md): UpdatedPN-FILESandPN-DEVICErows only (removed#390and stale closed#235; keptpartial | #249with exact remaining gaps).Verification
vp fmt --check apps/native/parity/LEDGER.md: passnode apps/native/scripts/gen-theme.ts --check:tokens.rsup to datenode apps/native/conformance/generate.ts --check: passnode --test apps/native/parity/sync.test.ts: 47 passed, 0 failedCARGO_INCREMENTAL=0 cargo clippy --manifest-path apps/native/Cargo.toml --workspace --all-targets -- -D warnings: 0 warnings, 0 errorsT3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-core -p t3-client -- --test-threads=1:t3-core1837 passed +conformance8 passed,t3-client163 passed (0 failed)T3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-native -- --test-threads=1: 205 passed, 0 failedT3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-native --features snapshot -- files::tests --test-threads=1: 7 passed, 0 failed (440 filtered out)CARGO_INCREMENTAL=0 cargo build --manifest-path apps/native/Cargo.toml -p t3-native: finished dev buildBuilt with Antigravity (
g3-files-device).