Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Add simple progressive reg components and routes #811

Draft
wants to merge 23 commits into
base: master
Choose a base branch
from

Conversation

B77Mills
Copy link
Member

Initial port from profile components and routes as it will have to support the same variation of inputs. It does have added logic to only display one question at the moment based on array of configured ids.

Example of what to add to the identityX config:

 progressiveQuestions: [
    {
      id: 'givenName',
    },
    {
      id: 'familyName',
    },
    {
      id: '618a8a62934f8400ad4beb8f',
    },
    {
      id: '626fe91c79d99b27544a4c9f',
    },

  ],

It will only display on unanswered question in order at the moment.

B77Mills and others added 21 commits June 18, 2024 15:00
Initial port from profile components and routes as it will have to support the same variation of inputs.  It does have added logic to only display one question at the moment based on array of configured ids.

example: [ givenName, familyName, phone, 618a8a62934f8400ad4beb8f]

It will only display on unanswered question in order at the moment.
This will be used on the wrapping components to determing timing as to when it will next display.  Guessing we will also have to add progression logic here… like number of ansered vs total.
Meaning postal code wont be asked unless country code is us, canada or mexico or other address related logic like region code is also not able to be asked based on country.
Everything is required when visible.  Also update address field logic so that only the postalCode & regionCode fields are dependent on countryCode bein answered.

Also add visible logic to consent input in oreder to display when not answered.
Add requiresPUI(progressive user input) and validation on the identityX access service call.  this will allow us to add to the identityX access check on content landing pages in order to use progressive reg on content gate.
Initial port from profile components and routes as it will have to support the same variation of inputs.  It does have added logic to only display one question at the moment based on array of configured ids.

example: [ givenName, familyName, phone, 618a8a62934f8400ad4beb8f]

It will only display on unanswered question in order at the moment.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants