Skip to content
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

feat: allow redirects to be configured in next; query param redirect; add polling timeout #1197

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

jenbutongit
Copy link
Contributor

@jenbutongit jenbutongit commented Feb 6, 2024

Description

Merging the beta branch into main. The changes include:

  • Allow the next page to be a redirect to another URL. It must be a fully qualified URL.
  {
    "pages": [
      {
        "title": "Start",
        "path": "/start",
        "section": "beforeYouStart",
        "components": [
          {
            "name": "country",
            "type": "AutocompleteField",
            "title": "Country",
            "nameHasError": false,
            "list": "SfkWjb"
          }
        ],
        "next": [
          {
            "path": "/second-page"
          },
          {
            "redirect": "http://localhost:3009/help/cookies",
            "condition": "shouldRedirectToCookiesPage"
            "path": "/second-page"
          }
        ]
      },
    ]

  }

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce
the testing if necessary.

  • manual
  • smoke

@jenbutongit jenbutongit merged commit 8665692 into main Feb 6, 2024
22 checks passed
@jenbutongit jenbutongit deleted the beta branch February 7, 2024 13:43
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