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 »
Blog

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 Announcing filters

Post

Announcing filters

+8
−0

We've seen many requests over time for some way to customize what you see on the list of questions in a category – finding unanswered questions, hiding closed or low-scoring questions, or building more personalized views. You can use search for one-off queries, but until now you couldn't set a sticky rule that the site would remember for you. We put filters on our roadmap a while back and Moshi and Taeir took up the challenge. We're happy to announce that filters are now live.

You can think of a filter as a named, permanent search. In fact, filters are based on search. There are some built-in filters that you can choose, and you can also create new ones for yourself.

You'll find the filter control at the top of a category list:

screenshot

If you're currently using a filter you'll see its name there instead of "None". Expand the widget to get to the controls:

screenshot

From here you can choose a filter from the drop-down menu, or you can build your own: specify score ranges, number of answers (for questions), status (closed or open), and tags to include and exclude. Type a name into the text field and hit the Save button, and your new filter is now added to the list in the menu. Apply applies the filter to the category, and Clear resets the category view to the default (no filters). To make the filter permanent (until you change or clear it), check "Is default for this category?" – otherwise, it's a one-time filter until you refresh the page.

We don't yet have a way to copy filters to other categories or share them with other users. If you never want to see status-completed items on community Meta categories, you'll need to define it on each community. Our mantra for this feature all along has been "start simple, then expand". We were going to start with only predefined filters and add customization in a later round of changes, but our volunteer developers are awesome over-achievers.

I want to highlight the teamwork that went into this feature. Early on I sketched out some ideas of how filters could work – the easy part! – and community members told me what I got wrong suggested improvements. Moshi refined my scribbles into an interface that would work on phones and desktops without adding complexity, and got to work. With help from Sau226, Moshi pushed drafts to our development server so people on our Discord server could try it out and look for bugs. There was a lot of iterative development and ongoing code review, and then Moshi had an attack of life and had to pause work on the feature. Taeir picked it up, addressed the remaining review comments and some new ones, made some other improvements, and shepherded it through to completion. ArtOfCode approved, merged, and deployed it. Thank you to everyone who was part of this group effort!

Please report bugs or request improvements on Meta as usual. We even have a future placeholder on our roadmap for filters improvements we haven't thought of yet. Meanwhile, there's lots of other stuff we want to make better, too.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

2 comment threads

Make filters can be collapsed on search page? (2 comments)
Hide negative posts for new users? (3 comments)
Hide negative posts for new users?
Olin Lathrop‭ wrote over 1 year ago

Nice work. It looks like a filter can be built that only shows posts with 0 or positive score. That might be a good default for new users. It should give a better first impression.

Olin Lathrop‭ wrote over 1 year ago

I just realized that filters would need and option to show your own questions regardless of score (or other rules) to be the default for new users. Otherwise, if someone posts a question and it gets downvoted it will seem to have disappeared.

Monica Cellio‭ wrote over 1 year ago

Oh, good point about "always show my questions" -- didn't think of that. Thanks! (Now that we have this I want to be able to set a filter for viewers who aren't logged in, yes. We don't have that piece yet.)