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

Feature: top up screen (kids-843) #763

Merged
merged 7 commits into from
May 23, 2024
Merged

Conversation

Daniela510
Copy link
Contributor

Description

@Daniela510 Daniela510 requested a review from a team as a code owner May 23, 2024 13:37
@github-actions github-actions bot added the enhancement New feature or request label May 23, 2024
@@ -77,13 +78,67 @@ class ChildDetailsCubit extends Cubit<ChildDetailsState> {
}
}

Future<void> topUp(int amount) async {
await _logTopUpEvent(amount);
Copy link
Contributor

Choose a reason for hiding this comment

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

Small thing. Personally i would not "await" analytics event. So I would always wrap them in unawaited(); My reasoning is we wouldn't want to wait on analytics in the user experience and if analytics fail its not blocking for the app.

@@ -15,6 +15,10 @@ final class ChildDetailsFetchingState extends ChildDetailsState {
const ChildDetailsFetchingState();
}

final class ChildTupUpFundsErrorState extends ChildDetailsState {
Copy link
Contributor

Choose a reason for hiding this comment

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

tupup => topup

Copy link
Contributor

@TammiLion TammiLion left a comment

Choose a reason for hiding this comment

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

Very good, you apply learnings very fast and you split up future tickets nicely 👍

@Daniela510 Daniela510 merged commit e358379 into develop May 23, 2024
1 check passed
@Daniela510 Daniela510 deleted the feature/kids-843-top-up-screen branch May 23, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants