Page MenuHomePhabricator

Move workboard "Bulk Edit Tasks" workflow to a separate controller
ClosedPublic

Authored by epriestley on Jul 2 2019, 1:16 PM.
Tags
None
Referenced Files
F14053403: D20634.diff
Fri, Nov 15, 3:27 PM
F14009819: D20634.diff
Wed, Oct 30, 11:52 PM
F13991700: D20634.diff
Tue, Oct 22, 12:12 PM
F13982849: D20634.id49219.diff
Sun, Oct 20, 2:24 AM
Unknown Object (File)
Oct 10 2024, 5:18 AM
Unknown Object (File)
Oct 9 2024, 12:27 PM
Unknown Object (File)
Oct 1 2024, 8:06 AM
Unknown Object (File)
Sep 21 2024, 4:48 PM
Subscribers
None

Details

Summary

Depends on D20633. Ref T4900. Separate the "Bulk Edit Tasks..." flow out of the main workboard controller.

Test Plan
  • Used "Bulk Edit Tasks" on a column with some tasks, got an appropraite edit operation.
  • Used "Bulk Edit Tasks" on an empty column, got an error.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/applications/project/controller/PhabricatorProjectBoardViewController.php
6

This removes some "edit all" stuff, I'll discuss that separately.

In D12475, the "bulk edit" (then, "batch edit") stuff was added originally. This included a "Batch Edit Visible Tasks..." action that brought you into an edit workflow for every visible task on the board.

This was removed in D17879, probably by accident, since none of the support code was removed and the revision doesn't mention intending to remove it.

However, no one has noticed since then or requested this feature, so just get rid of it completely. You can generally perform this operation via queries in Maniphest with relative ease, anyway.

Later, in D18806, I made the UI consistently say "Bulk Edit" (previously, it sometimes said "Batch" and sometimes said "Bulk") but didn't change all the variable names. Now that this is getting some standalone testing, update the variable names to match the UI.

This revision is now accepted and ready to land.Jul 2 2019, 9:37 PM