Closed arkivanov closed 3 months ago
The recent changes enhance the stability of the decompose
library by removing the @ExperimentalDecomposeApi
annotation from multiple classes and functions, indicating their readiness for production use. The Pages
class has been renamed to ChildPages
, reflecting a more focused approach to child page management and improving the clarity of the API.
Files | Change Summary |
---|---|
.../ChildPages.kt , .../ChildPagesFactory.kt , .../Pages.kt , .../PagesNavigation.kt , .../PagesNavigator.kt , .../PagesNavigatorExt.kt |
Removed @ExperimentalDecomposeApi annotation from classes and functions to indicate stability. |
.../extensions-compose/pages/ComposableSingletons$PagesKt , .../extensions-compose/jvm/extensions-compose.api , .../extensions-compose/src/commonMain/kotlin/... |
Renamed Pages to ChildPages for clarity; added new function signatures for child page routing and animation. |
.../extensions-compose/src/jvmTest/kotlin/.../ChildPagesTest.kt |
Renamed test class and functions from PagesTest to ChildPagesTest to align with the updated structure. |
.../sample/shared/compose/src/commonMain/kotlin/.../PagesContent.kt |
Cleaned up unused import statements and removed @OptIn annotations, streamlining the content. |
sequenceDiagram
participant User
participant ChildPages
participant Navigator
User->>ChildPages: Request to display child pages
ChildPages->>Navigator: Route to selected child page
Navigator->>ChildPages: Render the requested child page
ChildPages-->>User: Display child page content
🐇 In the code we hop and play,
WithChildPages
here to stay!
No more experiments in the air,
Just stable paths for us to share.
Hooray for changes, bright and new,
A joyful journey, me and you! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Closes #752.
Summary by CodeRabbit
New Features
ChildPages
functionality for enhanced child page routing and animation control.ChildPages
functions for greater flexibility in child page management.Bug Fixes
Refactor
Pages
function toChildPages
for clarity.PagesTest
toChildPagesTest
to reflect the new naming.Documentation