Skip to content

Fix issue on analytics setting link #1177

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

Merged
merged 16 commits into from
Aug 30, 2023
Merged

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Aug 29, 2023

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

The analytics policy link was not used on the setting screen. The PR adds it.

Also migrate the preference to ListItem, and fix a smaller issue on the Analytics OptInScreen.

Note: screenshots are getting recorded and I will add a changelog file once the commit with screeshot has been pushed.

Motivation and context

Fixes #1174

Screenshots / GIFs

Tests

  • Go to the settings and click on the link. Note: the current policy link it downloaded a PDF file, but it should still work.

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

@bmarty bmarty requested a review from a team as a code owner August 29, 2023 14:49
@bmarty bmarty requested review from jmartinesp and removed request for a team August 29, 2023 14:49
@github-actions
Copy link
Contributor

github-actions bot commented Aug 29, 2023

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/JfzAvk

@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Patch coverage: 83.33% and project coverage change: +0.05% 🎉

Comparison is base (5a85459) 56.87% compared to head (706896a) 56.92%.
Report is 7 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1177      +/-   ##
===========================================
+ Coverage    56.87%   56.92%   +0.05%     
===========================================
  Files         1039     1039              
  Lines        26812    26827      +15     
  Branches      5544     5546       +2     
===========================================
+ Hits         15248    15270      +22     
+ Misses        9168     9161       -7     
  Partials      2396     2396              
Files Changed Coverage Δ
...id/libraries/designsystem/text/AnnotatedStrings.kt 68.08% <71.42%> (+10.58%) ⬆️
...roid/features/analytics/impl/AnalyticsOptInView.kt 66.01% <77.77%> (-1.00%) ⬇️
...lytics/api/preferences/AnalyticsPreferencesView.kt 60.71% <85.00%> (+1.89%) ⬆️
.../timeline/components/event/TimelineItemTextView.kt 63.88% <85.71%> (-6.70%) ⬇️
...aries/designsystem/theme/components/ListSection.kt 75.38% <87.50%> (+7.64%) ⬆️
...ytics/api/preferences/AnalyticsPreferencesState.kt 100.00% <100.00%> (ø)
...i/preferences/AnalyticsPreferencesStateProvider.kt 87.50% <100.00%> (+1.78%) ⬆️
...references/DefaultAnalyticsPreferencesPresenter.kt 81.25% <100.00%> (+1.25%) ⬆️
...aries/designsystem/components/ClickableLinkText.kt 45.05% <100.00%> (+3.29%) ⬆️

... and 1 file with indirect coverage changes

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

@bmarty bmarty force-pushed the feature/bma/analyticsSettingLink branch from cdf01f2 to ece8220 Compare August 29, 2023 16:03
ElementBot and others added 6 commits August 29, 2023 16:13
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@bmarty
Copy link
Member Author

bmarty commented Aug 30, 2023

Can be approved and merge I think.

Copy link
Member

@jmartinesp jmartinesp left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@bmarty bmarty merged commit cbe9c27 into develop Aug 30, 2023
@bmarty bmarty deleted the feature/bma/analyticsSettingLink branch August 30, 2023 09:16
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.

Analytics Opt-in: "You can read all our terms here" link is not clickable
2 participants