Page MenuHomePhabricator

Move many task status hardcodes into ManiphestTaskStatus
ClosedPublic

Authored by epriestley on Feb 17 2014, 9:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 31, 5:52 AM
Unknown Object (File)
Wed, Aug 21, 11:52 AM
Unknown Object (File)
Aug 18 2024, 1:52 AM
Unknown Object (File)
Aug 4 2024, 2:24 AM
Unknown Object (File)
Aug 3 2024, 7:46 PM
Unknown Object (File)
Aug 2 2024, 11:44 PM
Unknown Object (File)
Jul 31 2024, 12:32 AM
Unknown Object (File)
Jul 28 2024, 5:41 PM
Subscribers

Details

Summary

Ref T1812. This cleans up most of the easy hard-coded references to specific statuses:

  • The "fixes" language moves into ManiphestTaskStatus.
  • Add a method to list open statuses.
  • Add a method to test if a status is open.
  • Add a method to get default status for new tasks.
Test Plan

Browsed around, lint, grep, created, filtered and updated tasks.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped