Page MenuHomePhabricator

Archiving pastes
Closed, ResolvedPublic

Description

Purely for housekeeping purposes, I would like to be able to archive Pastes.

Revisions and Commits

Restricted Differential Revision
Restricted Differential Revision

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Paste.
joshuaspence added a subscriber: joshuaspence.
chad added a revision: Restricted Differential Revision.Aug 5 2015, 8:10 PM
chad added a commit: Restricted Diffusion Commit.Aug 5 2015, 8:44 PM

It would be nice to be able to query only for active pastes in the pastes dashboard panel:
https://www.dropbox.com/s/seb2l2u5teg5h48/Screenshot%202015-08-05%2020.43.18.png?dl=0
https://www.dropbox.com/s/9kytt9jlqpi82dd/Screenshot%202015-08-05%2020.43.28.png?dl=0
there is no option to limit it to only active pastes.

That is the point of this task.

chad added a revision: Restricted Differential Revision.Aug 6 2015, 4:21 AM

@chad: sure. I was just pointing out the dashboard part specifically. There are other places where it makes sense to query for pastes too :-)

if this is all generic, then ignore my comment

Ah, yes Dashboards are just ApplicationSearch queries arranged in different ways.

chad added a revision: Restricted Differential Revision.Aug 7 2015, 1:54 AM
chad closed this task as Resolved by committing Restricted Diffusion Commit.Aug 8 2015, 4:46 PM
chad added a commit: Restricted Diffusion Commit.

@chad it isn't possible to search for 'my active authored pastes' which is what we'd like to show in the dashboard. Is this intentional?

Authored just means Authored. It's not Authored, Active.

If you want to use a Saved Query, Dashboards should pick that up fine.

Ah, that's how to do it. Create a saved query and then have the dashboard pick it up. Thanks for the info. I was unaware of how dashboards interacted with the rest of the searching infrastructure.