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)
Oct 22 2024, 6:18 AM
Unknown Object (File)
Oct 18 2024, 7:31 PM
Unknown Object (File)
Oct 18 2024, 1:58 PM
Unknown Object (File)
Oct 15 2024, 6:10 PM
Unknown Object (File)
Oct 13 2024, 1:21 PM
Unknown Object (File)
Oct 11 2024, 4:05 PM
Unknown Object (File)
Oct 11 2024, 4:05 PM
Unknown Object (File)
Oct 11 2024, 4:05 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