phanpy icon indicating copy to clipboard operation
phanpy copied to clipboard

Feature request: permalink for loading Phanpy with a specific account selected

Open confluence opened this issue 9 months ago • 3 comments

Problem I have

I use Phanpy for a Mastodon account and a Pixelfed account. I have two copies of Phanpy open in two separate tabs all the time. Whenever I restart my browser and both tabs reload Phanpy, they both load the same default account, and I have to switch to the second account in the second browser tab manually.

Solution I'd like

It would be useful if Phanpy exposed URLs with an account parameter which would determine which account is select on load.

Alternatives considered

No response

Other

No response

confluence avatar Mar 06 '25 17:03 confluence

@confluence when your browser restarts, do the tabs have their own default URL configured or do they restore from previous session?

If restored from previous session, custom account parameter probably won't work… 🤔

cheeaun avatar Mar 07 '25 02:03 cheeaun

They restore from the previous session. My point is that they both have the same URL, https://phanpy.social/#/, which loads the default account. What I'm requesting is an optional GET parameter, e.g. https://phanpy.social/#/?account=@[email protected], or optional permanently displayed path, e.g. https://phanpy.social/#/account/@[email protected], or even https://phanpy.social/#/u/1/, which always loads the selected account. Then each tab would have a different URL which would load a different account. If there is already a way to do this, I'm not aware of it.

confluence avatar Mar 07 '25 12:03 confluence

Update: sometimes the second tab remembers the account on restart, and sometimes it doesn't. 🤔 Is the intended behaviour for it to remember?

confluence avatar Mar 08 '25 05:03 confluence