Hey all, I made a Firefox extension (signed by Mozilla) specifically to add Show/Hide Child Comments functionality similar to how RES had it (where the parent comment is still visible).

It’s not very useful, but I could use some feedback on tightening up the Javascript. I’m not a JS beginner, but I know I can do better, so any tips are welcome!

EDIT: Also, if anyone has any suggestions for the extension, I’m open to those as well.

  • cyberic@discuss.tchncs.de
    link
    fedilink
    arrow-up
    11
    ·
    3 months ago

    I really miss the RES feature of keyboard navigation (mainly j, k, to move between posts.) Thanks for making this!

      • towerful@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 months ago

        I haven’t tried this yet, but I’m excited for it’s potential.
        Having a bunch of RES-like enhancements with toggles, and the ability for users to (manually & anonymously, via a button) “submit” their preferences to a central database would be an awesome way to gather Lemmy user feedback on various upcoming features.
        This would give fantastic options for Lemmy developers to implement, popularity of features, and easy ways for users to choose what they want (as long as any permanent Lemmy implementations come with an enable/disable toggle)

    • kn0wmad1c@programming.devOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      Hey, just a heads up - I updated the extension to add some rudimentary keyboard navigation. Your j and k are there, and also you can use m to toggle the child comments for the selected comment.