Page MenuHomePhabricator

Remove all readers/writers for task "subpriority"
ClosedPublic

Authored by epriestley on Mar 11 2019, 12:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 10 2024, 2:46 PM
Unknown Object (File)
Feb 3 2024, 9:38 PM
Unknown Object (File)
Jan 25 2024, 1:51 AM
Unknown Object (File)
Jan 7 2024, 4:44 AM
Unknown Object (File)
Dec 29 2023, 6:42 AM
Unknown Object (File)
Dec 23 2023, 11:03 PM
Unknown Object (File)
Dec 22 2023, 6:31 AM
Unknown Object (File)
Dec 22 2023, 1:48 AM
Subscribers
None

Details

Summary

Depends on D20265. Ref T10333. Now that neither task lists nor workboards use subpriority, we can remove all the readers and writers.

I'm not actually getting rid of the column data yet, but anticipate doing that in a future change.

Note that the subpriority algorithm (removed here) is possibly better than the "natural order" algorithm still in use. It's a bit more clever, and likely performs far fewer writes. I might make the "natural order" code use an algorithm more similar to the "subpriority" algorithm in the future.

Test Plan

Grepped for subpriority.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

amckinley added inline comments.
src/applications/maniphest/editor/ManiphestTransactionEditor.php
404–406

This is nuts; I had no idea this code was so complicated.

This revision is now accepted and ready to land.Mar 12 2019, 6:54 PM

Oh, I didn't submit this comment:

src/applications/maniphest/editor/ManiphestTransactionEditor.php
404–421

Particularly, this is the clever bit.

This revision was automatically updated to reflect the committed changes.