Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Task/14371 Developer Menu: SRS Options #4909

Merged
merged 9 commits into from
Dec 6, 2022

Conversation

flxschmidt
Copy link
Contributor

Description

  • Extends the SRS Options in the Developer Menu.
  • Shows the timeBetweenSubmissionsInDays in the SRS consent from App Configuration

Link to Jira

https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-14371

Screenshots

Screenshot 2022-12-02 at 13 33 53

@flxschmidt flxschmidt added the task part of a feature label Dec 2, 2022
@flxschmidt flxschmidt added this to the v3.0.0 milestone Dec 2, 2022
@flxschmidt flxschmidt requested a review from a team December 2, 2022 12:34
Co-authored-by: Naveed Khalid <nkhalid.here@gmail.com>
@@ -61,7 +61,7 @@ final class MockTestStore: Store, PPAnalyticsData {
var mostRecentRiskCalculationConfiguration: RiskCalculationConfiguration?
var forceAPITokenAuthorization = false
var recentTraceLocationCheckedInto: DMRecentTraceLocationCheckedInto?
var isSrsPrechecksEnabled = false
var dmIsSRSPreChecksEnabled = false
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't know if this naming is consistent with our approach

Copy link
Contributor

Choose a reason for hiding this comment

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

@30mar what do you think?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think isSrsPrechecksEnabled is fine as it was, we use flags for dev menus without adding the dm part.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, renamed it to isSrsPrechecksEnabled

@@ -41,7 +56,7 @@ struct SRSConsentViewModel {
UIImage(imageLiteralResourceName: "SRS-Warn-Others-icon"),
text: .string(String(
format: AppStrings.SRSConsentScreen.instruction2,
"90" // to.do fetch the number from app config
String(timeBetweenSubmissionsInDays)
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

@30mar 30mar self-requested a review December 5, 2022 09:13
@naveeddotio naveeddotio enabled auto-merge December 6, 2022 10:10
@naveeddotio naveeddotio merged commit f48ff01 into release/3.0.x Dec 6, 2022
@naveeddotio naveeddotio deleted the task/14371-dev-menu-srs-extension branch December 6, 2022 11:05
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
task part of a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants