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

  • sheodox@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    sidebar to stay open after refresh

    If I made it start open if you have the “Keep navigation sidebar open” when you load the page would that be what you want, or should it actually remember if it was last open or closed?

    • Dave@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.

      • sheodox@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        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.