1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +01:00
phorge-phorge/webroot/rsrc/css/phui/object-item
epriestley 7f91c8c4ac Rebuild the bulk editor on SearchEngine
Summary:
Depends on D18805. Ref T13025. Fixes T10268.

Instead of using a list of IDs for the bulk editor, power it with SearchEngine queries. This gives us the full power of SearchEngine and lets us use a query key instead of a list of 20,000 IDs to avoid issues with URL lengths.

Also, split it into a base `BulkEngine` and per-application subclasses. This moves us toward T10005 and universal support for bulk operations.

Also:

  - Renames most of "batch" to "bulk": we're curently inconsitent about this, I like "bulk" better since I think it's more clear if you don't regularly interact with `.bat` files, and newer stuff mostly uses "bulk".
  - When objects in the result set can't be edited because you don't have permission, show the status more clearly.

This probably breaks some stuff a bit since I refactored so heavily, but it seems mostly OK from poking around. I'll clean up anything I missed in followups to deal with remaining items on T13025.

Test Plan:
{F5302300}

  - Bulk edited from Maniphest.
  - Bulk edited from a workboard (no more giant `?ids=....` in the URL).
  - Hit most of the error conditions, I think?
  - Clicked the "Cancel" button.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13025, T10268

Differential Revision: https://secure.phabricator.com/D18806
2018-01-19 12:40:08 -08:00
..
phui-oi-big-ui.css Config re-design 2017-09-05 15:24:15 -07:00
phui-oi-color.css Reorganize phui-object-item CSS, add drag ui 2016-12-14 11:53:17 -08:00
phui-oi-drag-ui.css Use setDrag UI for reordering workboard columns 2017-05-16 07:13:25 -07:00
phui-oi-flush-ui.css Reorganize phui-object-item CSS, add drag ui 2016-12-14 11:53:17 -08:00
phui-oi-list-view.css Rebuild the bulk editor on SearchEngine 2018-01-19 12:40:08 -08:00
phui-oi-simple-ui.css Reorganize phui-object-item CSS, add drag ui 2016-12-14 11:53:17 -08:00