Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on No visible response when searching on mobile

Post

No visible response when searching on mobile

+1
−0

After searching from the search box at the top of each page, you are taken to a search results page. This has the search box with the current search term prepopulated, ready to modify and search again, followed by a filter section.

On mobile this fills all of the vertical space on the screen, so entering a new search term and pressing enter results in no change to the page (the results are all further down the page and require scrolling to see).

Mobile view of the search results page with only the search box and filter section showing This can give the impression that nothing has changed. How can this be improved?

Could the filters be put behind a drop down like they are on the posts lists pages? If the filter section closes when a search is performed or a filter applied, then the results list including the number of results will be visible, making clear that something has changed. This would also be consistent with the filter section on the posts lists page, which resets the section to hidden/closed on each page reload.

It might also help to make the formatting different for mobile. Currently the search results page is very spread out with lots of whitespace on mobile.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Fixed in the next deployment (1 comment)
collapsing the filter seems like a good idea (5 comments)
collapsing the filter seems like a good idea
Monica Cellio‭ wrote 10 months ago

Even on a desktop, it feels like there's a lot more stuff on the page before I get to the first search result. Expanding the filter shows how the search was built, which I assume is why it's open by default, but I've been wondering if it should start collapsed too. I hadn't realized it was also open on small screens.

trichoplax‭ wrote 10 months ago

To counteract the lack of information when the filter section is collapsed, we could show a filter summary when collapsed. On post lists, the collapsed filter section already says "Filters (none)" when no filters are applied, but simply "Filters ()" when there are filters applied.

Those empty parentheses could show a one line summary of the applied filters, which would remove the need for having the filter section expanded except when editing the filters.

Monica Cellio‭ wrote 10 months ago

Oh wait; the filter state doesn't reflect the search; it's the same empty starting point as on the category list. I think expanding it here is unintentional. Search can do things that filters can't, so on reflection, a filter can't be guaranteed to wholly reflect a search query.

trichoplax‭ wrote 10 months ago

That seems like a good reason to make the filters start collapsed, but they might still benefit from a summary in parentheses for after filters are applied.

This isn't really search specific though, so maybe I'll raise this for filters in general.

Monica Cellio‭ wrote 10 months ago

PR. Doing the simple thing now.