this post was submitted on 17 Aug 2023
15 points (100.0% liked)

Alexandrite

340 readers
1 users here now

Alexandrite is a desktop-first alternative Lemmy client.

Find a bug or have a feature request? Create an issue on Github, or post here.

founded 1 year ago
MODERATORS
 

I've been loving Alexandrite, it's my go-to recommendation for Lemmy on desktop. Keep up the great work!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

I guess remembering the last setting would cover most use cases... people who wanted it open all the time would just need to open it once, but would also have the ability to dismiss it when needed and have that be remembered.

That would presumably mean that the setting should be something like "remember navigation sidebar state".

Alternatively, have the setting take three states: start closed, start open, remember last.

[–] [email protected] 2 points 1 year ago (1 children)

I just put in a change which:

  • when you enable that option in the settings, it will open the sidebar right away (or close it if you turn it off)
  • if that option is set, on page load it'll start with it open.

The monkey wrench in this whole thing is that the option doesn't exactly do what it sounds like. It toggles between two different styles for the sidebar, one (the default) which shows the sidebar as an overlay that closes when you click outside of it or navigate, and the second being a sidebar that actually takes up space in the page as basically another column and doesn't care if you click on anything.

I could make it just remember if it was open last too, that's totally doable, but I feel like automatically starting with it open is probably just as good.

Btw, I also just made links in markdown that link to external sites open in new tabs.

[–] [email protected] 2 points 1 year ago

Awesome! Both changes work great!