mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Add 'awaiting review' and 'reviewed' project statuses that update from GitHub; allow project owners to update their project statuses
This commit is contained in:
parent
b48f3a5798
commit
6378d687d8
12 changed files with 204 additions and 21 deletions
|
@ -3,6 +3,8 @@ namespace Enums;
|
|||
|
||||
enum ProjectStatusType: string{
|
||||
case InProgress = 'in_progress';
|
||||
case AwaitingReview = 'awaiting_review';
|
||||
case Reviewed = 'reviewed';
|
||||
case Stalled = 'stalled';
|
||||
case Completed = 'completed';
|
||||
case Abandoned = 'abandoned';
|
||||
|
@ -10,6 +12,7 @@ enum ProjectStatusType: string{
|
|||
public function GetDisplayName(): string{
|
||||
return match($this){
|
||||
self::InProgress => 'in progress',
|
||||
self::AwaitingReview => 'awaiting review',
|
||||
default => $this->value
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue