Add refresh button to tracker for new profile info (#3828)

* Add refresh button to tracker for new profile info

As-is, allows a user to manually refresh their current user data from
the tracker in order to update Mihon's knowledge of remote settings
(e.g. nickname changes, AL/MB/Kitsu score types, etc.).

* Catch errors to prevent app crashing

Surfaces errors as toasts in the same way library title refreshes do.

* spotless

* [skip ci] Remove leftover debugging logs

* Fix Kitsu user attribute access

* Spotless

* Lowercase Kitsu score type on refresh

Maybe prevent needing another #3887 for this.

* Center tracker vertically name if not logged in

Looks much better than the name being stuck at the top with empty
space below it.

* Don't show Refresh button for Enhanced trackers

* [skip ci] Add changelog entry
This commit is contained in:
MajorTanya
2026-09-20 00:35:25 +06:00
committed by GitHub
parent 504ec2afae
commit 01e3f8c605
18 changed files with 199 additions and 17 deletions
@@ -580,6 +580,9 @@
<string name="enhanced_services_not_installed">Available but source not installed: %s</string>
<string name="enhanced_tracking_info">Provides enhanced features for specific sources. Entries are automatically tracked when added to your library.</string>
<string name="track_activity_name">Tracker login</string>
<string name="refresh_tracker_profile">Refresh tracker profile</string>
<string name="refresh_tracker_success">%s profile refreshed</string>
<string name="refresh_tracker_error">%1$s refresh error: %2$s</string>
<!-- Browse section -->
<string name="pref_hide_in_library_items">Hide entries already in library</string>