[CSM Portal][FE] feat(csm-timecards): UI components (5/6) - #997
Conversation
|
Warning Review limit reached
Next review available in: 43 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
08d9de3 to
e0ef661
Compare
e0ef661 to
8a6bf7f
Compare
Adds TimeCardStatusChip, TimeSheetCard, LogTimeCardDialog, DelegateApprovalsDialog and TimeCardReviewDialog — the reusable building blocks consumed by the panel and page in the next PR. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8a6bf7f to
364051c
Compare
Purpose
Adds the five reusable UI components consumed by the time-cards page and case-detail panel. Requires PR 4/6 (#996) to be merged first.
Goals
TimeCardStatusChip.tsx— semantic status chip for card and sheet statesTimeSheetCard.tsx— weekly sheet card with per-card actions and sheet-level approve/reject/submit buttonsLogTimeCardDialog.tsx— dialog for logging or editing a time card (date, activity breakdown, billable flag, approver picker)TimeCardReviewDialog.tsx— approver accept/reject dialog with lead commentDelegateApprovalsDialog.tsx— dialog for team leads to delegate approvals for a date rangeApproach
All components use Oxygen UI primitives and compose the hooks/utils from PRs 2–4. No inline styles — MUI
sxonly.User stories
ISSU-009 — Time Management (Epic: Issue Management, Priority: Must have)
Acceptance criteria addressed here:
LogTimeCardDialog)TimeCardReviewDialog)DelegateApprovalsDialog)Release note
Reusable time-card UI components. No user-visible route changes in this PR — wiring lands in PR 6/6.
Documentation
N/A
Training
N/A
Certification
N/A
Marketing
N/A
Automation tests
Security checks
Samples
N/A
Related PRs
6-PR series for ISSU-009 — merge into
v2in order:Migrations
N/A
Test environment
macOS 14, Node 20, Chrome 126
Learning
N/A