Repository navigation
fix: make Upload skill control a normal button (not a single-item dropdown) (#1955) - #2103
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. 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 |
|
Desk review — READY TO MERGE ✅ Reviewed the fix for #1955 on What the change does — Correctness — With Robustness / elegance — Removed imports have no remaining references; inline Resolution / boundaries — Genuinely fixes the reported control; no other "Upload skill" site renders a single-item dropdown (skill-row-actions / skill-detail-panel are legitimately different). Pure UI swap — no new trust boundary. i18n key Tests — Ran the project's UI suite for the touched area: Minor (non-blocking) note — CI — Verdict: READY TO MERGE. |
Summary
Resolves #1955.
The "Upload skill" control was a
DataTableActionMenudropdown with a single "Upload skill" item. This replaces it with a plain button that opens the upload dialog directly — using theDataTableActionMenusimple-button mode (onClickinstead ofmenuItems), so styling stays consistent with the table toolbar and no chevron/dropdown is rendered.Acceptance criteria
Verification
oxlint --type-awareon the changed file: clean.tsc --noEmit: clean.skills-table.test.tsx(asserts thebuttonnamed "Upload skill" + axe audit): 2 passed.Summary by CodeRabbit