Skip to content

Comments

manager: Add expandable module description support#3161

Merged
YuKongA merged 1 commit intomainfrom
expandable
Jan 18, 2026
Merged

manager: Add expandable module description support#3161
YuKongA merged 1 commit intomainfrom
expandable

Conversation

@YuKongA
Copy link
Collaborator

@YuKongA YuKongA commented Jan 18, 2026

Module descriptions are now expandable when clicked if a description is present. The description uses animated content size and toggles between a collapsed (4 lines, ellipsis) and expanded (full text) state for improved readability.

Module descriptions are now expandable when clicked if a description is present. The description uses animated content size and toggles between a collapsed (4 lines, ellipsis) and expanded (full text) state for improved readability.
Copilot AI review requested due to automatic review settings January 18, 2026 03:28
Copy link
Contributor

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 adds expandable module description functionality to the module list UI. When a module has a description, users can now click on the module card to toggle between a collapsed view (showing 4 lines with ellipsis) and an expanded view (showing the full description text) with smooth animation.

Changes:

  • Added animated content size support for module descriptions using Compose's animateContentSize modifier
  • Implemented expand/collapse state management with rememberSaveable to preserve state across recompositions
  • Added conditional onClick handler to Card component that toggles expansion only when a description exists

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

@YuKongA YuKongA merged commit 2ce1302 into main Jan 18, 2026
22 checks passed
@YuKongA YuKongA deleted the expandable branch January 18, 2026 03:40
KOWX712 pushed a commit to KOWX712/KernelSU that referenced this pull request Jan 18, 2026
Module descriptions are now expandable when clicked if a description is
present. The description uses animated content size and toggles between
a collapsed (4 lines, ellipsis) and expanded (full text) state for
improved readability.
PhuScam pushed a commit to PhuScam/KernelSU that referenced this pull request Feb 5, 2026
Module descriptions are now expandable when clicked if a description is
present. The description uses animated content size and toggles between
a collapsed (4 lines, ellipsis) and expanded (full text) state for
improved readability.
PhuScam pushed a commit to PhuScam/KernelSU that referenced this pull request Feb 18, 2026
Module descriptions are now expandable when clicked if a description is
present. The description uses animated content size and toggles between
a collapsed (4 lines, ellipsis) and expanded (full text) state for
improved readability.
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.

1 participant