-
Notifications
You must be signed in to change notification settings - Fork 359
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
Fix enum lint warning in dashboard #5234
Conversation
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @MananTank and the rest of your teammates on Graphite |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5234 +/- ##
=======================================
Coverage 45.29% 45.29%
=======================================
Files 1068 1068
Lines 55380 55380
Branches 3975 3975
=======================================
Hits 25082 25082
Misses 29606 29606
Partials 692 692
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
2a817eb
to
3658b3f
Compare
ba2e622
to
0d8a714
Compare
0d8a714
to
b6446e0
Compare
Merge activity
|
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR refactors the code to replace the usage of `AccountStatus` and `AccountPlan` enums with `accountStatus` and `accountPlan` constants, improving consistency and clarity throughout the codebase. ### Detailed summary - Replaced `AccountStatus` enum with `accountStatus` constant object. - Replaced `AccountPlan` enum with `accountPlan` constant object. - Updated all references to use `accountStatus` and `accountPlan` instead of enums. - Adjusted conditions and logic to align with the new structure. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
b6446e0
to
df8b2f6
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on refactoring the usage of
AccountStatus
andAccountPlan
enums to constant objects (accountStatus
andaccountPlan
) throughout the codebase, improving consistency and readability.Detailed summary
AccountStatus
enum withaccountStatus
object in multiple files.AccountPlan
enum withaccountPlan
object in various components.