The default phabricator homepage (PhabricatorHomeMainController) had some niceties around the handling of defaults. For example with dashbaords creating a panel with 'Unbreak Now!' tickets looks like:
Unbreak Now! Tasks (2)
or with no results
While the home page app will print
No "Unbreak Now!" Tasks: Nothing appears to be critically broken right now.
and move the results to the bottom. I liked the 'Unbreak Now!' behavior on the home page because it made the meaning of 'Unbreak Now!' culturally special, it is going to show up for everyone in the company. I credit that with rarely seeing 'Unbreak Now!' abused for "I think whatever I am working on is most important so you should drop what you are doing" cross-team requests, and such priority abuse tends to get shot down quickly. It's also nice that it gets out of the way when nothing is broken as just having a panel with 'Unbreak Now!' (or whatever) floating around is a bit unsightly and potentially confusing (what is broken?). Possible solutions include some combination of:
- Query panels (optionally?) hidden with no results
- Query panels move with no results (this is maybe super complicated/confusing?)
- Alt text to show when the panel has no results.