1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/search/controller
epriestley 47da632a22 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
2017-08-24 15:24:34 -07:00
..
PhabricatorApplicationSearchController.php Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
PhabricatorSearchBaseController.php When all actions in a submenu are disabled, disable the submenu header 2016-06-30 10:57:33 -07:00
PhabricatorSearchController.php Remove "Search Preferences" 2016-05-26 06:21:47 -07:00
PhabricatorSearchDefaultController.php Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
PhabricatorSearchDeleteController.php Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
PhabricatorSearchEditController.php Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
PhabricatorSearchHovercardController.php Fix a bad parameter read in hovercard 2017-02-17 16:42:10 -08:00
PhabricatorSearchOrderController.php Update Search for handleRequest 2015-10-20 09:02:55 -07:00
PhabricatorSearchRelationshipController.php When using the "Close as Duplicate" relationship action, limit the UI to 1 task 2016-06-30 13:48:21 -07:00
PhabricatorSearchRelationshipSourceController.php Convert Maniphest merge operations to modern Relationship code 2016-06-30 08:35:45 -07:00