this post was submitted on 02 Jul 2025
38 points (97.5% liked)

Lemmy

13586 readers
12 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 5 years ago
MODERATORS
 

In a recent discussion it was mentioned that the search function in Lemmy is awkward to use and could be improved. As a result I already made two small changes:

  • Change community selector to use [!community@example.com](/c/community@example.com) format (#3218)
  • Search field in community sidebar (#3217)

Are there any other UI or UX changes you can think of to improve searching in Lemmy? Im mainly looking for frontend changes, such as reorganizing the input positions, changing default values etc.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] who@feddit.org 2 points 2 days ago* (last edited 2 days ago) (1 children)

One thing that would be helpful about not using drop-down boxes for static options: Fewer clicks required to set up a search. Each of the drop-down boxes in use now requires the user to:

  • Read the text on the drop-down box to decide whether it's relevant
  • Move the mouse to the drop-down box
  • Click to open it
  • Read the options within
  • Move the mouse to the best fitting option
  • Click to choose the option

The first drop-down box (search type) contains only five options, which could be replaced by buttons like the existing Subscribed/Local/All buttons. It would make discovering the available options easier because they would no longer be hidden behind a drop-down, and it would reduce the number of actions required of the user.

The second drop-down box (sort type / time frame) might be a good candidate for this change, too.

As for whether tabs would be a better choice than the button-style approach currently used by Subscribed/Local/All: I'm not sure right now, as I haven't had much time to consider it. But I think things would get messy and possibly confusing if more than one of these input elements were converted to tabs, because it would mean nesting tabs within tabs. On the other hand, using a row of buttons for each category would allow them to coexist neatly, fit the existing visual style, and avoid adding the complexity of another widget type for users to navigate.

[โ€“] Lazycog@sopuli.xyz 1 points 2 days ago

I had a look and determined I need bit more time for this all than just today (long work day and a lot of additional info + need to get into lemmy-ui codebase a bit).

You've got some good points there, thank you! I'm not a UI or UX expert but it's a bit of a challenge reducing the amount of clicks and still keeping it mobile friendly without creating a screen full of options with several scrolls needed to reach the actual search, but I agree the goal should be less-actions.

I think once I have a bit of a grasp on the project I'll try and submit my suggestion.