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

GEN-2539 New design/forever feature shared #2288

Merged
merged 13 commits into from
Nov 15, 2024

Conversation

panasetskaya
Copy link
Contributor

@panasetskaya panasetskaya commented Nov 15, 2024

Forever UI to new DS.
Also I didn't really like how it looked while initially loading, so I added placeholder there.
And changed the structure quite a lot, since there were many workaround old bottom sheets, I think? Let me know what you think about it.
The success snackbar wasn't showing in prod, btw, so fixed that too

@panasetskaya panasetskaya requested a review from a team as a code owner November 15, 2024 09:36
}
LaunchedEffect(uiState.showEditReferralCodeBottomSheet) {
if (!uiState.showEditReferralCodeBottomSheet) {
delay(500) // to avoid extra animation effects on closing bottom sheet
Copy link
Contributor Author

@panasetskaya panasetskaya Nov 15, 2024

Choose a reason for hiding this comment

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

okay, so this delay is ugly, I admit, but it's the only way that I could find to restore the unsubmitted value back on closing the BS and don't have a weird animation effect because of submit error/changed textFieldValue in the BS being restored at the same time as it is closing

@panasetskaya panasetskaya changed the title New design/forever feature shared GEN-2539 New design/forever feature shared Nov 15, 2024
Copy link

@panasetskaya panasetskaya changed the base branch from develop to ds/insurances November 15, 2024 10:01
Base automatically changed from ds/insurances to develop November 15, 2024 15:38
@StylianosGakis StylianosGakis merged commit c05c9c9 into develop Nov 15, 2024
4 checks passed
@StylianosGakis StylianosGakis deleted the new-design/forever-feature-shared branch November 15, 2024 15:38
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.

2 participants