-
Notifications
You must be signed in to change notification settings - Fork 3
Pp 2255 credit note ux flow #1027
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
base: release/q1-2026-gini-bank
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements a credit note hint UX flow that conditionally presents a bottom sheet when a document is identified as a credit note. The implementation adds configuration checks to control when the credit note hint should be displayed.
- Added
determineIfCreditNoteHintEnabledmethod to check both global and client-side feature flags - Introduced
shouldProceedWithCreditNotehelper method to combine credit note detection with hint enablement logic - Updated test helper
ClientConfigurationinitializer to support credit note hint testing
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/GiniBankNetworkingScreenApiCoordinator.swift | Adds credit note hint enablement logic and integrates it into the document analysis flow through new helper methods |
| BankSDK/GiniBankSDK/Tests/GiniBankSDKTests/NetworkingScreenApiCoordinatorTests.swift | Adds comprehensive tests for determineIfCreditNoteHintEnabled and updates test helper to support credit note hint configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/GiniBankNetworkingScreenApiCoordinator.swift
Show resolved
Hide resolved
BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/GiniBankNetworkingScreenApiCoordinator.swift
Outdated
Show resolved
Hide resolved
|



Pull Request Description
PP-2255
This PR implements a credit note hint UX flow that conditionally presents a bottom sheet when a document is identified as a credit note. The implementation adds configuration checks to control when the credit note hint should be displayed.
Notes for Reviewers