-
Notifications
You must be signed in to change notification settings - Fork 53
[BWA-155] refactor: Bring ConfigService into BitwardenKit #1572
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
Conversation
Great job, no security vulnerabilities found in this Pull Request |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1572 +/- ##
==========================================
- Coverage 89.71% 85.99% -3.72%
==========================================
Files 786 993 +207
Lines 49533 59571 +10038
==========================================
+ Hits 44437 51230 +6793
- Misses 5096 8341 +3245 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
🚀 Looks good, just one small thing.
🎟️ Tracking
https://bitwarden.atlassian.net/browse/BWA-155
📔 Objective
This brings
ConfigService
intoBItwardenKit
, and therefore unifies how feature flags are handled between the two apps.In order to handle this, I broke out a
ConfigStateService
andConfigSettingsStore
, asStateService
andAppSettingsStore
are very large objects/protocols that can't be brought in themselves. I went back and forth on moving the implementations of the new protocols into extensions, like we do with the biometrics-related ones, and ultimately decided not to for simplicity's sake, but it's not a strong opinion.I also tidied up a number of warnings left over from some of the previous groundwork-laying PRs.
This should put a neat bow on getting remote feature flags into BWA.
⏰ 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