portal 2026-07-16

I have a string values that are valid hyperlinks. In inspector viewer, is there a way to click on the link to open it in default browser? I know i can run (browse v) on a value, but is there a no-fuss way to invoke?

I’m assuming the lowest friction is: 1. register a browse fn in the portal helper fns, with an optional hotkey . 2. create a calva repl command that uses the var symbol for selected portal value, which could have it’s own hotkey (I’m on vscode Calva) In the calva repl output i can cmd-click on links (but those values are often truncated)

One thing I’m running into is that when I use and inspector viewer, nested values default to the pprint viewer. Is there a way to enforce the inspector view as i drill down?

Portal will check if a string is a url string, https://github.com/djblue/portal/blob/master/src/portal/ui/inspector.cljs#L823-L824 and make it a link. Is this not working for you?

that helper is just sugar for clear, then tap with inspector viewer

Does cmd+click do anything?

No, it just works like a normal click.

Ohh, it looks like I'm also running into the same issue: Blocked opening '' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.. I'll see about improving opening links from the vscode extension. Would you expect the link to open in your default browser?

Yes. Like (browse) in clj. I could use custom commands if i need different behavior.