feat: add customisable button slots to service account views#1707
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbitNew Features
WalkthroughAdds a shared generic ChangesService Account View Slot Customization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
Coverage Report for CI Build 27737972209Coverage remained the same at 43.631%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Summary
Slot<TContext>render-prop type inshared/types.tsso consumers can customise internal view elements while keeping the customisation on their side.slots.addAccountButtonslot toServiceAccountsView(header toolbar + empty state), exposing theonClickhandler and permission-deriveddisabledstate.slots.generateKeyButtonslot toServiceAccountDetailsView, threaded into the token form and exposing the form'sloading/disabledstate.