feat(file): add per-file statusText with accessible live region#4157
Conversation
|
Warning Review limit reached
Next review available in: 57 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: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
✨ 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 |
|
Documentation has been published to https://lundalogik.github.io/lime-elements/versions/PR-4157/ |
78fc20a to
f45838f
Compare
4cafeb9 to
2111bb4
Compare
Add an optional `statusText` field to `FileInfo` that replaces the file size badge on the chip and is announced to assistive technologies via a polite `role="status"` live region. Extract badge resolution into a `getBadge()` helper. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2111bb4 to
2ac8b66
Compare
|
🎉 This PR is included in version 39.40.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
FileInfo.statusText— a short label (e.g.Uploading…,failed,45%) that replaces the size badge on the file chip when set.role="status" aria-live="polite"region.getChipArray()into agetBadge()helper using early returns.Test plan
value.statusTexton alimel-fileand confirm the chip badge shows the text instead of the file size.statusTextand confirm the size badge returns.Note
Stacked on top of #4154 (
file-loading-progress). Base should be retargeted tomainonce that PR merges.🤖 Generated with Claude Code