Skip to content
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

[BWA-86] Debug Menu #2 - config service #274

Merged
merged 21 commits into from
Nov 18, 2024
Merged

Conversation

andrebispo5
Copy link
Contributor

🎟️ Tracking

https://bitwarden.atlassian.net/browse/BWA-86

📔 Objective

In order to have the debug menu we first need to bring over the layer to fetch server config that contain remote feature flags.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 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

Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 91.89189% with 3 lines in your changes missing coverage. Please review.

Project coverage is 39.28%. Comparing base (5b53b50) to head (72273a2).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...a/platform/datasource/disk/ConfigDiskSourceImpl.kt 77.77% 0 Missing and 2 partials ⚠️
.../platform/repository/ServerConfigRepositoryImpl.kt 96.15% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #274      +/-   ##
==========================================
+ Coverage   39.00%   39.28%   +0.28%     
==========================================
  Files         108      111       +3     
  Lines        5448     5485      +37     
  Branches      633      638       +5     
==========================================
+ Hits         2125     2155      +30     
- Misses       3168     3173       +5     
- Partials      155      157       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@andrebispo5 andrebispo5 marked this pull request as ready for review November 5, 2024 12:25
import com.bitwarden.authenticator.data.platform.datasource.network.api.ConfigApi
import com.bitwarden.authenticator.data.platform.datasource.network.model.ConfigResponseJson

class ConfigServiceImpl(private val configApi: ConfigApi) : ConfigService {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Public class needs kdoc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

Copy link
Contributor

github-actions bot commented Nov 12, 2024

Logo
Checkmarx One – Scan Summary & Details2e8ceda2-79e0-486a-b5b8-14a653867037

No New Or Fixed Issues Found

Copy link
Contributor

@SaintPatrck SaintPatrck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

SaintPatrck
SaintPatrck previously approved these changes Nov 18, 2024
Base automatically changed from bwa-86/network-layer-retrofit to main November 18, 2024 21:11
@andrebispo5 andrebispo5 dismissed SaintPatrck’s stale review November 18, 2024 21:11

The base branch was changed.

# Conflicts:
#	app/src/main/kotlin/com/bitwarden/authenticator/data/platform/datasource/network/di/PlatformNetworkModule.kt
@andrebispo5 andrebispo5 merged commit a0cc8a8 into main Nov 18, 2024
9 checks passed
@andrebispo5 andrebispo5 deleted the bwa-86/config-service branch November 18, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants