Open arkivanov opened 22 hours ago
[!NOTE] Currently processing new changes in this PR. This may take a few minutes, please wait...
📥 Commits
Reviewing files that changed from the base of the PR and between 960d81a9011adacf1b4c62f5092ac3c657e912c9 and 56c2601efa92f2a90cac64c2a2285e1535c1529a.📒 Files selected for processing (4)
* `decompose/src/commonMain/kotlin/com/arkivanov/decompose/router/panels/ChildPanels.kt` (1 hunks) * `decompose/src/commonMain/kotlin/com/arkivanov/decompose/router/panels/Panels.kt` (1 hunks) * `extensions-compose-experimental/api/extensions-compose-experimental.klib.api` (1 hunks) * `extensions-compose-experimental/src/commonMain/kotlin/com/arkivanov/decompose/extensions/compose/experimental/panels/ChildPanels.kt` (2 hunks)___________________________________________________________ < Finding disturbances in the code before the Jedi Masters. > ----------------------------------------------------------- \ \ (\__/) (•ㅅ•) / づ
[!TIP]
You can get early access to new features in CodeRabbit.
Enable the `early_access` setting in your project's settings in CodeRabbit to enable early access features such as new models, tools, and more.
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?
This pull request introduces several modifications to the ChildPanels
and Panels
data classes, enhancing their type safety by adding new type parameters. The ChildPanels
class now includes six parameters, while the Panels
class has three additional parameters. Furthermore, changes in the extensions-compose-experimental
library involve new methods and updates to existing signatures, particularly in interfaces related to stack animations and child panels. The overall structure of the API is refined to improve flexibility and type safety.
File | Change Summary |
---|---|
decompose/src/commonMain/kotlin/com/arkivanov/decompose/router/panels/ChildPanels.kt |
- Added six new type parameters (MC , MT , DC , DT , EC , ET ) to the ChildPanels data class. - Updated documentation to describe new parameters and their roles. |
decompose/src/commonMain/kotlin/com/arkivanov/decompose/router/panels/Panels.kt |
- Added three new type parameters (MC , DC , EC ) to the Panels data class. - Updated documentation to reflect these changes. |
extensions-compose-experimental/api/extensions-compose-experimental.klib.api |
- Introduced new methods and interfaces, including an animate method in StackAnimator and modifications to ChildPanels function signatures. - Updated constructors for ChildPanelsAnimators and PredictiveBackParams . |
extensions-compose-experimental/src/commonMain/kotlin/com/arkivanov/decompose/extensions/compose/experimental/panels/ChildPanels.kt |
- Updated ChildPanels function signatures to replace wildcard generics with Nothing , enhancing type safety. - Adjusted the predictiveBackParams parameter type to align with the new ChildPanels type signature. |
ChildPanels
class and related functionality, which directly relates to the modifications made in the ChildPanels
data class in the main PR.ChildPanels
, enhancing the handling of empty states, which is relevant to the updates made in the ChildPanels
class in the main PR.🐰 In the land of code where rabbits play,
New types hop in to brighten the day.
ChildPanels now with parameters galore,
Flexibility blooms, oh what a score!
With safety in mind, we leap and we bound,
In the garden of code, new joys abound! 🌼
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?
Summary by CodeRabbit
New Features
ChildPanels
andPanels
.StackAnimator
andChildPanelsLayout
interfaces to improve animation handling and child panel rendering.Documentation
ChildPanels
andPanels
classes.These changes improve the overall functionality and user experience when working with panel configurations and animations.