Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 0.0.3 #8

Merged
merged 29 commits into from
Mar 27, 2024
Merged

Update to 0.0.3 #8

merged 29 commits into from
Mar 27, 2024

Conversation

funriser
Copy link
Collaborator

@funriser funriser commented Nov 15, 2023

  • Introduce ViewController as the new base class for all the screens and flows. The new API removes the necessity to subclass BaseScreen/BaseFlow to create a controller. Instead, you can plugin UI + Domain state management or flow logic to the ViewController using delegation instead of inheritance.
  • ControllerModelExtension holds reusable logic to delegate ControllerModel work and reuse it in the other models.
  • Added ControllerDescriptor to resolve controller instances without injecting extra dependencies to the screen or flow.
  • Added NavigationRequest to resolve navigation destinations asynchronously through the FeatureGateway.
  • New ViewController-based API brings support for the modals saved state restoration. Opening modals through FlowCoordinator or ModalCoordinator will make modals compatible with the saved state
  • Internal refactoring and bug fixes.
  • (WIP) Documentation update for the new changes.

# Conflicts:
#	samples/messenger/feature_chat_impl/src/main/java/com/revolut/kompot/sample/feature/chat/ChatFeatureHandlerDelegate.kt
#	samples/messenger/feature_contacts_impl/src/main/java/com/revolut/kompot/sample/feature/contacts/ContactsFeatureHandlerDelegate.kt
#	samples/messenger/playground/src/main/java/com/revolut/kompot/sample/playground/PlaygroundFeatureHandlerDelegate.kt
#	samples/messenger/test_core/build.gradle
#	samples/messenger/test_core/src/main/AndroidManifest.xml
#	samples/messenger/test_core/src/main/java/com/revolut/kompot/sample/test/core/TestDispatcherExtension.kt
# Conflicts:
#	samples/messenger/app/src/main/java/com/revolut/kompot/sample/Features.kt
#	samples/messenger/app/src/main/java/com/revolut/kompot/sample/di/AppModule.kt
#	samples/messenger/app/src/main/java/com/revolut/kompot/sample/ui/flows/root/RootFlowImpl.kt
#	samples/messenger/app/src/main/java/com/revolut/kompot/sample/ui/flows/root/RootFlowModel.kt
#	samples/messenger/app/src/main/java/com/revolut/kompot/sample/ui/flows/root/di/RootFlowComponent.kt
#	samples/messenger/build.gradle
#	samples/messenger/feature_chat_impl/src/main/java/com/revolut/kompot/sample/feature/chat/ChatFeatureGateway.kt
#	samples/messenger/feature_contacts_impl/src/main/java/com/revolut/kompot/sample/feature/contacts/ContactsFeatureGateway.kt
#	samples/messenger/feature_contacts_impl/src/main/java/com/revolut/kompot/sample/feature/contacts/di/ContactsFeatureComponent.kt
#	samples/messenger/kompot_sample_dependencies.gradle
#	samples/messenger/kompot_test_core/src/main/java/com/revolut/kompot/sample/test/core/TestDispatcherExtension.kt
#	samples/messenger/playground/src/main/java/com/revolut/kompot/sample/playground/PlaygroundFeatureGateway.kt
#	samples/messenger/settings.gradle
@funriser funriser requested a review from ezubkov November 15, 2023 12:58
@funriser funriser merged commit b0da9ef into main Mar 27, 2024
1 check passed
@funriser funriser deleted the pr/update_to_0_0_3 branch March 27, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants