Page MenuHomePhabricator

Modularize workboard column transactions
ClosedPublic

Authored by epriestley on Mar 14 2019, 3:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 10:03 AM
Unknown Object (File)
Sun, Dec 8, 4:32 PM
Unknown Object (File)
Fri, Dec 6, 5:55 AM
Unknown Object (File)
Wed, Dec 4, 4:51 AM
Unknown Object (File)
Tue, Dec 3, 12:46 AM
Unknown Object (File)
Tue, Nov 26, 7:03 PM
Unknown Object (File)
Nov 22 2024, 4:48 AM
Unknown Object (File)
Nov 18 2024, 4:29 AM
Subscribers
None

Details

Summary

Depends on D20279. Ref T5474. Modernize these transactions before I add a new "TriggerTransaction" for setting triggers.

Test Plan

Created a column. Edited a column name and point limit. Hid and un-hid a column. Grepped for removed symbols.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/applications/project/controller/PhabricatorProjectColumnEditController.php
96

This fixes a bug where this workflow didn't actually enforce the requirement that columns have a name.

amckinley added inline comments.
src/applications/project/xaction/column/PhabricatorProjectColumnLimitTransaction.php
40

For consistency, "changed the point limit".

src/applications/project/xaction/column/PhabricatorProjectColumnStatusTransaction.php
23

"unhid this column"

27

"hid this column"

48

This is just going to be "0, 1"; maybe don't even bother to show it?

This revision is now accepted and ready to land.Mar 18 2019, 6:57 PM
src/applications/project/xaction/column/PhabricatorProjectColumnStatusTransaction.php
48

I think it'll be real strings some day. Showing it is mostly for the benefit of API callers, since the internal constants may not always be obvious.

This revision was automatically updated to reflect the committed changes.