[ / / / / / / / / ] [ b / n / boards ] [ operate / meta ] [ ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


New user? Start here ---> http://hydrusnetwork.github.io/hydrus/

File: 1431562018905.jpg (90.63 KB, 589x800, 589:800, 1195601901392.jpg)

 No.722

If I put tags A and B in the filter box it shows only things with A and B.

Is there a way to search for stuff with A *or* B? Is there something I'm not seeing here?

 No.728

File: 1431897517324.jpg (218.93 KB, 1108x1330, 554:665, 564b9816eed927118ecf641cab….jpg)

Not yet.

I am thinking about adding this–the maths isn't difficult–but I am not sure how to arrange the gui elements for it.

How would you like to enter (A or B)? I mean in a nuts-and-bolts, exactly what button presses you hit, and how it displays on screen. Everything is currently based around simple predicates, and I just haven't thought enough about complex ones to know what I should be aiming for.

I have thought about saying that Shift+Enter on a tag means 'start an OR chain' and an Enter on its own means 'finish the chain'. What do you think?


 No.731

>>728

You could try adding a "system:OR open" and "system:OR close" tag that function by 'or' chaining the tags between them. Maybe even a step further and just add a “system:logic (AND|OR|XOR|etc.) open/close” for all the binary operators (I’m sure someone will find a use for p -> q).

You would need to redesign the tag search though. A drag and drop feature to reorder the tags with indenting for open/close tags should be enough for the gui. I don’t know how the program currently creates the queries, but to change it to include nesting shouldn’t be too difficult. You would want to check the tag search for syntax errors before creating the query, but that should be simple.


 No.740

>>731

I like the idea of drag and drop reorder/boolean operators. Also, I like the idea of being able to just enter a complex search as text, as an alternative to using the autocompleter - so, I could just type ((A AND B) OR (D AND C)) AND NOT E, including the parentheses, and it'd work. Plus since Hydrus doesn't use uppercase in tags, if you make people have to type uppercase for boolean operators you don't have to worry about people being dumb and tagging things with the word "and".


 No.744

How about allowing OR operators on one line in the existing filter window?

That way each new line is AND, but each individual line is OR. Like this:

SEARCH:

title:my first book OR title:my second book

creator:some author

This search would show both books by that author.

Until you get around to doing a full-fledged system for boolean operations, this would take care of every search case I can think of needing.


 No.745

>>744

Functionally, for this, if I already had title:my first book in the search window and I right click it and pick "OR tag", then it shows a floating tag search window where I can search for title:my second book.

Or maybe you want to go for broke and revamp the search window to do parentheses and fancy boolean equation notation? Maybe when you want to enter a tag, do either a right click or a hotkey that brings up the floating tag search window so you can find the tag and it will be entered into the boolean equation?


 No.746

>>745

Someone somewhere could really make a lot of money with a simple GUI mockup system on the web, so non-technical people could demonstrate what they expect their interfaces to do and coders could see it.


 No.773

File: 1433297493175.jpg (260.34 KB, 1011x1381, 1011:1381, b34384b5cb2a3cc219f139e47e….jpg)

I appreciate the thoughts in this thread. I will think about it a bit and make a prototype in the coming weeks.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / ] [ b / n / boards ] [ operate / meta ] [ ]