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 Success (kids-844) #767

Merged
merged 12 commits into from
May 24, 2024
Merged

Conversation

Daniela510
Copy link
Contributor

@Daniela510 Daniela510 commented May 23, 2024

Description

@Daniela510 Daniela510 requested a review from a team as a code owner May 23, 2024 16:12
@github-actions github-actions bot added the enhancement New feature or request label May 23, 2024
@Daniela510 Daniela510 changed the title Feature/kids 844 success screen Feature: Top Up Success (kids-844) May 23, 2024
@@ -67,7 +69,17 @@ class ChildDetailsPage extends StatelessWidget {
builder: (_) => const TopUpFailureDialog(),
);
} else if (state is ChildTopUpSuccessState) {
// TODO Kids-844
Navigator.push(
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice 👌

@@ -0,0 +1,9 @@
class TopUpSuccessUIModel {
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

Copy link
Contributor

Choose a reason for hiding this comment

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

Good work in implementing the UIModel. The only thing I would change is I would remove the "onClickButton" here as it isn't really "UI" but rather "logic". I would pass it as a parameter in the TopUpSuccessPage itself. That way when we use UIModels in our cubits the cubits don't need to know/ define the onClick.

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.

Looks good, one small comment!

@Daniela510 Daniela510 merged commit a589cde into develop May 24, 2024
1 check passed
@Daniela510 Daniela510 deleted the feature/kids-844-success-screen branch May 24, 2024 12:31
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.

3 participants