I run a contracting business, so I'm regularly using multiple different accounts for common services (eg. Google, Slack, Atlassian, etc.) Orion's profiles are immensely helpful, but "open external links in last active profile" doesn't seem to work, and I also need to switch accounts in the middle of the day too.
I'd love to be able to configure patterns (or regular expressions?) that will always be routed to a particular profile. Eg:
company1.atlassian.com/* → Always to "Company 1" profile
g.co/meet/com2-* → Always to "Company 2" profile
bsky.app/* → Always to "Personal" profile
How I'm imagining it:
I'd expect to go into the "Manage Profiles" screen, Edit one of my profiles, and be able to see a list of, and add, patterns that "Always route to this profile". They'd be numbered. There'd be no need to reorder them (they'd all route to the same profile, even if two matched the same URL), but perhaps reordering would be allowed just for peace of mind.
I'd expect that, if there were conflicting patterns, the pattern in the profile at the top of the list of profiles would take precedence over those in other profiles.
I'd enjoy seeing a text box at the bottom of the "Manage Profiles" page that says "Test the routing of a URL"; next to this would be a box showing the colour & name of the profile that this URL would be routed to, and the rule number that triggered it. eg. "🔴 Company 1 (Rule 3)", "🔄 Last active profile (No rule)" (if that setting is enabled), or "🟢 Personal — Default profile (No rule)".
I'd expect my patterns to match anything in the URL bar (excluding the URL scheme), so *ps* would match:
- ✅ https:// cyclops .com
- ❌ https:// example .com (despite https)
- ✅ http:// cyclops .org
- ✅ https:// example .com/cyclops.html
- ✅ https:// example .com/creature?name=cyclops
- ✅ https:// example .com/creature.html#cyclops
(Ignore spaces in the domain; they stop formatting breaking 😊)