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

[Enhancement] Add shared element transitions to Compose screens #604

Open
2 tasks
EdricChan03 opened this issue Apr 5, 2024 · 0 comments
Open
2 tasks
Labels
comp: design Issues/PRs related to the app's design. enhancement Enhancements to the Android app. For the web version, please use the other repo instead. user interface Issues/PRs related to the mentioning/fixing of the UI.

Comments

@EdricChan03
Copy link
Owner

EdricChan03 commented Apr 5, 2024

Sub-tracking issue for #368 to add shared element transitions where applicable (e.g. tasks list screen -> task details screen)

Shared element transitions have officially landed in Compose Animation 1.7.x 🥳, so the information below is no longer applicable

Old notes

Now that shared element transitions have landed in the AndroidX repository (but is unfortunately yet to be released in an alpha), we can try experimenting with it. The linked twitter X thread shows that we can try it out by using a snapshot version, perhaps something like below:

settings.gradle.kts

repositories {
  maven(url = "https://androidx.dev/snapshots/builds/11677275/artifacts/repository")
}

gradle/libs.versions.toml

-androidx-compose-animation = { module = "androidx.compose.animation:animation", version.ref = "androidx-compose" }
+androidx-compose-animation = "androidx.compose.animation:animation:1.7.0-SNAPSHOT"

Because there's currently no alpha release with this change, the "blocked" tag is added for now

Tasks

@EdricChan03 EdricChan03 added enhancement Enhancements to the Android app. For the web version, please use the other repo instead. user interface Issues/PRs related to the mentioning/fixing of the UI. comp: design Issues/PRs related to the app's design. blocked Issues/PRs that are currently blocked by external factors. labels Apr 5, 2024
@EdricChan03 EdricChan03 changed the title [Enhancement] Add shared element transitions to Compose code [Enhancement] Add shared element transitions to Compose screens Apr 5, 2024
@EdricChan03 EdricChan03 moved this from Todo to Backlog in StudyBuddy Apr 14, 2024
@EdricChan03 EdricChan03 removed the blocked Issues/PRs that are currently blocked by external factors. label Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: design Issues/PRs related to the app's design. enhancement Enhancements to the Android app. For the web version, please use the other repo instead. user interface Issues/PRs related to the mentioning/fixing of the UI.
Projects
Status: Backlog
Development

No branches or pull requests

1 participant