Codespaces opens in web window
- Dominant language
- Swift
- Stars
- 6.9k
- Forks
- 746
- PR merge metrics
- No merged PRs in 30d
Description
### Checklist
- [X] Using latest version on the [App Store](http://itunes.apple.com/app/id1156707581)
- [X] Read the [docs](http://blink.sh/docs/)
- [X] Searched for [existing GitHub issues](https://github.com/blinksh/blink/issues)
### Configuration
Blink v16.0.4.644
GitHub Codespaces extension 1.13.5
iPadOS 16.2 (20C65)
iPad Air (4th gen)
### Describe the bug
Opening a new or existing GitHub Codespace via UI in `code` opens the Codespace within a web window instead of via tunnel. Note: GitHub remote repositories and vscode-server tunnels both function as expected.
Steps to recreate:
1. Open blink, launch `code`
2. Have the GitHub Codespaces extension installed
3. On the remote tab, GitHub Codespaces, click "Create Codespace" button (or connect to existing codespace, or cmd-P -> "Codespaces: Connect to Codespace")
4. If required: login, select repo + branch, cores + memory
5. Toast appears "creating codespace..." on the bottom right
6. Blink prompt "The browser interrupted the opening of a new tab or window. Press 'Open' to open it anyway." with the URL of the Codespace "https://username-adjective-noun-hash.github.dev/"
7. Click "Open" (other options are Cancel and Learn More)
8. Web window opens with the Codespace and repo loaded
Expected behavior:
Expect local `code` to tunnel to remote, local UI to reflect the remote state, and the lower left corner to display ">< Codespaces"

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue through Blink's `code` command and the remote-tab GitHub Codespaces flow on the listed iPadOS configuration. Compare the browser-window result with the expected local tunnel behavior, including the lower-left `Codespaces` state; done means new and existing Codespaces open through the local UI rather than a web window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, swift, vscode
- Domain
- devtools, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100