client/components/mma/cancel/digipack/DigipackCancellationReasons.tsx (95 lines of code) (raw):

import { shuffleArray } from '@/client/utilities/utils'; import { inOrderToImproveSubs, standardAlternateFeedbackIntro, } from '../cancellationConstants'; import type { CancellationReason } from '../cancellationReason'; import { BreakFromNews } from '../GenericSaveBodyResponses'; export const digipackCancellationReasons: CancellationReason[] = [ { reasonId: 'mma_editorial', linkLabel: 'I am unhappy with Guardian journalism', saveBody: [ 'In order to improve our journalism, we’d love to know more about why you are thinking of cancelling.', ], alternateFeedbackIntro: standardAlternateFeedbackIntro, }, { reasonId: 'mma_financial_circumstances', linkLabel: 'A change in my financial circumstances', saveBody: [ 'We understand that financial circumstances can change from time to time.', 'Making a smaller contribution to the Guardian can be an inexpensive way of keeping journalism open for everyone to read and enjoy. Once you’ve completed your cancellation below, we hope you’ll consider a small one off or recurring contribution in the future.', ], skipFeedback: true, }, { reasonId: 'mma_support_another_way', linkLabel: 'I am going to support The Guardian in another way, eg. by subscribing', saveBody: [ 'Thank you for your ongoing support.', 'Once you’ve completed your cancellation below, you can set up a new product via our online checkouts.', ], skipFeedback: true, }, { reasonId: 'mma_health', linkLabel: 'Ill-health', saveBody: [ 'Thank you for your ongoing support.', 'Your subscription has ensured that our quality journalism remains open for everyone to read and enjoy.', 'Please confirm your cancellation below.', ], skipFeedback: true, }, { reasonId: 'mma_break_from_news', linkLabel: 'I am taking a break from news', saveBody: BreakFromNews, alternateFeedbackIntro: 'Alternatively we’d love to know more about what we could do better to help provide inspiring and trustworthy news.', }, { reasonId: 'mma_values', linkLabel: 'I don’t feel that The Guardian values my support', alternateFeedbackIntro: inOrderToImproveSubs, }, { reasonId: 'mma_benefits', linkLabel: 'None of the subscription benefits are of interest to me', alternateFeedbackIntro: inOrderToImproveSubs, }, { reasonId: 'mma_time', linkLabel: "I don't have time to use my subscription", alternateFeedbackIntro: inOrderToImproveSubs, }, { reasonId: 'mma_better_offer', linkLabel: "I've found a better offer with another publisher", alternateFeedbackIntro: inOrderToImproveSubs, }, { reasonId: 'mma_value_for_money', linkLabel: "I wasn't getting value for money", alternateFeedbackIntro: inOrderToImproveSubs, }, { reasonId: 'mma_issue', linkLabel: 'I’ve been experiencing technical or service problems', alternateFeedbackIntro: inOrderToImproveSubs, }, ]; export const otherCancellationReason: CancellationReason[] = [ { reasonId: 'mma_other', linkLabel: 'None of the above', saveTitle: 'Other', alternateFeedbackIntro: inOrderToImproveSubs, }, ]; export const shuffledDigipackCancellationReasons: CancellationReason[] = [ ...(shuffleArray(digipackCancellationReasons) as CancellationReason[]), ...otherCancellationReason, ];