Page MenuHomePhabricator

Improve panel queries to support multiple conditions
Closed, InvalidPublic

Description

Dashboard can be a powerful synthetic view for manager and multi-project owners.

Right now if you add a panel with a query on commits you will see all the commits from all the repository, this is uneasy to read at least :)

An option like is/is not of the advanced research or the custom policy for visibility could help a lot by allowing panels to be limited to a specific project-tagged commits or repository/package related commits.

Such behavior should also be useful for panels for countdown/legalpad for example.

Example of dashboard with panel by projects for quick project advance reviewing.

Phabricator_panel_by_projects.JPG (526×1 px, 120 KB)

Thanks for the lots of works you are doing here :)

Event Timeline

MatthieuPERIN raised the priority of this task from to Needs Triage.
MatthieuPERIN updated the task description. (Show Details)
MatthieuPERIN added a project: Dashboards.
MatthieuPERIN added a subscriber: MatthieuPERIN.
joshuaspence renamed this task from Improuve the query in the Dashboard panels by adding restriction over users, project and repository to Improve the query in the Dashboard panels by adding restriction over users, project and repository.Jul 24 2014, 12:59 PM
joshuaspence updated the task description. (Show Details)

I believe what the original poster is asking for is a condition filtering system for panel queries. Something similar to how Herald rules are setup so that multiple conditions have to be passed for results to show up. At the moment panels can just show all the results from a selection but this could be used to setup a panel that's main query is subscribed tasks but then further filters it down to only include open tasks.

jdloft renamed this task from Improve the query in the Dashboard panels by adding restriction over users, project and repository to Improve panel queries to support multiple conditions.Mar 11 2015, 2:30 AM
epriestley claimed this task.

I don't understand what this is asking for. You can build a panel which shows open tasks you are subscribed to like this:

Screen Shot 2015-05-04 at 8.15.44 AM.png (111×777 px, 16 KB)

Any query you can execute can be converted into a dashboard panel. If query filters are missing, file separate tasks for those (but, e.g., see T2628 for projects).

@epriestley Do you have documentation in Diviner on custom queries? I had no idea that custom queries could be this flexible.

We have this; I'm not sure if it's helpful or not (not much specifically about search filters):

https://secure.phabricator.com/book/phabricator/article/search/