-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add more session states #4638
feat: Add more session states #4638
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/jxkbjuxp1 |
Codecov Report
@@ Coverage Diff @@
## development #4638 +/- ##
===============================================
+ Coverage 22.90% 23.07% +0.17%
===============================================
Files 472 475 +3
Lines 4978 4954 -24
Branches 8 8
===============================================
+ Hits 1140 1143 +3
+ Misses 3837 3810 -27
Partials 1 1
Continue to review full report at Codecov.
|
Here is an overview of what got changed by this pull request: Issues
======
- Added 8
Complexity decreasing per file
==============================
+ app/routes/admin/sessions/list.js -4
See the complete overview on Codacy |
accepted: 'teal', | ||
confirmed: 'green', | ||
pending: 'yellow', | ||
rejected: 'red', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'rejected'.
draft: 'grey', | ||
accepted: 'teal', | ||
confirmed: 'green', | ||
pending: 'yellow', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'pending'.
pending: 'yellow', | ||
rejected: 'red', | ||
deleted: 'red', | ||
withdrawn: 'black', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'withdrawn'.
confirmed: 'green', | ||
pending: 'yellow', | ||
rejected: 'red', | ||
deleted: 'red', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'deleted'.
@@ -0,0 +1,12 @@ | |||
export const stateColorMap = { | |||
draft: 'grey', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'draft'.
export const stateColorMap = { | ||
draft: 'grey', | ||
accepted: 'teal', | ||
confirmed: 'green', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'confirmed'.
@@ -0,0 +1,12 @@ | |||
export const stateColorMap = { | |||
draft: 'grey', | |||
accepted: 'teal', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'accepted'.
rejected: 'red', | ||
deleted: 'red', | ||
withdrawn: 'black', | ||
canceled: 'orange' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'canceled'.
Fixes #4522