refactor(admin-user-info): remove any usage and enforce strict typing in AdminUserInfoActions#39041
Conversation
… in AdminUserInfoActions
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx,js}📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)
Files:
🧠 Learnings (1)📚 Learning: 2026-02-10T16:32:42.586ZApplied to files:
🧬 Code graph analysis (1)apps/meteor/client/views/admin/users/AdminUserInfoActions.tsx (1)
🔇 Additional comments (3)
WalkthroughThe changes improve type safety in the admin user actions components by removing Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #39041 +/- ##
===========================================
- Coverage 70.66% 70.64% -0.03%
===========================================
Files 3136 3190 +54
Lines 108599 112740 +4141
Branches 19538 20685 +1147
===========================================
+ Hits 76742 79640 +2898
- Misses 29856 31053 +1197
- Partials 2001 2047 +46
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Fixes: #39040
What changed
anyinAdminUserInfoActionsmapAction with[string, AdminUserAction]disabled?: booleantoAdminUserActiontypeWhy
This aligns
AdminUserInfoActionswith strict typing and removes unsafe casts without changing behavior.Impact
Summary by CodeRabbit
New Features
Refactor