Page MenuHomePhabricator

Define custom sort order for panel results.
Closed, ResolvedPublic

Description

At may company we started using Phabricator as a tool mainly for our wiki, to have an overview of our employees and keep our git repositories. So I want to make the default homepage for all (new) employess reflect that (especially the wiki part as every employ will be using that). I created a custom dashboard with a few panels and set that as the default homepage.

The problem now, is that one of the panel that shows some wiki entries only shows them alphabetically ordered (limited by me to 6). Which is not very useful as you just see 6 'random' pages, where-as it would be much more useful if I either could define myself which 6 pages would be displayed (e.g. to make it easy for new people to find our 'New employee onboarding' wiki entry) or at the very least to be able to choose the sorting by last edited date, as if someone works on a document it is very likely to be useful for other people in our company as well.

Not sure if that is on any roadmap already, but could not find a ticket for this.

Event Timeline

epriestley changed the task status from Duplicate to Resolved.Mar 14 2017, 1:49 PM
epriestley added a subscriber: epriestley.

To define 6 pages yourself: use a text panel, then link to 6 pages in the text. For example, you might use text like this:

[[ page1 ]]
[[ page2 ]]
[[ page3 ]]
[[ page4 ]]
[[ page5 ]]
[[ page6 ]]

...or you could use text like this:

Welcome to our install! To get started, see [[ getting started ]]. ...

This is how the "Welcome" panel on the home page for this install is constructed.


To define a query panel which shows recently-created pages, do this:

  • In Phriction, run a query for active documents ordered by "Creation (Newest First)".
  • Verify that it produces the results you expect.
  • Save the query, using any name.
  • Create a new dashboard panel which displays results from the query you just saved.
  • (Optionally, you can now delete the saved query: it is no longer required now that the dashboard panel uses it.)

You can use any saved search query in Dashboards, the trick is you need to go build and save the query first. You don't construct it in Dashboards.