-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PM-17465] refactor PolicyService.getAll$ to make userId not optional #13031
Conversation
Great job, no security vulnerabilities found in this Pull Request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Billing changes look good, thank you.
0b3bb89
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #13031 +/- ##
========================================
Coverage 35.10% 35.10%
========================================
Files 2990 3000 +10
Lines 91078 91332 +254
Branches 17052 17095 +43
========================================
+ Hits 31974 32065 +91
- Misses 56611 56762 +151
- Partials 2493 2505 +12 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes a nice start on removing activeUserState from this service :D
apps/web/src/app/billing/services/free-families-policy.service.ts
Outdated
Show resolved
Hide resolved
apps/web/src/app/billing/settings/sponsoring-org-row.component.ts
Outdated
Show resolved
Hide resolved
libs/tools/send/send-ui/src/send-form/components/options/send-options.component.ts
Outdated
Show resolved
Hide resolved
libs/tools/send/send-ui/src/send-form/components/options/send-options.component.ts
Show resolved
Hide resolved
libs/tools/send/send-ui/src/send-form/components/options/send-options.component.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much nicer, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for Tools
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-17465
📔 Objective
Fixes an issue where the PolicyService.getAll$ accepts an optional userId param that is passed to the OrganizationService call that requires a userId, resulting in cases where we pass undefined to the OrganizationService call.
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes