status badge - #902
Conversation
|
@Challmejosh is attempting to deploy a commit to the ritik4ever's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Challmejosh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 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 |
ce63021 to
76824b1
Compare
Commit Type
Breaking change? (If yes, add
BREAKING CHANGEin the commit footer)What changed
Added accessible, color-coded stream status badges with non-color icons and actionable tooltips across the Streams Table:
StatusBadgeComponent (frontend/src/components/StatusBadge.tsx):scheduled: Gray (badge-scheduled)active: Blue (badge-active)completed: Green (badge-completed)canceled: Red (badge-canceled)paused: Yellow (badge-paused)aria-hidden="true") for each status (Clock, Play, Pause, Check, X).titleandaria-label) explaining the current stream state and actionable next steps (e.g. edit start time, pause, resume, cancel).tabIndex={0}and focus outline styling.StreamsTableComponent (frontend/src/components/StreamsTable.tsx):StatusBadgeinto the stream status cell.frontend/src/index.css):.badge-scheduled,.badge-active,.badge-completed,.badge-canceled,.badge-paused, and.status-badge-icon.frontend/src/components/StatusBadge.test.tsxverifying badge styling, icons, tooltips, and accessibility attributes.frontend/src/components/StreamsTable.test.tsxverifying status badge rendering across stream rows.Testing done
npx vitest run src/components/StatusBadge.test.tsx src/components/StreamsTable.test.tsx:StatusBadge.test.tsx: 7 / 7 passedStreamsTable.test.tsx: 15 / 15 passednpx eslint src/components/StatusBadge.tsx src/components/StatusBadge.test.tsx src/components/StreamsTable.tsx src/components/StreamsTable.test.tsx: 0 errors.Related issues
Closes #757
Checklist