Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve TV connect screen UI #7795

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Improve TV connect screen UI #7795

wants to merge 4 commits into from

Conversation

kl
Copy link
Contributor

@kl kl commented Mar 11, 2025

  • Implements the navigation rail design for Android TV
  • Implements the TV notification banner design
  • Adds two new Gradle modules:
    • tv: contains the Android TV specific Compose components (e.g. the NavigationDrawerTV component)
    • shared-compose: contains Compose-specific code that is needed by both the app module and the tv module.

This change is Reviewable

- Implements the navigation rail design for Android TV
- Implements the TV notification banner design
- Adds two new Gradle modules:
  * tv: contains the Android TV specific Compose components (e.g. the
     NavigationDrawerTV component)
  * shared-compose: contains Compose-specific code that is needed by
    both the app module and the tv module.
@kl kl added the Android Issues related to Android label Mar 11, 2025
Copy link
Contributor

@Rawa Rawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 48 of 48 files at r1, all commit messages.
Reviewable status: all files reviewed, 4 unresolved discussions


android/settings.gradle.kts line 26 at r1 (raw file):

    ":lib:resource",
    ":lib:shared",
    ":lib:shared-compose",

Let's talk about this name internally, I think we should align it how it fits in our gradle module restructuring.


android/lib/shared/src/main/kotlin/net/mullvad/mullvadvpn/lib/shared/InAppNotification.kt line 1 at r1 (raw file):

package net.mullvad.mullvadvpn.lib.shared

Should probably not be in shared but rather the lib/model


android/lib/shared-compose/src/main/kotlin/net/mullvad/mullvadvpn/lib/shared/compose/test/ComposeTestTagConstants.kt line 1 at r1 (raw file):

package net.mullvad.mullvadvpn.lib.shared.compose.test

Not sure where we want these testTags to live, both test and code use them. They are the worst, let's discuss internally when we talk about the rest of the modules.


android/lib/shared/src/main/kotlin/net/mullvad/mullvadvpn/lib/shared/VersionInfo.kt line 1 at r1 (raw file):

package net.mullvad.mullvadvpn.lib.shared

Possibly should be in domain (depending if it makes sense, it is more part of a repository thing it may still live here)

Copy link
Contributor Author

@kl kl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 47 of 49 files reviewed, 4 unresolved discussions (waiting on @Rawa)


android/lib/shared/src/main/kotlin/net/mullvad/mullvadvpn/lib/shared/InAppNotification.kt line 1 at r1 (raw file):

Previously, Rawa (David Göransson) wrote…

Should probably not be in shared but rather the lib/model

Done.


android/lib/shared/src/main/kotlin/net/mullvad/mullvadvpn/lib/shared/VersionInfo.kt line 1 at r1 (raw file):

Previously, Rawa (David Göransson) wrote…

Possibly should be in domain (depending if it makes sense, it is more part of a repository thing it may still live here)

Done.

@kl kl marked this pull request as ready for review March 12, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Issues related to Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants