vass: A sepia-toned line-drawing of a man in naval uniform dancing a hornpipe, his crotch prominent (Default)
Vass ([personal profile] vass) wrote in [site community profile] dw_suggestions2014-02-21 01:57 am

Filter entries by tags AND security level

Title:
Filter entries by tags AND security level

Area:
tags, access filters

Summary:
It would be great to have a straightforward way to filter someone's current entries by both tags and security level, at the same time.

Description:
Currently, you can filter someone's entry by tag, e.g. user.dreamwidth.org/tag/banana would display all User's entries tagged 'banana' .

You can also filter it by security level, e.g. user.dreamwidth.org/security/public . This would display all User's current public entries.

But there is no obvious way (AFAIK - please correct me if I'm wrong) to do both at once, e.g. if you could use user.dreamwidth.org/security/public/tag/banana to display all User's current public entries tagged 'banana'. And some people have hundreds of entries per tag, so checking all by hand might not be practical.

This would be useful for if you need to quickly check if something a person told you is public knowledge before running your mouth about it in your own journal ("Looks like User's banana posts are all access-locked. I'd better ask them first before posting publicly about meeting them at the banana festival!") or, potentially, for checking your own security levels ("I try to make sure my posts on lutefisk are in an opt-in access group for my fellow lutefisk enthusiasts, but I think I might have forgotten to filter a few. Let me just check user.dreamwidth.org/security/access/tag/lutefisk and the same for security/public/tag/lutefisk to make sure of that.")

Potential drawbacks:
- it might hit the database too hard? IDK.
- people have custom security groups with / in the title, and people have tags with / in the title, and this would make it more difficult to form a URL, not matter whether it's /security/level/tag/tagname, or /tag/tagname/security/level.

Poll #15786 Filter entries by tags AND security level
Open to: Registered Users, detailed results viewable to: All, participants: 36


This suggestion:

View Answers

Should be implemented as-is.
15 (41.7%)

Should be implemented with changes. (please comment)
5 (13.9%)

Shouldn't be implemented.
0 (0.0%)

(I have no opinion)
15 (41.7%)

(Other: please comment)
1 (2.8%)

chagrined: Marvel comics: zombie!Spider-Man, holding playing cards, saying "Brains?" (brains?)

[personal profile] chagrined 2014-08-09 06:29 pm (UTC)(link)
it is already possible

example: tag/picspam?security=public
chagrined: Marvel comics: zombie!Spider-Man, holding playing cards, saying "Brains?" (brains?)

[personal profile] chagrined 2014-08-09 07:50 pm (UTC)(link)
np :)

I like azz's idea below too it is more user-friendly than having to type it in

you can already search for two tags at a time also but I'm on my phone and don't remember the syntax for that ottomh, I can look it up l8r if u want. I think it is limited to only 2 right now tho. but still handy.

eta: nm found it in faq it's tag/tag1name,tag2name?mode=MODE

and where I wrote MODE put either "or" or "and" (and gives only posts with both tags)

iirc can stack with security level filtering too I think

/tag/tagA,tagB?mode=and&security=private
Edited 2014-08-09 19:58 (UTC)
azurelunatic: Azz and best friend grabbing each other's noses.  (Default)

[personal profile] azurelunatic 2014-08-09 06:46 pm (UTC)(link)
I would like this with the addition of some sort of query builder, which would:

Display all the tags in some sort of sensible, sortable fashion
Take into account corner cases like me (who has a bajillionty tags, imported from LJ -- I swear I'm trimming them down, but it's slow!)
Display all the security levels in a way that takes into account who you are and what you can see (for my own account, I'd see public, access, private, and all the filters; for an account where I'm in the circle, I'd see public and access, and access would silently include filters I'm on; for a community where I'm admin: public, access, admins; community member: public, access; non-circled: public)
Let you select or type in the elements you want to include, in the way you want to include them.
Allow full Boolean logic.
Spit out the query when you hit go.


I'm actually slightly against having the output be URL-based simply because a full Boolean query with an arbitrary number of arguments could possibly exceed the allowable URL length.

Apply appropriate account-based restrictions in order to protect performance. (Because I expect this might be one hungry search.)
susanreads: my avatar, a white woman with brown hair and glasses (Default)

[personal profile] susanreads 2014-08-09 09:04 pm (UTC)(link)
+1

[personal profile] swaldman 2014-08-10 11:22 am (UTC)(link)
Agreed, with the slight modification that rather than a query builder with lots of mouse selections and so forth, I'd favour a search box in the style of gmail. So for instance, you might type "tag:banana security:public" as text. Booleans allowed, etc - all combined with the current full text search that paid members get.

Whatever the UI, I suspect this is a fairly major RFE, and I don't know what the database implications might be, but it'd definitely be nice to have.
kaberett: Overlaid Mars & Venus symbols, with Swiss Army knife tools at other positions around the central circle. (Default)

[personal profile] kaberett 2014-08-10 03:03 pm (UTC)(link)
+1
arethinn: glowing green spiral (Default)

[personal profile] arethinn 2014-08-12 12:46 am (UTC)(link)
+1