Skip to content

⚒️🎨 Migrate Profile to Composable#5943

Open
AndyScherzinger wants to merge 3 commits intomasterfrom
feat/noid/profileComposable
Open

⚒️🎨 Migrate Profile to Composable#5943
AndyScherzinger wants to merge 3 commits intomasterfrom
feat/noid/profileComposable

Conversation

@AndyScherzinger
Copy link
Member

@AndyScherzinger AndyScherzinger commented Mar 10, 2026

  • Migrate the activity and scope dialog layouts to composable
  • Move away from item adapter to be used for the scope dialog but use MutableList instead

Note: Ultimately but not done by this PR we should move to MVVM - When having/implementing a ProfileViewModel, the item list and updateScope belong there as a StateFlow<List<UserInfoDetailsItem>>. ScopeDialog's onScopeSelected would call viewModel.updateScope(position, scope) and the UI observes the flow. This would be even cleaner but is a larger refactor, making the review more complex. So better do it step by step.

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

  • polishing
  • Adding the ScopeDialog migration

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

@AndyScherzinger AndyScherzinger added the 2. developing Work in progress label Mar 10, 2026
@AndyScherzinger AndyScherzinger force-pushed the feat/noid/profileComposable branch from a1a692f to 7c08cfb Compare March 11, 2026 22:39
@AndyScherzinger AndyScherzinger added this to the 23.1.0 milestone Mar 11, 2026
@AndyScherzinger AndyScherzinger added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 11, 2026
@AndyScherzinger AndyScherzinger force-pushed the feat/noid/profileComposable branch 3 times, most recently from fe6e794 to 6dfb58e Compare March 12, 2026 06:22
@AndyScherzinger AndyScherzinger added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Mar 12, 2026
AI-assistant: Claude Code v2.1.72 (Claude Sonnet 4.6)

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
…y away from adapter to mutableList

AI-assistant: Claude Code v2.1.74 (Claude Sonnet 4.6)

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@AndyScherzinger AndyScherzinger force-pushed the feat/noid/profileComposable branch from 18e7c37 to a88468f Compare March 12, 2026 07:40
@github-actions
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings9893
Errors00

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1010
Dodgy code5454
Internationalization33
Malicious code vulnerability33
Performance44
Security11
Total8181

@github-actions
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/5943.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@AndyScherzinger AndyScherzinger marked this pull request as ready for review March 13, 2026 15:34
@AndyScherzinger AndyScherzinger added design Related to the design 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Related to the design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant