Skip to content

[MS-1339] MFID: add HAS_NUMBER_NO_ID skip reason#1592

Merged
alexandr-simprints merged 2 commits into
release/2025.4.1from
MS-1339-mfid-refine-skip-reasons
Feb 17, 2026
Merged

[MS-1339] MFID: add HAS_NUMBER_NO_ID skip reason#1592
alexandr-simprints merged 2 commits into
release/2025.4.1from
MS-1339-mfid-refine-skip-reasons

Conversation

@alexandr-simprints
Copy link
Copy Markdown
Contributor

JIRA ticket
Will be released in: 2025.4.1

Notable changes

  • HAS_NUMBER_NO_ID is added to the credential skip reasons
  • Cloud has added this value as well

Additional work checklist

  • Effect on other features and security has been considered
  • Other teams notified about the changes (if applicable)

Copy link
Copy Markdown

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 adds a new skip reason HAS_NUMBER_NO_ID for the MFID (Multi-Factor ID) credential skipping flow. This reason is intended for cases where a user has a credential number but not the physical credential document (e.g., has a booklet with the number but not the actual ID card). The change aligns with corresponding cloud backend updates mentioned in the PR description.

Changes:

  • Added HAS_NUMBER_NO_ID enum value to skip reason enums across domain and API layers
  • Added UI string resource with format placeholder for document type
  • Added radio button option in the skip screen UI with proper view-to-enum mapping

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
infra/events/src/main/java/com/simprints/infra/events/event/domain/models/ExternalCredentialSelectionEvent.kt Added HAS_NUMBER_NO_ID to the SkipReason enum as the first value
infra/event-sync/src/main/java/com/simprints/infra/eventsync/event/remote/models/ApiExternalCredentialSelectionPayload.kt Added HAS_NUMBER_NO_ID to API enum and updated exhaustive mapping function
infra/resources/src/main/res/values/strings.xml Added string resource mfid_skip_reason_has_number_no_id with format placeholder for credential type
feature/external-credential/src/main/res/layout/fragment_external_credential_skip.xml Added radio button UI element for the new skip reason at the top of the list
feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/skip/ExternalCredentialSkipFragment.kt Added mapping from radio button view ID to enum value; minor code formatting improvement in else block

@sonarqubecloud
Copy link
Copy Markdown

Comment thread infra/resources/src/main/res/values/strings.xml
@alexandr-simprints alexandr-simprints merged commit cefefb6 into release/2025.4.1 Feb 17, 2026
19 checks passed
@alexandr-simprints alexandr-simprints deleted the MS-1339-mfid-refine-skip-reasons branch February 17, 2026 10:49
meladRaouf pushed a commit that referenced this pull request Mar 3, 2026
* [MS-1339] Adding 'Has number, no card (booklet)' skip reason for MFID

* [MS-1339] Adding `HAS_NUMBER_NO_ID` credential skip reason

(cherry picked from commit cefefb6)
meladRaouf pushed a commit that referenced this pull request Mar 3, 2026
* [MS-1339] Adding 'Has number, no card (booklet)' skip reason for MFID

* [MS-1339] Adding `HAS_NUMBER_NO_ID` credential skip reason

(cherry picked from commit cefefb6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants