question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Help for Key Figures / Trends shows "1%%" and "5%%" in text

See original GitHub issue

Avoid duplicates

  • Bug is not mentioned in the FAQ
  • Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
  • Bug is not already reported in another issue

Technical details

  • Device name: Samsung Galaxy A5 (2017) SM-A520F
  • Android version: 8.0.0
  • App version: 2.12.2

Describe the bug

The percentage symbol (%) shown under Key Figures / Trends is displayed twice in succession (%%).

This is a regression from version 2.12.1.

It affects at least the locales English (United States) and Deutsch (Deutschland).

Steps to reproduce the issue

With locale set to English (United States)

  1. Open CWA
  2. Scroll down to 7-Day Incidence
  3. Tap on i icon
  4. In Key Figures scroll down to Trend
  5. Note the text
    “The arrow direction indicates whether the trend is increasing, decreasing, or remaining steady – that is, demonstrates a deviation of less than 1%% compared to the previous day or 5%% compared to the previous week (taking decimal places into account).”

Key_Figures_Trend-2 12 2

Expected behavior

Only one % percentage symbol should be displayed at a time.

Compare to screenshot from 2.12.1 where this was correctly shown:

Key_Figures_Trend-2 12 1

Possible Fix

The text comes from string statistics_explanation_trend_text.

Review code in 2.12.2: https://github.com/corona-warn-app/cwa-app-android/blob/1f3a4685332c8f9eb9a35094c8ff957f7b9a2dc4/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/statistics/ui/StatisticsExplanationFragment.kt#L34-L38 which has changed from 2.12.1 which used the following lines: https://github.com/corona-warn-app/cwa-app-android/blob/6677a18c5b6e96d07bf707c88a4216d13eec407d/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/statistics/ui/StatisticsExplanationFragment.kt#L34-L38

Additional context

Related to new release tag/v2.12.2 posted by @kaddaSz containing Fix: Strings double percentage #4278 from @AlexanderAlferov.


Internal Tracking ID: EXPOSUREAPP-10203

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
MikeMcC399commented, Nov 8, 2021

@dsarkar

Thanks for the CONFIRM, forwarded to internal ticket.

You’re welcome! Hope you have a nice day!

1reaction
MikeMcC399commented, Nov 1, 2021

@dsarkar Do you want to add the Fix 2.13 label here?

The fix “Double percentage (EXPOSUREAPP-10214)” https://github.com/corona-warn-app/cwa-app-android/pull/4289 is in the 2.13.0 milestone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Trends
Showing 1 of 6 examples. Latest Stories and Insights. Explore how Google data can be used to tell stories. featured. Year in Search...
Read more >
Use sparklines to show data trends - Microsoft Support
Use sparklines to show trends in a series of values, such as seasonal increases or decreases, economic cycles, or to highlight maximum and...
Read more >
Video: Use conditional formatting - Microsoft Support
Conditional formatting provides visual cues to help you quickly make sense of ... For example, it'll clearly show highs and lows, or other...
Read more >
Create a chart from start to finish - Microsoft Support
Learn how to create a chart in Excel and add a trendline. Visualize your data with a column, bar, pie, line, or scatter...
Read more >
FAQ about Google Trends data
Searches made by very few people: Trends only shows data for popular terms, so search terms with low volume appear as "0". Duplicate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found