Page MenuHomePhabricator

Modularize workboard column transactions
ClosedPublic

Authored by epriestley on Mar 14 2019, 3:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 4:29 AM
Unknown Object (File)
Thu, Nov 14, 2:58 PM
Unknown Object (File)
Sat, Nov 9, 5:51 PM
Unknown Object (File)
Wed, Nov 6, 11:54 AM
Unknown Object (File)
Oct 13 2024, 9:39 AM
Unknown Object (File)
Oct 10 2024, 5:06 AM
Unknown Object (File)
Oct 2 2024, 6:14 AM
Unknown Object (File)
Sep 12 2024, 9:10 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.