Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1b98d5b6f2
ℹ️ 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".
|
|
||
| async function openPathWithFallback(path, successMessage, fallbackMessage) { | ||
| try { | ||
| const response = await fetch(path, { method: 'HEAD' }); |
There was a problem hiding this comment.
Preserve user activation before opening CV tab
The cv/curriculo flow now awaits fetch(..., { method: 'HEAD' }) before calling window.open, so the popup is no longer tied to the original keypress/click activation. In browsers with popup blocking enabled, this causes the new tab to be blocked even when the target file exists, so users get a success message but no document opens. Open the tab synchronously (or pre-open and then navigate it) to keep this command reliable.
Useful? React with 👍 / 👎.
Codex generated this pull request, but encountered an unexpected error after generation. This is a placeholder PR message.
Codex Task