-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditional hide task count
#2198
Comments
Hi @ilandikov, thanks for the suggestion. I think this would be useful. There have been various other suggestions to improve the limiting option, like indicating if the limit was exceeded at the bottom of the search. On the implementation, the existing Basically, both the I have some ideas about how to improve this, and had thought I might refactor it after the I'd be happy to use one of our pairing sessions to start exploring this refactoring and where it might go... |
I honestly don’t see the relationship with the limiting but yeah let’s explore that together =) |
Fair. Yeah, there's too much in my head to put everything down here... |
So, another comment that may be more obviously related: There also needs to be an abstraction for the show/hide commands, both to reduce the amount of edits needed when adding new ones, and to enable them to be mentioned in Am also happy to pair on this! |
oh yes! I had the same thought and ttried to refactor it by myself but didn't get anywhere |
See also #2380. |
🔖 Feature description
I often use the
hide task count
instruction to remove the useless information and shorten the Tasks output.However if no tasks are found with the request the
0 tasks
output is quite helpful instead of just -nothing-.✔️ Solution
I would like to have an option to hide the tasks count only if tasks were found, for example:
hide non-zero task count
- hide if task count > 0hide task count >0
- implement a mechanism similar tofilter by function
where the >0 is interpreted astaskCount >0
Please note these are vague examples, I'm open to any suggestions on how to word this instruction.
❓ Alternatives
No response
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: