-
Notifications
You must be signed in to change notification settings - Fork 768
Documentation Done for feature/third-party-transfer #2988
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
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis PR introduces status-based sorting for savings accounts with improved display formatting, adds comprehensive navigation infrastructure for the third-party transfer feature with new sealed navigation types and helpers, and enhances screen composables with ViewModel injection and modifier parameters. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant TptScreen
participant TptViewModel
participant Navigation
User->>TptScreen: Interact with form
TptScreen->>TptViewModel: onAction(TptAction)
TptViewModel->>TptViewModel: Update state
TptViewModel-->>TptScreen: Emit new state
TptScreen->>TptScreen: Recompose with updated state
alt Navigation triggered
TptScreen->>Navigation: onNavigate(TptNavigationDestination)
Navigation->>Navigation: Route to destination<br/>(Notification, TransferProcess,<br/>or AddBeneficiaryScreen)
end
sequenceDiagram
participant User
participant SavingsAccountScreen
participant State
participant Display
State->>SavingsAccountScreen: savingsAccount list
SavingsAccountScreen->>SavingsAccountScreen: Sort by statusOrder<br/>(ACTIVE → PENDING →<br/>CLOSED → INACTIVE)
SavingsAccountScreen->>Display: sortedAccounts
loop For each account
alt Account is ACTIVE
Display->>Display: Show formatted<br/>currency balance
else Account is SUBMIT_AND_PENDING_APPROVAL
Display->>Display: Show pending-approval<br/>localized text
else
Display->>Display: Show status or empty
end
Display->>User: Render account card<br/>with appropriate status
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Possibly related PRs
Suggested reviewers
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes - Jira-#Issue_Number
Didn't create a Jira ticket, click here to create new.
Please Add Screenshots If there are any UI changes.
Please make sure these boxes are checked before submitting your pull request - thanks!
Run the static analysis check
./gradlew checkorci-prepush.shto make sure you didn't break anythingIf you have multiple commits please combine them into one commit by squashing them.
Summary by CodeRabbit
New Features
Improvements