Page MenuHomePhorge

Add tooltip for "not" search token tag in Global Search results
ClosedPublic

Authored by aklapper on Tue, Jun 3, 09:35.

Details

Summary

These tags already use colors to differentiate. Use a tooltip for "NOT" query token tags like all the other types also do, because consistency.

Closes T16093

Test Plan
  1. Go to https://we.phorge.it/search/query/advanced/
  2. In the Query field, enter bleh =zsd +a NOT(x) "phrase like this" a -phasa ~amp title:fb "use meo" érr.
  3. Click Search button.
  4. Look at the tags shown for the string Searched For: ....
  5. See that only red tags also use a (minus) icon.
  6. Don't see a minus icon for the red token tag anymore, now get a tooltip for the red token tag.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

aklapper requested review of this revision.Tue, Jun 3, 09:35

I very much like the new tip,

but please let's keep that icon. That icon is self-explaining and it costs nothing, and it's great for people who are color blind I guess.

(If we love consistency, in the future we may add the same icon under PhutilSearchQueryCompiler::OPERATOR_ABSENT - but not removing from here plz pls ihih)

aklapper retitled this revision from Drop icon for "not" search token tag in Global Search results to Add tooltip for "not" search token tag in Global Search results.Tue, Jun 3, 10:57
aklapper edited the summary of this revision. (Show Details)
aklapper edited the test plan for this revision. (Show Details)
aklapper retitled this revision from Add tooltip for "not" search token tag in Global Search results to Drop icon for "not" search token tag in Global Search results.
aklapper edited the summary of this revision. (Show Details)
aklapper edited the test plan for this revision. (Show Details)

Put minus icon back in

This revision is now accepted and ready to land.Tue, Jun 3, 11:16
aklapper retitled this revision from Drop icon for "not" search token tag in Global Search results to Add tooltip for "not" search token tag in Global Search results.Tue, Jun 3, 11:43