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.
Please let me know if you find any bugs!
This is incredibly impressive.
I have 5 accounts:
1 user atendlesstalk
(my main one)
1 user atfeddit.nl
(for moderating)
1 user atlemmy.world
(not sure why)
1 bot atlemmynsfw.com
1 bot atfeddit.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
The only thing I noticed:
bigger image if neededThat was when I was logged in as [email protected] 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'
Thanks!! I’m pretty excited about it.
Can you try it again? It should all be fixed now!
Yay! Fixed now.
Test reply to myself from lemmy.world
Quick test now … all looks good … awesome stuff!!
One minor feature request on this … one which I think you’ll at least understand (given what you’ve said before) …
Different hues for different accounts?
Otherwise … awesome … and the URLs too!
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.
Yea I totally figured you’d thought
ifof it already!!
One very minor issue I’ve noticed.
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.
I take it back, I took another look after remembering I had similar issues earlier and found the issue, should be fixed now!
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 ;)
Just tried swapping accounts and it worked beautifully! Awesome work!
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.