fix(webui): Improve clarity of ingestion job status labels.#1182
Conversation
|
Warning Rate limit exceeded@hoophalab has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 4 minutes and 50 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (2)
WalkthroughThe changes introduce a new explicit enum, Changes
Sequence Diagram(s)sequenceDiagram
participant UI as IngestPage UI
participant Utils as Jobs/utils.ts
participant Typings as Jobs/typings.tsx
UI->>Utils: convertQueryJobsItemToJobData(job)
Utils->>Typings: Use CompressionJobStatus enum
Utils-->>UI: JobData with status: CompressionJobStatus
UI->>UI: Render status column using CompressionJobStatus
UI->>UI: Map enum to Badge display via switch statement
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Suggested reviewers
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
junhaoliao
left a comment
There was a problem hiding this comment.
for the title, how about:
fix(webui): Improve clarity of ingestion job status labels.
Description
Change the
statusfield type inJobsDatatoCompressionJobStatusand render the status to badges inrenderfunction.Checklist
breaking change.
Validation performed
runningandsucceededstatus looks correct.@junhaoliao validated the labels looked correct and intuitive
Summary by CodeRabbit