Skip to content

Rewrite ProfilesDesign#84

Merged
Goooler merged 1 commit into
trunkfrom
rewrite-profile-design
Apr 20, 2026
Merged

Rewrite ProfilesDesign#84
Goooler merged 1 commit into
trunkfrom
rewrite-profile-design

Conversation

@Goooler
Copy link
Copy Markdown
Owner

@Goooler Goooler commented Apr 20, 2026

Refs #65.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR continues the Compose UI migration (refs #65) by rewriting the Profiles screen implementation to Compose and removing the legacy XML/DataBinding + RecyclerView-based UI.

Changes:

  • Replaced ProfilesDesign XML/RecyclerView implementation with a Compose-based screen including list rendering and a bottom-sheet menu.
  • Removed the old profiles layouts and adapter that are no longer used.
  • Simplified dialogs support by removing the custom AppBottomSheetDialog implementation.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
design/src/main/res/layout/dialog_profiles_menu.xml Removed legacy DataBinding bottom-sheet menu layout.
design/src/main/res/layout/design_profiles.xml Removed legacy DataBinding layout for the Profiles screen.
design/src/main/java/com/github/kr328/clash/design/dialog/Dialogs.kt Removed AppBottomSheetDialog implementation, leaving fullscreen dialog support.
design/src/main/java/com/github/kr328/clash/design/adapter/ProfileAdapter.kt Removed old RecyclerView adapter for profiles.
design/src/main/java/com/github/kr328/clash/design/ProfilesDesign.kt New Compose implementation for profiles list UI and actions.
app/src/main/AndroidManifest.xml Updated ProfilesActivity manifest entry (attributes removed).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/src/main/AndroidManifest.xml
@Goooler Goooler enabled auto-merge (squash) April 20, 2026 08:53
@Goooler Goooler merged commit 315c2cc into trunk Apr 20, 2026
5 checks passed
@Goooler Goooler deleted the rewrite-profile-design branch April 20, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants