voyager icon indicating copy to clipboard operation
voyager copied to clipboard

Hold account button on nav bar to bring up accounts

Open gregside opened this issue 1 year ago • 3 comments

A feature that Apollo has that allows for a more seamless way to switch accounts. The current flow is to go to user profile page and then click accounts in the top left.

gregside avatar Jun 30 '23 05:06 gregside

Good idea! I didn't even know about that.

aeharding avatar Jun 30 '23 06:06 aeharding

this gets difficult while in the comments/post view. One major advantage of this account switcher in Apollo was that you could switch accounts while viewing a post to comment from a different account. But this isn't easy in Lemmy because the same post has different ids in different instances

https://wefwef.app/posts/lemmy.ml/c/cricket/comments/46834 https://wefwef.app/posts/lemmy.world/c/[email protected]/comments/87542

these are both the same posts viewed through different instances. Fetching data for 46834 while in lemmy.world may fetch a completely different post or simply fail.

Not sure how to proceed with this. I can maybe redirect the user to Home or Profile.

rahulakrishna avatar Jun 30 '23 20:06 rahulakrishna

The app should currently reset the tab view if instances changes. So it should work fine. But as you said, you will loose your spot.

A future enhancement could try to resolve the remote post to get its ID.

aeharding avatar Jun 30 '23 20:06 aeharding