Looking for testers! Really cool account switcher & page URLS with the instance to share posts on Alexandrite easy!
EDIT: This is now released on the main site, enjoy!
Original post:
I've got some big stuff I'm planning on releasing either later tonight or tomorrow, and I wanted some testers if anyone's willing! The link is at the end of the post.
The instance you're browsing is now in the page url, so if you're logged in on lemmy.world, you'll be (once released) on https://alexandrite.app/lemmy.world/.... Now you can share links directly to Alexandrite to friends and they can view it without needing to set a home instance anymore.
But the real cool feature is a new account switcher! This lets you switch between all of your accounts on the instance you're browsing! You can also set a default account to use for that instance. Now you could be logged in on multiple accounts across multiple instances just in different browser tabs if you wanted.
Two clicks to switch which instance you're using (based on what accounts you have)
If you have accounts on more than one instance you can pick which instance you see by default when you go to https://alexandrite.app with no instance in the url, or chose to login on any of the accounts you've signed in as.
You'll need to login again because it's a new url, but I wrote some code to migrate to the new way I'm handling accounts so you won't be logged out when this is all released.
I have 5 accounts:
1 user at endlesstalk.org (my main one)
1 user at feddit.nl (for moderating)
1 user at lemmy.world (not sure why)
1 bot at lemmynsfw.com
1 bot at feddit.nl
I've logged into them all and switched around without issue. I can flip between the user accounts at different instances, and the user/bot accounts at feddit.nl
That was when I was logged in as tcbot@feddit.nl and clicked the big "Alexandrite" in the top left - the content shown is correct, but the url says 'https://profiles.alexandrite.pages.dev/endlesstalk.org'
Yep I was fully expecting the hue question, was waiting to see what people asked for just in case people really wanted it to be the same for all accounts. Once I implement more of the theme options I've been thinking of adding I'll do it then.
When I switch account, a red rectangle error message appears in the top-right syaing "Network Error". It's very short lived and doesn't seem to be accompanied by any actual errors or problems.
Yeah I haven't been able to figure out why that happens. For some reason when you switch it tries reloading some data about the instance and because it's navigating away it just gets cancelled immediately and you see the error popup. I'll try and figure out what's causing that before I release.
That seems to work really well. I logged in as a few of my accounts and was able to navigate around, interact with content etc. Confirmed that profile information is isolated and doesn't spill over between them.
I'd second the above request for different hues per account, just to make it more obvious which one you're looking at. Otherwise, this will be an awesome addition that will make lemmy.world's regular afternoon breaks more bearable ;)
If you didn't see the other announcement this feature is now live on the main site, just in case you tried using the test version! I'll update the post.