Skip to content

Conversation

@qnaveed87
Copy link
Contributor

@qnaveed87 qnaveed87 commented Dec 18, 2025

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

  • Added determineIfCreditNoteHintEnabled method to check both global and client-side feature flags
  • Introduced shouldProceedWithCreditNote helper method to combine credit note detection with hint enablement logic
  • Updated test helper ClientConfiguration initializer to support credit note hint testing

Copy link
Contributor

Copilot AI left a 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 determineIfCreditNoteHintEnabled method to check both global and client-side feature flags
  • Introduced shouldProceedWithCreditNote helper method to combine credit note detection with hint enablement logic
  • Updated test helper ClientConfiguration initializer 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.

@qnaveed87 qnaveed87 deployed to firebase-manual-deploy December 18, 2025 16:33 — with GitHub Actions Active
@sonarqubecloud
Copy link

Base automatically changed from PP-2243-implement-configuration-switch to release/q1-2026-gini-bank December 19, 2025 09:35
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