Project overview, general documentation, and white papers. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
[X] Bug affects both Android and iOS, for specific issues / questions that apply only to one operating system, please raise them in the respective repositories:
App version: released versions and planned versions 2.25.x & 2.26.x
Describe the bug
Both Android and iOS link from the app to individual FAQ articles on the cwa website using old links /faq/#anchor which redirect to articles under /faq/results/#anchor. This delays the display of the requested article in the app browser for several seconds.
Note: The cwa-website was restructured in March 2022 and all articles were moved from the /faq level to the /faq/results level with a redirect put in place.
Steps to reproduce the issue
In CWA app:
On Status page scroll down (and if necessary to the right) to statistics tile "7-Day Incidence"
Avoid duplicates
Technical details
Describe the bug
Both Android and iOS link from the app to individual FAQ articles on the cwa website using old links
/faq/#anchor
which redirect to articles under/faq/results/#anchor
. This delays the display of the requested article in the app browser for several seconds.For example: https://github.com/corona-warn-app/cwa-app-android/blob/d3833a212bd4c84e38a1fad23b282836d70ab8d5/Corona-Warn-App/src/main/res/values/links.xml#L51
<string name="statistics_explanation_faq_url">"https://www.coronawarn.app/en/faq/#further_details"</string>
Note: The cwa-website was restructured in March 2022 and all articles were moved from the
/faq
level to the/faq/results
level with a redirect put in place.Steps to reproduce the issue
In CWA app:
Expected behavior
The app should respond faster to taps on FAQ articles.
Possible Fix
Replace all app links of the form
http://www.coronawarn.app/_language_/faq/#anchor
byhttp://www.coronawarn.app/_language_/faq/results/#anchor
In a test on Android 12, Samsung Galaxy A52, Google Chrome and the 2.26.x branch, changing the URL http://www.coronawarn.app/en/faq/#further_details to http://www.coronawarn.app/en/faq/results/#further_details reduced the time to display from 11 seconds to 6 seconds.
The link files involved are:
Android
iOS