Skip to content

Added Mobile token data Builder#219

Merged
Hopsaheysa merged 17 commits intodevelopfrom
issues/218-mobile-token-builder
Nov 4, 2025
Merged

Added Mobile token data Builder#219
Hopsaheysa merged 17 commits intodevelopfrom
issues/218-mobile-token-builder

Conversation

@Hopsaheysa
Copy link
Member

#218

  • added MobileTokenData.Builder
  • added helper PreApprovalScreensRecorder

@Hopsaheysa Hopsaheysa requested a review from Copilot October 14, 2025 13:22
Copy link

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 introduces a new MobileTokenData.Builder system to provide a structured approach for composing additional data attached to operations during authorization or rejection. The builder supports both generic key-value pairs and structured records with time synchronization capabilities.

Key changes:

  • Added MobileTokenData.Builder for type-safe composition of operation metadata
  • Introduced PreApprovalScreensRecorder to track user flow through pre-approval screens with timestamped actions
  • Created MobileTokenDataRecord interface for extensible structured data records

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
PreApprovalScreenRecorder.kt New recorder class for tracking pre-approval screen visits with timestamps and user actions
MobileTokenDataRecord.kt Interface defining the contract for structured data records in the builder system
MobileTokenDataBuilder.kt Main builder class with thread-safe operations and helper management for composing mobile token data
IntegrationTests.kt Added comprehensive tests for the new builder system and pre-approval recorder functionality
Using-Operations-Service.md Updated documentation with examples and usage patterns for the new builder system
Migration-2.4.md Added migration notes describing the new MobileTokenData.Builder functionality

marek-ch
marek-ch previously approved these changes Oct 17, 2025
Copy link
Contributor

@marek-ch marek-ch left a comment

Choose a reason for hiding this comment

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

Ok for me, but I'd discuss the opened questions.

@Hopsaheysa Hopsaheysa requested a review from Copilot October 23, 2025 09:14
Copy link

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

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Comments suppressed due to low confidence (3)

docs/Using-Operations-Service.md:1

  • Corrected comment from 'Visit #1' to 'Visit #2' for the second intro-warning visit.
# Using Operations Service

docs/Using-Operations-Service.md:1

  • Corrected comment from 'Visit #2' to 'Visit #3' for the qr visit.
# Using Operations Service

docs/Using-Operations-Service.md:1

  • Corrected comment from 'Visit #3' to 'Visit #4' for the call-or-confirm visit.
# Using Operations Service

Copy link
Member

@kober32 kober32 left a comment

Choose a reason for hiding this comment

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

Looks OK, just fix the docs please and consider the small changes I suggested...

@Hopsaheysa Hopsaheysa requested a review from kober32 November 3, 2025 10:18
@Hopsaheysa Hopsaheysa merged commit a1362d2 into develop Nov 4, 2025
4 checks passed
@Hopsaheysa Hopsaheysa deleted the issues/218-mobile-token-builder branch November 4, 2025 09:36
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.

3 participants