HomePhorge

Separate saved queries in applications into "personal" and "global" queries

Description

Separate saved queries in applications into "personal" and "global" queries

Summary:
Ref T12956. UI changes:

  • Administrators get a new [X] Save as global query option when saving a query.
  • "Edit Queries..." is split into "Personal" and "Global" sections. For administrators, each section can be edited. For non-admins, only the top section can be edited, but any query can be pinned.

A couple notes:

  • This doesn't support "pin for everyone by default". New users just get the first query from the bottom set. That seems reasonable for now.
  • Reordering is currently a little buggy (it works if you've reordered before, but not if you're reordering for the first time), but I need to migrate before I can fix / test that properly. So that'll get cleaned up in the next change or two.

Test Plan:

  • As an admin and non-admin, viewed, edited, disabled, saved-as-personal and saved-as-global various queries.

{F5098581}

{F5098582}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12956

Differential Revision: https://secure.phabricator.com/D18426

Details

Provenance
epriestleyAuthored on Aug 14 2017, 12:19 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP58b889c5b056: Make the default ApplicationSearch query explicit, not just the first item in…
Branches
Unknown
Tags
Unknown

Event Timeline