בקשת תכונה: תיוג כתובות URL של איחוד

סיכום מבוסס בינה מלאכותית

A feature request has been made by rik to support tag union URLs (“OR” logic) similar to existing tag intersection URLs (“AND” logic), enabling more flexible content filtering. sam confirms that while a workaround URL using ?tags[]=tag1&tags[]=tag2 currently works, a more intuitive UI and DSL (Domain Specific Language) for dynamic filtering is in development by tgxworld. Rik1 links to a related feature request for combining AND/OR logic in tag searches, emphasizing the need for precise content curation, especially for email digests. mattdm questions whether the workaround still functions, while mattdm elaborates on a real-world use case: merging two forums and needing to view related tags (e.g., #desktop and #desktop-team) together in one list — a scenario currently unsupported but potentially solved by the upcoming DSL. The team intends to address this through a unified, user-friendly filtering system that may also extend to notifications.

Feature request for tag union URLs

I found out today it’s possible to intersect tags by putting “intersection” in the URL (in addition to the Advanced search URL for this), for example:

websiteURL/tags/intersection/support/bluetooth

I’ve understood this is not possible for tag unions, so that combine with “OR”.

Therefore, hereby a feature request to make what is already possible for interventions also possible for tag unions.

3 לייקים

This URL works at the moment:

https://meta.discourse.org/?tags[]=pr-welcome&tags[]=official

Long term we plan to expose a UI for this kind of filtering.

5 לייקים

Dear @sam , thanks for the reply. May I also point your attention to this feature request ? This, in combination with the “intersection” possibilities of this post, and some UI for all of this, would generate the forum possibilities we need for being able to offer our users precisely the content they want to see / receive in their email weekly.

I think that doesn’t work anymore? It’d be nice if it did.

@tgxworld is working on a very cool new concept for dynamically filtering topic lists:

We intent to capture this very use case with our DSL.

AFAIK the ninja URL stuff still works, but will be far more intuitive under the new pattern.

4 לייקים

Awesome — looking forward to it. The situation I’m looking at is probably[1] something I’ve inflicted on myself, but: we’ve just merged our user support and project development forums into one site. People want to be able to follow tags in one or the other of these areas[2], or both.

There could be some fancy way to deal with this — for example, if category mute could override tag watching, or if there were some way to have complex rules for watching[3].

But the simple way is to create different tags: #desktop-team in a tag group limited to Project Discussion, and #desktop for Ask Fedora. Works fine for notifications — watch the one you want, or both. But now there’s no way to see them both in one listing.[4]

An easy way to see #desktop and #desktop-team together would help (we’re already using Discourse Tag Sidebars, so they could be linked together there).


  1. makin’ things up as I go along! ↩︎

  2. categories, in fact ↩︎

  3. this new DSL applied to notifications as well as lists? ↩︎

  4. which could be satisfyingly symmetrically elegant with a fancy solution ↩︎

לייק 1