You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale-android/android/src/main/java/com/tailscale/ipn
Jonathan Nobels 16ec19757d
android: adds support for user avatars and some general cleanup (#202)
* android: show user avatars and styling fixes

Updates tailscale/corp#18202
fixes ENG-2852

Load and show the user avatar in the right places.  There's a universal Avatar composable for this that should work everywhere we need it.  This  uses the coil-compose lib which seems to be standard practice and will handle caching for us.

Restyles a few headers to match the about screen and corrects some layout issues with the height of columns.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>

* android: add localizations and view model cleanup to match IPNManager

Updates tailscale/corp#18202

Simplifies the view models a bit for readability and localizes a few things that weren't previously localized

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>

* android: fix peer categorization

Updates tailscale/corp#18202

Fixes a null predicate issue for searching and removes the self nodes if there are no matches.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>

* android: rename avatar loader to avatar and add header

Updates tailscale/corp#18202

Rename the AvatarLoader class to Avatar and move it to views.  Add the proper headers.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>

---------

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
Co-authored-by: Andrea Gottardo <andrea@tailscale.com>
3 months ago
..
mdm ui: add view to debug MDM settings and add the syspolicy handlers (#199) 3 months ago
ui android: adds support for user avatars and some general cleanup (#202) 3 months ago
App.java ui: add view to debug MDM settings and add the syspolicy handlers (#199) 3 months ago
DnsConfig.java *: add a CI check for license headers and fix all files 4 months ago
IPNActivity.java *: add a CI check for license headers and fix all files 4 months ago
IPNReceiver.java *: add a CI check for license headers and fix all files 4 months ago
IPNService.java android: add main screen device details and basic nav (#191) 3 months ago
MainActivity.kt android: adds support for user avatars and some general cleanup (#202) 3 months ago
Peer.java *: add a CI check for license headers and fix all files 4 months ago
QuickToggleService.java *: add a CI check for license headers and fix all files 4 months ago
StartVPNWorker.java *: add a CI check for license headers and fix all files 4 months ago
StopVPNWorker.java *: add a CI check for license headers and fix all files 4 months ago