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

[Internal] Refactoring Animated Builders used in pagination animation #65

Merged
merged 8 commits into from
Oct 3, 2023

Conversation

ulusoyca
Copy link
Collaborator

@ulusoyca ulusoyca commented Oct 1, 2023

Description:

This Pull Request addresses the current complexities and code duplication arising due to separate implementations for current and outgoing versions of animated builders.

The modifications should not introduce breaking changes to existing functionalities but improve the maintainability and clarity of the codebase. Hence, when testing make sure that nothing has changed visually.

Changes Introduced:

Unified Animated Builder Widgets:

The animated builder widgets for current and outgoing widgets have been unified to avoid redundancy, duplication and enhance code readability.

Renaming Widget Groups:

The current widget group has been renamed as the incoming widget group to reflect the changes more clearly and improve clarity in terminology.

Externalization of Animation Details:

The details to animation have been moved outside of the animated builders, making the internal structure of the animated builders more readible.

Introduction of Enum:

A new Enum, WoltModalSheetPageTransitionState, has been introduced, which is passed to the unified animated builder to differentiate between incoming and outgoing states efficiently.

@ulusoyca ulusoyca changed the title [Internal] Refactoring Animated Builders for pagination animation [Internal] Refactoring Animated Builders used in pagination animation Oct 1, 2023
@ulusoyca ulusoyca merged commit 3fc2dd3 into main Oct 3, 2023
@ulusoyca ulusoyca deleted the simplify-animated-builders-for-pagination-animation branch October 3, 2023 11:07
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.

None yet

2 participants