Repository navigation
Open shifts: mark urgent shifts with the shared amber dot - #3500
Conversation
The calendar, its key and the shift rows used a warning triangle, which in Work mode now means a date has passed. Urgent shifts take the amber dot, the shared shape for needing attention soon, beside the word or spoken label. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CZwGiwt7eXkD4fwyFM83gY
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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 |
🏁 CodeAnt Quality Gate ResultsCommit: ✅ Overall Status: PASSEDQuality Gate Details
|
Merging this PR will not alter performance
|
The design check counts a bare status-coloured dot as colour-only. Every use already sits beside words or a spoken label; the dot now renders that text itself so the pairing is visible in one place. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CZwGiwt7eXkD4fwyFM83gY
|
Full browser suite on this draft (run 38272554735): Chrome, Firefox, tablet and the desktop Safari legs all passed. Two phone Safari tests failed, and neither page is touched by this diff, which only changes the Open shifts urgent marker:
I have merged main (5f6b272) into the branch, which re-runs CI on the new head, and I am marking this ready. Generated by Claude Code |
There was a problem hiding this comment.
BigSimmo has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Claude encountered an error after 2s —— View job I'll analyze this and get back to you. |
PR Summary by QodoUse an amber dot to mark urgent open shifts
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
No findings for this group No findings for this group No findings for this group Resolved findings 1.
|
CodeAnt Nitpicks1 code suggestion1.
|
CodeAnt PR Risk: Low Risk
Assessed commit: |
|
Code review by qodo was updated up to the latest commit 8f93e41 |
Code Review ✅ Approved🟢 Low risk · Replacing urgent-shift warning icons with an amber dot is confined to calendar keys and shift-row presentation; no shift-matching logic changes. Adds a shared
Review coverage🤖 Auto-approval Approved 📋 Rules No rules evaluated 🧪 Functional validation Not enabled · Set up OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
User description
Summary
Before: Open shifts marked a day with an urgent shift using an amber-bordered pill with a warning triangle, in the calendar and its key. Shift rows showed "Urgent" as plain grey text.
After: urgent shifts carry a small amber dot. It appears in the calendar's day pill (beside the count), in the key, and before "Urgent" on each shift row. In Work mode a triangle now means a date has passed, which an urgent shift has not. The amber dot is the shared shape for "needs attention soon" (Ward Flow review, 12 Oct 2026).
How: a new
UrgentDotinsrc/components/open-shifts/urgent-dot.tsx. It isaria-hidden, because the word "Urgent" or the day's spoken label already says it, and it shows as solid ink in forced colours. The calendar test now checks that an urgent day has the dot and no triangle.This is the follow-up agreed in #3483.
Verification
npx tsc --noEmit -p .: clean.vitestontests/open-shifts-*: 12 files, 103 tests passed. The new calendar assertion fails without the change and passes with it.Risk and rollout
🤖 Generated with Claude Code
https://claude.ai/code/session_01CZwGiwt7eXkD4fwyFM83gY
Generated by Claude Code
Summary by cubic
Marks urgent open shifts with the shared amber dot instead of the warning triangle, which now means a date has passed in Work mode. Follows up on #3483. Visual-only change with no effect on shift matching.
UrgentDot, shown in the calendar's day pill, in the key, and on each shift row.UrgentDotrenders the text it sits beside — the word "Urgent" or the day's count — so it's never colour-only; it'saria-hiddenand shows solid ink in forced-colours mode.Written for commit 0138b9d. Summary will update on new commits.
CodeAnt-AI Description
Mark urgent open shifts with an amber dot
What Changed
Impact
✅ Urgent shifts are easier to distinguish from passed dates✅ Urgency is marked consistently across calendar and shift listings💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.