-
Notifications
You must be signed in to change notification settings - Fork 2
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
Pp 623 implement full screen skonto details snapshot from the invoice #622
Pp 623 implement full screen skonto details snapshot from the invoice #622
Conversation
…ils` object PP-623
…tion call and error handling into separate private methods - Extracted the `extractions` call into a new private method `startExtraction` - Moved error handling into a new private method `handleError` - Left the completion handler outside of the `handleError` method to maintain separation of concerns - Improved code modularity and readability PP-623
…mentServiceProtocol` PP-623
…CaptureNetworkService` public protocol PP-623
…wViewController` - `didTapInvoicePreview` added - cleanup in `SkontoVieModel` to follow easily the code PP-623
…Id: String, number: Int, sizeVariant: Document.Layout.SizeVariant)` PP-623
…: .zero, size: .zero)` PP-623
…formation into `DocumentPagesViewController` PP-623
…f possible PP-623
- Boolean literals should not be redundant PP-623
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.
@ValentinaIancu-Gini Great job! I left some suggestions, please let me know your thoughts!
On iPad landscape vertical scroll is not working (Image is displayed outside the frame at start and we can't scroll to the bottom/top), with horizontal all ok. Based on Figma, in landscape mode document should be displayed in full height:
https://github.com/user-attachments/assets/8fe0caca-5deb-42e1-b858-7ddde9c61629
After zooming, vertical scroll works strange, can't scroll to see image details:
https://github.com/user-attachments/assets/75320583-2c87-424d-b728-e5b82bf010ad
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Outdated
Show resolved
Hide resolved
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Outdated
Show resolved
Hide resolved
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Outdated
Show resolved
Hide resolved
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Outdated
Show resolved
Hide resolved
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Outdated
Show resolved
Hide resolved
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Outdated
Show resolved
Hide resolved
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Outdated
Show resolved
Hide resolved
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Show resolved
Hide resolved
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Outdated
Show resolved
Hide resolved
.../GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/DocumentPages/DocumentPagesViewController.swift
Outdated
Show resolved
Hide resolved
…parameters PP-623
… to retrieve pages for a document PP-623
…` and `large` cases and remove `SizeVariant` from Layout PP-623
…etching each page of the document PP-623
…loading indicator PP-623
… `scrollView.maximumZoomScale` PP-623
…n-Skonto-details-snapshot-from-the-invoice # Conflicts: # BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/SkontoCoordinator.swift # BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/SkontoViewModel.swift # BankSDK/GiniBankSDK/Sources/GiniBankSDK/Resources/GiniImages.swift
Quality Gate passedIssues Measures |
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.
@ValentinaIancu-Gini looks nice!
038951e
into
PP-Skonto-version-2.0
When the user taps that document preview view from the main screen(Skonto screen), the app should display the image of the invoice with the Skonto details highlighted in full-screen mode.