1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-08 12:58:31 +01:00
phorge-phorge/src/applications/search/storage
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
..
document Use stemming in the MySQL fulltext search engine 2016-11-25 15:30:50 -08:00
PhabricatorNamedQuery.php Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
PhabricatorNamedQueryConfig.php Make the default ApplicationSearch query explicit, not just the first item in the list 2017-08-24 15:21:00 -07:00
PhabricatorProfileMenuItemConfiguration.php Replace ProfileMenu bugs with different bugs 2017-01-31 11:22:01 -08:00
PhabricatorProfileMenuItemConfigurationTransaction.php Rename "ProfilePanelConfiguration" to "ProfileMenuItemConfiguration" 2016-12-11 11:44:22 -08:00
PhabricatorSavedQuery.php Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
PhabricatorSearchDAO.php Remove @group annotations 2014-07-10 08:12:48 +10:00
PhabricatorSearchIndexVersion.php Allow index extensions to skip indexing if the object has not changed 2015-12-21 17:27:14 -08:00
PhabricatorSearchSchemaSpec.php Rename "ProfilePanelConfiguration" to "ProfileMenuItemConfiguration" 2016-12-11 11:44:22 -08:00