Hide epic payment icons when url not to support
What does this change?
Uses a new value in amp-state which checks if the URL is not pointing to the support site. If set to true, it is used to hide the payment icons within the Epic.
co-authored-by @andrewHEguardian
Why?
The epic is occasionally used for email sign up and similar where the payment cards are not relevant.
NOTE: Requires this PR in support-dotcom-components to be merged first.
Screenshots
| Before | After |
|---|---|
Hello :wave:! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.
You will need to reapply the label each time you want to run Chromatic.
Size Change: 0 B
Total Size: 835 kB
ℹ️ View Unchanged
| Filename | Size |
|---|---|
dotcom-rendering/dist/1006.client.web.********************.js |
3.18 kB |
dotcom-rendering/dist/1045.client.web.********************.js |
12.5 kB |
dotcom-rendering/dist/1094.client.web.********************.js |
5.93 kB |
dotcom-rendering/dist/110.client.web.********************.js |
8.8 kB |
dotcom-rendering/dist/1225.client.web.********************.js |
781 B |
dotcom-rendering/dist/1299.client.web.********************.js |
926 B |
dotcom-rendering/dist/1568.client.web.********************.js |
18 kB |
dotcom-rendering/dist/1640.client.web.********************.js |
4.83 kB |
dotcom-rendering/dist/1735.client.web.********************.js |
2.42 kB |
dotcom-rendering/dist/1762.client.web.********************.js |
3.4 kB |
dotcom-rendering/dist/1821.client.web.********************.js |
3.83 kB |
dotcom-rendering/dist/1889.client.web.********************.js |
3.61 kB |
dotcom-rendering/dist/2170.client.web.********************.js |
6.75 kB |
dotcom-rendering/dist/2193.client.web.********************.js |
3.88 kB |
dotcom-rendering/dist/226.client.web.********************.js |
3.94 kB |
dotcom-rendering/dist/2302.client.web.********************.js |
3.39 kB |
dotcom-rendering/dist/2342.client.web.********************.js |
1 kB |
dotcom-rendering/dist/2344.client.web.********************.js |
3.35 kB |
dotcom-rendering/dist/2373.client.web.********************.js |
10.5 kB |
dotcom-rendering/dist/2471.client.web.********************.js |
715 B |
dotcom-rendering/dist/2518.client.web.********************.js |
2.66 kB |
dotcom-rendering/dist/2778.client.web.********************.js |
853 B |
dotcom-rendering/dist/2784.client.web.********************.js |
5.86 kB |
dotcom-rendering/dist/2792.client.web.********************.js |
6.41 kB |
dotcom-rendering/dist/2813.client.web.********************.js |
3.84 kB |
dotcom-rendering/dist/2920.client.web.********************.js |
526 B |
dotcom-rendering/dist/3000.client.web.********************.js |
887 B |
dotcom-rendering/dist/3114.client.web.********************.js |
651 B |
dotcom-rendering/dist/3118.client.web.********************.js |
496 B |
dotcom-rendering/dist/3255.client.web.********************.js |
803 B |
dotcom-rendering/dist/3336.client.web.********************.js |
781 B |
dotcom-rendering/dist/3413.client.web.********************.js |
3.58 kB |
dotcom-rendering/dist/3494.client.web.********************.js |
823 B |
dotcom-rendering/dist/3642.client.web.********************.js |
787 B |
dotcom-rendering/dist/3787.client.web.********************.js |
5.51 kB |
dotcom-rendering/dist/3922.client.web.********************.js |
724 B |
dotcom-rendering/dist/3925.client.web.********************.js |
4.79 kB |
dotcom-rendering/dist/3927.client.web.********************.js |
3.1 kB |
dotcom-rendering/dist/3932.client.web.********************.js |
789 B |
dotcom-rendering/dist/4021.client.web.********************.js |
4.29 kB |
dotcom-rendering/dist/4103.client.web.********************.js |
22.6 kB |
dotcom-rendering/dist/42.client.web.********************.js |
2.92 kB |
dotcom-rendering/dist/4200.client.web.********************.js |
3.58 kB |
dotcom-rendering/dist/424.client.web.********************.js |
749 B |
dotcom-rendering/dist/4442.client.web.********************.js |
823 B |
dotcom-rendering/dist/4597.client.web.********************.js |
2.98 kB |
dotcom-rendering/dist/4666.client.web.********************.js |
9.16 kB |
dotcom-rendering/dist/4673.client.web.********************.js |
723 B |
dotcom-rendering/dist/4811.client.web.********************.js |
994 B |
dotcom-rendering/dist/4935.client.web.********************.js |
3.5 kB |
dotcom-rendering/dist/5027.client.web.********************.js |
3.98 kB |
dotcom-rendering/dist/5044.client.web.********************.js |
804 B |
dotcom-rendering/dist/5055.client.web.********************.js |
2.65 kB |
dotcom-rendering/dist/5077.client.web.********************.js |
441 B |
dotcom-rendering/dist/5084.client.web.********************.js |
751 B |
dotcom-rendering/dist/5247.client.web.********************.js |
2.94 kB |
dotcom-rendering/dist/5308.client.web.********************.js |
2.7 kB |
dotcom-rendering/dist/5339.client.web.********************.js |
3.53 kB |
dotcom-rendering/dist/5437.client.web.********************.js |
3.29 kB |
dotcom-rendering/dist/565.client.web.********************.js |
669 B |
dotcom-rendering/dist/5817.client.web.********************.js |
915 B |
dotcom-rendering/dist/585.client.web.********************.js |
3.01 kB |
dotcom-rendering/dist/5934.client.web.********************.js |
8.25 kB |
dotcom-rendering/dist/6002.client.web.********************.js |
3.09 kB |
dotcom-rendering/dist/6093.client.web.********************.js |
749 B |
dotcom-rendering/dist/6167.client.web.********************.js |
640 B |
dotcom-rendering/dist/6351.client.web.********************.js |
6.09 kB |
dotcom-rendering/dist/6640.client.web.********************.js |
906 B |
dotcom-rendering/dist/7116.client.web.********************.js |
23 kB |
dotcom-rendering/dist/7196.client.web.********************.js |
889 B |
dotcom-rendering/dist/72.client.web.********************.js |
961 B |
dotcom-rendering/dist/7270.client.web.********************.js |
155 B |
dotcom-rendering/dist/7387.client.web.********************.js |
955 B |
dotcom-rendering/dist/7660.client.web.********************.js |
3.65 kB |
dotcom-rendering/dist/7697.client.web.********************.js |
619 B |
dotcom-rendering/dist/7723.client.web.********************.js |
921 B |
dotcom-rendering/dist/7727.client.web.********************.js |
3.34 kB |
dotcom-rendering/dist/7740.client.web.********************.js |
4.42 kB |
dotcom-rendering/dist/8058.client.web.********************.js |
3.22 kB |
dotcom-rendering/dist/8134.client.web.********************.js |
595 B |
dotcom-rendering/dist/8179.client.web.********************.js |
825 B |
dotcom-rendering/dist/8239.client.web.********************.js |
3 kB |
dotcom-rendering/dist/8253.client.web.********************.js |
5.87 kB |
dotcom-rendering/dist/8279.client.web.********************.js |
42.9 kB |
dotcom-rendering/dist/8334.client.web.********************.js |
3.3 kB |
dotcom-rendering/dist/8565.client.web.********************.js |
642 B |
dotcom-rendering/dist/8677.client.web.********************.js |
2.81 kB |
dotcom-rendering/dist/8768.client.web.********************.js |
1.54 kB |
dotcom-rendering/dist/8791.client.web.********************.js |
1 kB |
dotcom-rendering/dist/889.client.web.********************.js |
854 B |
dotcom-rendering/dist/8907.client.web.********************.js |
789 B |
dotcom-rendering/dist/898.client.web.********************.js |
4.43 kB |
dotcom-rendering/dist/9060.client.web.********************.js |
877 B |
dotcom-rendering/dist/9211.client.web.********************.js |
3.83 kB |
dotcom-rendering/dist/9225.client.web.********************.js |
582 B |
dotcom-rendering/dist/9396.client.web.********************.js |
680 B |
dotcom-rendering/dist/9430.client.web.********************.js |
508 B |
dotcom-rendering/dist/9551.client.web.********************.js |
4.3 kB |
dotcom-rendering/dist/9604.client.web.********************.js |
530 B |
dotcom-rendering/dist/9732.client.web.********************.js |
2.91 kB |
dotcom-rendering/dist/9789.client.web.********************.js |
922 B |
dotcom-rendering/dist/9936.client.web.********************.js |
1.85 kB |
dotcom-rendering/dist/AdBlockAsk-importable.client.web.********************.js |
2.85 kB |
dotcom-rendering/dist/AdPortals-importable.client.web.********************.js |
3.76 kB |
dotcom-rendering/dist/AlreadyVisited-importable.client.web.********************.js |
422 B |
dotcom-rendering/dist/AppsEpic-importable.client.web.********************.js |
3.52 kB |
dotcom-rendering/dist/AppsFooter-importable.client.web.********************.js |
3.62 kB |
dotcom-rendering/dist/AppsLightboxImage-importable.client.web.********************.js |
3.02 kB |
dotcom-rendering/dist/AppsLightboxImageStore-importable.client.web.********************.js |
2.46 kB |
dotcom-rendering/dist/AudioAtomWrapper-importable.client.web.********************.js |
3.58 kB |
dotcom-rendering/dist/AustralianTerritorySwitcher-importable.client.web.********************.js |
2.01 kB |
dotcom-rendering/dist/Branding-importable.client.web.********************.js |
3.08 kB |
dotcom-rendering/dist/braze-web-sdk-core.client.web.********************.js |
36.9 kB |
dotcom-rendering/dist/BrazeMessaging-importable.client.web.********************.js |
1.91 kB |
dotcom-rendering/dist/CalloutBlockComponent-importable.client.web.********************.js |
6.74 kB |
dotcom-rendering/dist/CalloutEmbedBlockComponent-importable.client.web.********************.js |
5.75 kB |
dotcom-rendering/dist/CardCommentCount-importable.client.web.********************.js |
4.96 kB |
dotcom-rendering/dist/Carousel-importable.client.web.********************.js |
5.7 kB |
dotcom-rendering/dist/CarouselForNewsletters-importable.client.web.********************.js |
6.26 kB |
dotcom-rendering/dist/ChartAtom-importable.client.web.********************.js |
537 B |
dotcom-rendering/dist/CommentCount-importable.client.web.********************.js |
3.27 kB |
dotcom-rendering/dist/DiscussionApps-importable.client.web.********************.js |
1.81 kB |
dotcom-rendering/dist/DiscussionMeta-importable.client.web.********************.js |
3.08 kB |
dotcom-rendering/dist/DiscussionWeb-importable.client.web.********************.js |
1.67 kB |
dotcom-rendering/dist/DocumentBlockComponent-importable.client.web.********************.js |
3.55 kB |
dotcom-rendering/dist/EmbedBlockComponent-importable.client.web.********************.js |
4.1 kB |
dotcom-rendering/dist/EnhancePinnedPost-importable.client.web.********************.js |
2.01 kB |
dotcom-rendering/dist/FetchOnwardsData-importable.client.web.********************.js |
2.44 kB |
dotcom-rendering/dist/FilterKeyEventsToggle-importable.client.web.********************.js |
5.23 kB |
dotcom-rendering/dist/FocusStyles-importable.client.web.********************.js |
623 B |
dotcom-rendering/dist/FollowWrapper-importable.client.web.********************.js |
845 B |
dotcom-rendering/dist/FooterLabel-importable.client.web.********************.js |
342 B |
dotcom-rendering/dist/frameworks.client.web.********************.js |
20.7 kB |
dotcom-rendering/dist/GetCricketScoreboard-importable.client.web.********************.js |
4.49 kB |
dotcom-rendering/dist/GetMatchNav-importable.client.web.********************.js |
10.9 kB |
dotcom-rendering/dist/GetMatchStats-importable.client.web.********************.js |
2.19 kB |
dotcom-rendering/dist/GetMatchTabs-importable.client.web.********************.js |
2.65 kB |
dotcom-rendering/dist/guardian-braze-components-banner.client.web.********************.js |
16.6 kB |
dotcom-rendering/dist/guardian-braze-components-end-of-article.client.web.********************.js |
11.1 kB |
dotcom-rendering/dist/GuideAtomWrapper-importable.client.web.********************.js |
3.01 kB |
dotcom-rendering/dist/HeaderTopBar-importable.client.web.********************.js |
7.05 kB |
dotcom-rendering/dist/index.client.web.********************.js |
46.8 kB |
dotcom-rendering/dist/InstagramBlockComponent-importable.client.web.********************.js |
3.65 kB |
dotcom-rendering/dist/InteractiveAtomMessenger-importable.client.web.********************.js |
854 B |
dotcom-rendering/dist/InteractiveBlockComponent-importable.client.web.********************.js |
6.28 kB |
dotcom-rendering/dist/InteractiveContentsBlockComponent-importable.client.web.********************.js |
4.66 kB |
dotcom-rendering/dist/InteractiveSupportButton-importable.client.web.********************.js |
3.48 kB |
dotcom-rendering/dist/KeyEventsCarousel-importable.client.web.********************.js |
4.85 kB |
dotcom-rendering/dist/KnowledgeQuizAtom-importable.client.web.********************.js |
3.5 kB |
dotcom-rendering/dist/LatestLinks-importable.client.web.********************.js |
4.26 kB |
dotcom-rendering/dist/LightboxHash-importable.client.web.********************.js |
434 B |
dotcom-rendering/dist/LightboxLayout-importable.client.web.********************.js |
6.43 kB |
dotcom-rendering/dist/LiveBlogEpic-importable.client.web.********************.js |
3.69 kB |
dotcom-rendering/dist/Liveness-importable.client.web.********************.js |
4.93 kB |
dotcom-rendering/dist/ManyNewsletterSignUp-importable.client.web.********************.js |
5.95 kB |
dotcom-rendering/dist/MapEmbedBlockComponent-importable.client.web.********************.js |
5.75 kB |
dotcom-rendering/dist/Metrics-importable.client.web.********************.js |
2.97 kB |
dotcom-rendering/dist/MostViewedFooter-importable.client.web.********************.js |
4.03 kB |
dotcom-rendering/dist/MostViewedFooterData-importable.client.web.********************.js |
6.72 kB |
dotcom-rendering/dist/MostViewedRightWrapper-importable.client.web.********************.js |
4.88 kB |
dotcom-rendering/dist/OnwardsUpper-importable.client.web.********************.js |
4.08 kB |
dotcom-rendering/dist/PersonalityQuizAtom-importable.client.web.********************.js |
3.63 kB |
dotcom-rendering/dist/ProfileAtom-importable.client.web.********************.js |
2.8 kB |
dotcom-rendering/dist/ProfileAtomWrapper-importable.client.web.********************.js |
3.03 kB |
dotcom-rendering/dist/PulsingDot-importable.client.web.********************.js |
750 B |
dotcom-rendering/dist/QandaAtom-importable.client.web.********************.js |
2.79 kB |
dotcom-rendering/dist/ReaderRevenueDev-importable.client.web.********************.js |
469 B |
dotcom-rendering/dist/readerRevenueDevUtils.client.web.********************.js |
1.89 kB |
dotcom-rendering/dist/ReaderRevenueLinks-importable.client.web.********************.js |
6.35 kB |
dotcom-rendering/dist/RelativeTime-importable.client.web.********************.js |
1.99 kB |
dotcom-rendering/dist/RichLinkComponent-importable.client.web.********************.js |
4.82 kB |
dotcom-rendering/dist/SecureSignup-importable.client.web.********************.js |
4.46 kB |
dotcom-rendering/dist/SendAMessage-importable.client.web.********************.js |
4.43 kB |
dotcom-rendering/dist/SendTargetingParams-importable.client.web.********************.js |
2.14 kB |
dotcom-rendering/dist/sentry.client.web.********************.js |
765 B |
dotcom-rendering/dist/SetABTests-importable.client.web.********************.js |
3.77 kB |
dotcom-rendering/dist/SetAdTargeting-importable.client.web.********************.js |
484 B |
dotcom-rendering/dist/ShareButton-importable.client.web.********************.js |
1.52 kB |
dotcom-rendering/dist/shimport.client.web.********************.js |
2.79 kB |
dotcom-rendering/dist/ShowHideContainers-importable.client.web.********************.js |
707 B |
dotcom-rendering/dist/ShowMore-importable.client.web.********************.js |
5.76 kB |
dotcom-rendering/dist/SignInGateCustomizableText.client.web.********************.js |
3.66 kB |
dotcom-rendering/dist/SignInGateMain.client.web.********************.js |
3.9 kB |
dotcom-rendering/dist/SignInGateMainCheckoutComplete.client.web.********************.js |
3.95 kB |
dotcom-rendering/dist/SignInGateSelector-importable.client.web.********************.js |
3.81 kB |
dotcom-rendering/dist/SlotBodyEnd-importable.client.web.********************.js |
4.14 kB |
dotcom-rendering/dist/SpotifyBlockComponent-importable.client.web.********************.js |
5.59 kB |
dotcom-rendering/dist/StickyBottomBanner-importable.client.web.********************.js |
3.94 kB |
dotcom-rendering/dist/SubNav-importable.client.web.********************.js |
3.25 kB |
dotcom-rendering/dist/SupportTheG-importable.client.web.********************.js |
6.48 kB |
dotcom-rendering/dist/TableOfContents-importable.client.web.********************.js |
3.16 kB |
dotcom-rendering/dist/TimelineAtom-importable.client.web.********************.js |
3.23 kB |
dotcom-rendering/dist/TopBar-importable.client.web.********************.js |
5.01 kB |
dotcom-rendering/dist/TopBarSupport-importable.client.web.********************.js |
2.76 kB |
dotcom-rendering/dist/TweetBlockComponent-importable.client.web.********************.js |
1.02 kB |
dotcom-rendering/dist/UnsafeEmbedBlockComponent-importable.client.web.********************.js |
3.66 kB |
dotcom-rendering/dist/VideoFacebookBlockComponent-importable.client.web.********************.js |
5.76 kB |
dotcom-rendering/dist/VineBlockComponent-importable.client.web.********************.js |
3.49 kB |
dotcom-rendering/dist/WeatherWrapper-importable.client.web.********************.js |
5.52 kB |
dotcom-rendering/dist/YoutubeBlockComponent-importable.client.web.********************.js |
3.32 kB |
Seen on PROD (merged by @sookburt 9 minutes and 40 seconds ago) Please check your changes!