Repository navigation
Studio: Fix Copy preview link and Copy path failing in Safari - #9814
NilayYadav wants to merge 13 commits into
Conversation
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a6f1144a89
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
1 similar comment
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8f237779e2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Before/after UI evidencePinned head The scene clicks Copy preview link on a completed run in the History tab, in WebKit, on a Studio that reports a Cloudflare tunnel and answers
BEFORE the click spends 6.4s in The controls are the point of the second half of the fix: One limitation, stated plainly: Safari's actual clipboard denial does not reproduce under Playwright's WebKit — measured on this host, a write 9s after the click still resolves, in both the Studio origin and a bare page. So this pair proves the await that causes the denial is gone, not the denial itself. The behaviour under real Safari is unverified here.
|
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Confirmed the awaited network call before the clipboard write is gone in history-card-grid.tsx and gguf-download-card.tsx, and the evidence pair shows the tunnel URL is still what gets copied. This also adds a 15s /api/health poll in the History tab and a hover-armed path resolve that costs a full Hugging Face cache scan per settled pointer, on every browser; could you confirm what those cost on a large catalog before I review? |

Both buttons awaited a network call before copying. Safari only allows a clipboard write while the click is still live, so the copy was rejected and you got "Couldn't copy the link".
Copy preview link now builds the URL from the store and copies straight away. Copy path prefetches the path when the menu opens so the copy is the first thing the click does.