[companion] feat(settings): show attention indicator on tabs and update cards - #32
andrebrait wants to merge 4 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (7)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough
ChangesSettings update attention
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant AppShell
participant SettingsConfig
participant SettingsTabs
AppShell->>SettingsConfig: pass ompUpdateAvailable
SettingsConfig->>SettingsConfig: derive update flags
SettingsConfig->>SettingsTabs: pass attentionTabs
SettingsTabs->>SettingsTabs: render indicator and accessible label
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 4 files. (3 skipped: 3 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
|
@coderabbitai review |
|
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Runtime attention state can become stale, failed checks can show an indefinite loading message, and vertical tab indicators are not reliably accessible.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 3
Open (3)
What changed in this PR
Adds update-attention indicators to Settings tabs and update cards, with localized labels and rendering tests.
Changes:
- Added localized attention strings.
- Propagated runtime update state into settings and highlighted update cards.
- Added vertical/horizontal tab indicator tests.
| File | Description |
|---|---|
components/AppShell.tsx |
Passes runtime update availability to settings. |
components/SettingsConfig.tsx |
Displays attention indicators and highlighted update cards. |
components/SettingsTabs.tsx |
Renders attention indicators for settings tabs. |
components/SettingsTabs.test.mjs |
Tests attention indicators in both layouts. |
lib/i18n/locales/en.json |
Adds English attention labels. |
lib/i18n/locales/ja.json |
Adds Japanese attention labels. |
lib/i18n/locales/zh-CN.json |
Adds Chinese attention labels. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…tates, and tab accessible names
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
OMP update styling can become inconsistent because the new status color uses nullish coalescing instead of combining both availability sources.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
|
@coderabbitai review |
|
|
@coderabbitai full review |
✅ Action performedFull review finished. |

Companion PR for kahme247#115 to run bot reviews (Copilot, CodeRabbit).
Upstream PR: kahme247#115
Summary by CodeRabbit
New Features
Tests