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

WIP: Rewrite the app user interface using Jetpack Compose #340

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from

Conversation

damontecres
Copy link
Owner

@damontecres damontecres commented Aug 3, 2024

This is a work in progress!

This is the beginning of a complete rewrite of the user interface using Jetpack Compose. "Jetpack Compose is Android’s recommended modern toolkit for building native UI." The current implementation using the Leanback UI toolkit is "discouraged".

This PR is not at all complete and large portions of the app do not work. Additionally, the theming and colors haven't been implemented.

Rationale

Switching to Compose brings some great advantages:

  1. Speed! Rendering the screens of the app is significantly faster!
  2. A navigation drawer
    • Allows for moving between data types without having to go all the way back to the home page
  3. Bypasses having to fix some problems such as Fragments do not follow correct practices #328
  4. Built-in UI components for "Immersive Lists" and "Featured carousels" (https://developer.android.com/design/ui/tv/guides/components)
    • These features are now ubiquitous in TV apps

Tasks

  • Home page
  • WIP: Scene details
    • Convert playback to compose?
  • Movie/Group details
  • Marker details
  • Performer details
  • Studio details
  • WIP: Tag details
  • Image details
    • Scroll between images
  • Gallery details
  • Filter page
    • Switch saved filters
    • Change sort by
  • Search page
  • Settings page?
  • Theme
  • ???

Sample screenshot

This is just a sample without any theming.

compose_home

@damontecres damontecres added the user interface Relates to the app's user interface/experience label Aug 3, 2024
@damontecres damontecres changed the title Rewrite the app user interface using Jetpack Compose WIP: Rewrite the app user interface using Jetpack Compose Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user interface Relates to the app's user interface/experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant