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

Implement a custom version of CenterAlignedTopBar #383

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

hamorillo
Copy link
Contributor

Closes #379

Description

We want to stop relying on experimental Material3 components. We use two: ModalBottomSheet and CenterAlignedTopBar. This PR removes the second one and replaces it with a custom @Composable that we can easily switch to the original one when the experimental annotation is removed (if they preserve the definition).

Comparison with the previous version:

com gravatar quickeditor ui components QETopBarTest qrTopBarDark_compare
com gravatar quickeditor ui components QETopBarTest qrTopBarLight_compare

Testing Steps

Smoke test the QE including the XML activity. There should be no substantial visual differences.

@hamorillo hamorillo added enhancement Enhancement :gravatar-quickeditor Gravatar Quick Editor module labels Oct 10, 2024
@hamorillo hamorillo added this to the 2.0.0 milestone Oct 10, 2024
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Oct 10, 2024

📲 You can test the changes from this Pull Request in Gravatar Demo by scanning the QR code below to install the corresponding build.
App Name Gravatar Demo
Commit407de17
Direct Downloadgravatar-demo-prototype-build-pr383-407de17.apk

Copy link
Contributor

@AdamGrzybkowski AdamGrzybkowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@hamorillo hamorillo merged commit 9b0793f into trunk Oct 11, 2024
17 of 19 checks passed
@hamorillo hamorillo deleted the hamorillo/379-remove-center-aligned-top-bar branch October 11, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement :gravatar-quickeditor Gravatar Quick Editor module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace CenterAlignedTopBar
3 participants