t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: iOS app does not open links in the browser

Open aacnsilva opened this issue 5 days ago • 7 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. Open a thread in the T3 Code iOS app.
  2. Have an assistant reply with an HTTP/HTTPS URL, for example a LAN dev-server URL (such as bolded or bare http://192.168.1.70:8787):
    It's up and verified (`200 OK`) at:
    
    **http://192.168.1.70:8787**
    
    (And locally on your Mac at `http://localhost:8787`.) Ready to test on your iPhone!
    
  3. Tap the link (http://192.168.1.70:8787) in the rendered message.

Expected behavior

Tapping a link in an assistant message in the iOS app should open it in the device's browser (Safari / default browser).

Actual behavior

Tapping the link in the iOS app does not open it in the browser.

Impact

Minor bug or occasional failure

Environment

T3 Code iOS app (iPhone)

Workaround

Copy the message or URL manually and paste it into Safari.

aacnsilva avatar Nov 26 '26 18:11 aacnsilva

@aacnsilva Which T3 Code iOS app version are you on (Settings → About), and when you tap the link does nothing at all happen, or does something else open (an in-app page, a menu, a text selection)?

juliusmarminge avatar Nov 26 '26 18:11 juliusmarminge

App version is 2.3.0. It opens text selection. Check the screenshot. image

aacnsilva avatar Nov 26 '26 18:11 aacnsilva

I would be happy to put a PR up for it if you'd like. To reproduce I think you can ask the agent to launch a dev env locally and make it accessible from the network so you can test on a mobile device, in my case I'm using wrangler (cloudflare) local deployment.

aacnsilva avatar Nov 26 '26 18:11 aacnsilva

@aacnsilva Does every link in a reply start a text selection when you tap it (for example a normal https://github.com link), or only this 192.168.1.70 address? And which iOS version is your iPhone on (Settings → General → About)?

juliusmarminge avatar Nov 26 '26 19:11 juliusmarminge

No, other links display correctly with a different style and clickable to open the browser. iOS 27.2

aacnsilva avatar Nov 26 '26 19:11 aacnsilva

looks like the agent responded with the link wrapped in a code block. ask it to give plain links and they should be clickable

will look into what we can do here

juliusmarminge avatar Nov 26 '26 19:11 juliusmarminge

Yes. Seems like it. Thanks.

aacnsilva avatar Nov 26 '26 20:11 aacnsilva