Skip to content

Introduce CMP and AboutActivity rewrite#13486

Draft
theimpulson wants to merge 23 commits into
devfrom
cmp
Draft

Introduce CMP and AboutActivity rewrite#13486
theimpulson wants to merge 23 commits into
devfrom
cmp

Conversation

@theimpulson
Copy link
Copy Markdown
Member

@theimpulson theimpulson commented May 9, 2026

What is it?

  • Bugfix (user facing)
  • Feature (user facing) ⚠️ Your PR must target the refactor branch
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • Upgrades AGP and Gradle to latest stable releases
  • Introduces a new module for compose multi-platform changes (net.newpipe.app)
    • Targets Android, iOS (arm64 and simulator), JVM (can be packaged and run on Windows, Debian, and macOS)
  • Rewrites AboutActivity in compose (changes are imported from refactor but adapted for multi-platform)

Before/After Screenshots/Screen Record

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

theimpulson added 13 commits May 4, 2026 13:39
Building release builds is still broken on encrypted linux file systems but that's seems
to be not a priority for Google to fix. Upgrade so that developers can avoid suffering from
bugs such as preview rendering failure.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Rework for multiplatform support while cleaning and making logic more modular
for ease with testing individual components

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Current ones are planned to be deprecated in AGP 10.x

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
…on parameters

This will make it easier to test

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
The referenced doc is outdated but the information is still relevant in some way
especially the Gradle commands

Ref: https://kotlinlang.org/docs/multiplatform/compose-test.html

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This would allow us to declare compose related proguard rules for Android
in this module

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
@github-actions github-actions Bot added the size/giant PRs with more than 750 changed lines label May 9, 2026
theimpulson added 10 commits May 9, 2026 23:00
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This ensures it isn't clipped when shown as squricle

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Also remove committed files that contain personal configuration

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Consuming Scaffold's padding as it is applies padding for navigation bar
as well which disables drawing behind it effectively disabling edge to edge in a way.

Only consume the status bar padding for top and apply navigation bar padding as
content padding in LazyColumn directly

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Move important version properties to buildSrc directory to access between modules
as needed.

Also add a simple task to generate a simple BuildConfig class to access version name.
This is better than adding dependency on a third-party library/plugin.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Keep the model class file stricly to model

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
@theimpulson theimpulson marked this pull request as ready for review May 13, 2026 03:25
@theimpulson theimpulson marked this pull request as draft May 13, 2026 03:27
@ShareASmile ShareASmile added code quality Improvements to the codebase to improve the code quality meta Related to the project but not strictly to code multi-platform Issues/PRs related to the app on multi-platforms labels May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality Improvements to the codebase to improve the code quality meta Related to the project but not strictly to code multi-platform Issues/PRs related to the app on multi-platforms size/giant PRs with more than 750 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants