Skip to content

AboutActivity rewrite#13486

Open
theimpulson wants to merge 9 commits into
devfrom
cmp
Open

AboutActivity rewrite#13486
theimpulson wants to merge 9 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

@github-actions github-actions Bot added the size/giant PRs with more than 750 changed lines label May 9, 2026
@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
@theimpulson theimpulson reopened this May 21, 2026
The plugin traverses child libraries automatically, so adding it to the parent modules
allows us to include dependencies of the whole app and not just the shared part.

Configure app and desktopApp to generate the BOM in respective directories
of shared module. As iosApp only contains swift, add it's configuration in shared.

Also override extractor and evernote's messed up license

Generated using: ./gradlew exportLibraryDefinitions

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
It seems the licenses in the generated BOM by aboutlibraries plugin isn't consistent
and changes without any reason

Licenses were downloaded using reuse tool

reuse --root shared/src/commonMain/composeResources/files/ download Apache-2.0 BSD-2-Clause EPL-1.0 GPL-3.0-only GPL-3.0-or-later MIT MPL-2.0 MIT-0

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>
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 June 2, 2026 09:22
@theimpulson theimpulson changed the title Introduce CMP and AboutActivity rewrite AboutActivity rewrite Jun 2, 2026
Actual pages require Koin to handle callbacks which we don't need during preview.
Extract page setup into a parameter and override it to page content during preview.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
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