Page MenuHomePhabricator

Implement open() and closed() Maniphest tokenizer status functions, plus cleanup
ClosedPublic

Authored by epriestley on Apr 23 2015, 1:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 5:55 AM
Unknown Object (File)
Sat, Nov 23, 10:48 AM
Unknown Object (File)
Nov 19 2024, 3:02 PM
Unknown Object (File)
Nov 15 2024, 3:12 AM
Unknown Object (File)
Nov 14 2024, 9:01 PM
Unknown Object (File)
Nov 10 2024, 5:41 PM
Unknown Object (File)
Nov 7 2024, 3:48 PM
Unknown Object (File)
Oct 26 2024, 12:40 AM
Subscribers
Tokens
"Haypence" token, awarded by chad.

Details

Summary

Ref T4100.

  • Make it easy to choose all open or closed tasks.
  • Make "special" tokenizers composable.
  • Get viewer() generating documentation properly.
Test Plan
  • Ran queries with new tokens.
  • Browsed new tokens.
  • Viewed docs on new tokens.
  • Used plain status tokens.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Implement open() and closed() Maniphest tokenizer status functions, plus cleanup.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.

One minor thing is that the "open status" default icon (an unchecked box) looks kind of like a unicode error when shown in context:

Screen_Shot_2015-04-23_at_7.25.43_AM.png (103×467 px, 18 KB)

I don't know if that will bother anyone but me.

Also, how useful do you guys think min() and max() functions would be for priority? I'm inclined to wait for users to request them since they seem less clearly useful than open() and closed(), but if you'd definitely use them I can build them now.

For example, you could use min(normal) to select all tasks with priority normal or higher.

It's not something I would use day to day, but I could see its use in bigger companies (ones that highly customize priority levels).

I like min() and max() but wouldn't use them much here and can easily work around when I do.

btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 23 2015, 5:31 PM
This revision was automatically updated to reflect the committed changes.