Show additional bug report info in AboutActivity (#3802)

Make it easier for people to find information we need for a bug report,
and show it on AboutActivity.

New info is:

- Device manufacturer (e.g., "Google") and model (e.g., "Pixel 4a (5G)")
- Android version (e.g., "13")
- SDK version (e.g., "33")
- Active account (e.g., "@Tusky@mastodon.social")
- Server's version (e.g., "4.1.2+nightly-20230627")

All info is copyable to make it easy to include in a bug report. A
button to copy the information is also shown.
This commit is contained in:
Nik Clayton 2023-08-03 12:20:35 +02:00 committed by GitHub
commit 9cda091d03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 183 additions and 46 deletions

View file

@ -391,6 +391,10 @@
<string name="about_title_activity">About</string>
<string name="about_tusky_version">Tusky %s</string>
<string name="about_device_info_title">Your device</string>
<string name="about_device_info">%s %s\nAndroid version: %s\nSDK version: %d</string>
<string name="about_account_info_title">Your account</string>
<string name="about_account_info">\@%s\@%s\nVersion: %s</string>
<string name="about_powered_by_tusky">Powered by Tusky</string>
<string name="about_tusky_license">Tusky is free and open-source software.
It is licensed under the GNU General Public License Version 3.
@ -401,14 +405,8 @@
to show we do not mean the software is gratis. Source: https://www.gnu.org/philosophy/free-sw.html
* the url can be changed to link to the localized version of the license.
-->
<string name="about_project_site">
Project website:\n
https://tusky.app
</string>
<string name="about_bug_feature_request_site">
Bug reports &amp; feature requests:\n
https://github.com/tuskyapp/Tusky/issues
</string>
<string name="about_project_site">Project website: https://tusky.app</string>
<string name="about_bug_feature_request_site">Bug reports &amp; feature requests:\nhttps://github.com/tuskyapp/Tusky/issues</string>
<string name="about_tusky_account">Tusky\'s Profile</string>
<string name="post_share_content">Share content of post</string>
@ -817,4 +815,6 @@
For example the local timeline of your instance [iconics gmd_group]. Or you can search them
by name [iconics gmd_search]; for example search for Tusky to find our Mastodon account.</string>
<string name="load_newest_notifications">Load newest notifications</string>
<string name="about_copy">Copy version and device information</string>
<string name="about_copied">Copied version and device information</string>
</resources>