Move Slowvote response visibility to a separate object
commit23094b4950244a66325370b416b0e6b0adc8c82c
authorepriestley <git@epriestley.com>
Thu, 26 May 2022 16:31:03 +0000 (26 09:31 -0700)
committerepriestley <git@epriestley.com>
Thu, 26 May 2022 16:58:48 +0000 (26 09:58 -0700)
treea9d66f53aec03ee46328bca94000c7ecf009d1a0
parentb1533e5468b1d4a9486a1113c5469050697e49fc
Move Slowvote response visibility to a separate object

Summary: Ref T13682. This change supports modifying these constants to be sensible strings instead of opaque integers.

Test Plan: Created and edited polls.

Maniphest Tasks: T13682

Differential Revision: https://secure.phabricator.com/D21843
src/__phutil_library_map__.php
src/applications/slowvote/constants/SlowvotePollResponseVisibility.php [new file with mode: 0644]
src/applications/slowvote/controller/PhabricatorSlowvoteEditController.php
src/applications/slowvote/storage/PhabricatorSlowvotePoll.php
src/applications/slowvote/view/SlowvoteEmbedView.php
src/applications/slowvote/xaction/PhabricatorSlowvoteResponsesTransaction.php