Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Suggested Name

support-policy-cover-to-contact

Follow the launch recommendations below:

/wiki/spaces/IN/pages/4735172873

Code Changes

Intl-whitelabel-cms

Expand
titleschemas/support/documents/supportData.tsx

Add the support policy cover in “fields” property

Code Block
fields: [
  ...,
  {
    title: 'Support Policy Cover',
    name: 'supportPolicyCover',
    type: 'array',
    of: [
      {
        title: 'Privacy Policy Disclaimers Cell',
        name: 'privacyPolicyDisclaimersCell',
        type: 'privacyPolicyDisclaimersCell',
      },
    ],
    validation: (Rule: RuleType) => Rule.length(1),
  },
  ...,
]

Intl-whitelabel-app

...

Scenario

Steps

Result

Open the support form and show the policy cover field

  1. Enable the feature flag

  2. Go to support page

  3. Select the reason for support

  4. The support form will appear

A policy coverage field should appear below the “Describe your problem” field.

Open the support form and not show the policy cover field

  1. Disable the feature flag

  2. Go to support page

  3. Select the reason for support

  4. The support form will appear

A policy coverage field should not appear below the “Describe your problem” field.

Open the support form and show the policy cover field translated

  1. Enable the feature flag

  2. Change the language

  3. Go to support page

  4. Select the reason for support

  5. The support form will appear

A policy coverage field should appear below the “Describe your problem” field with the text translated.

Open the support form, the support policy cover is empty in sanity and not show the policy cover field in support page

  1. Enable the feature flag

  2. Support Policy Cover is empty in Sanity

  3. Go to support page

  4. Select the reason for support

  5. The support form will appear

A policy coverage field should not appear below the “Describe your problem” field.