ui: Add 'Share to GDrive' UX - #7189
Draft
stevegolton wants to merge 1 commit into
Draft
Conversation
stevegolton
marked this pull request as draft
August 24, 2026 09:49
🎨 Perfetto UI Builds
|
stevegolton
force-pushed
the
dev/sg/google-drive-share
branch
from
August 24, 2026 10:25
8c4e6c8 to
ac65031
Compare
Build on the Google Drive client to let internal users upload and share the currently loaded trace to Google Drive. - Add a 'Share to GDrive' sidebar button (gated to internal users) that opens a modal with a ShareForm. - Add ShareForm (presentation-only, driven by callbacks) with an upload form and an already-uploaded success state (open in Drive / copy link / share), plus its styles. - Extend the GDrive client with uploadFile, pickFolder and openSharingDialog, and track each trace's uploaded file id so the form can show the already-uploaded state. - Support opening a trace from a ?openFileId= share link (generated by the ShareForm), reusing the same authenticate-then-open flow as the "Open with" deep link. - Store the trace file size in a dedicated TraceInfo field (fileSizeBytes) instead of baking it into the title, and surface it in the sidebar.
stevegolton
force-pushed
the
dev/sg/google-drive-share
branch
from
August 24, 2026 11:22
ac65031 to
93a4689
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.
No description provided.