Page MenuHomePhabricator

Modularize workboard column transactions
ClosedPublic

Authored by epriestley on Mar 14 2019, 3:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 6:10 AM
Unknown Object (File)
Thu, Apr 11, 4:14 AM
Unknown Object (File)
Sat, Mar 30, 7:45 AM
Unknown Object (File)
Feb 6 2024, 11:55 PM
Unknown Object (File)
Feb 3 2024, 9:44 PM
Unknown Object (File)
Jan 25 2024, 1:55 AM
Unknown Object (File)
Jan 21 2024, 8:05 PM
Unknown Object (File)
Jan 16 2024, 11:17 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.