@@ -32,7 +32,6 @@ type Props = {
3232 aspectRatio : AspectRatio ;
3333 containerLevel ?: DCRContainerLevel ;
3434 collectionId : number ;
35- isInHideTrailsAbTest ?: boolean ;
3635 /** Feature flag for the labs redesign work */
3736 showLabsRedesign ?: boolean ;
3837} ;
@@ -89,7 +88,6 @@ type ImmersiveCardLayoutProps = {
8988 absoluteServerTimes : boolean ;
9089 imageLoading : Loading ;
9190 collectionId : number ;
92- isInHideTrailsAbTest ?: boolean ;
9391} ;
9492
9593/**
@@ -104,7 +102,6 @@ const ImmersiveCardLayout = ({
104102 absoluteServerTimes,
105103 imageLoading,
106104 collectionId,
107- isInHideTrailsAbTest,
108105} : ImmersiveCardLayoutProps ) => {
109106 const isLoopingVideo = card . mainMedia ?. type === 'LoopVideo' ;
110107
@@ -141,7 +138,6 @@ const ImmersiveCardLayout = ({
141138 supportingContent = { card . supportingContent }
142139 isImmersive = { true }
143140 showVideo = { card . showVideo }
144- isInHideTrailsAbTest = { isInHideTrailsAbTest }
145141 />
146142 </ LI >
147143 </ UL >
@@ -247,7 +243,6 @@ type SplashCardLayoutProps = {
247243 isLastRow : boolean ;
248244 containerLevel : DCRContainerLevel ;
249245 collectionId : number ;
250- isInHideTrailsAbTest ?: boolean ;
251246 /** Feature flag for the labs redesign work */
252247 showLabsRedesign ?: boolean ;
253248} ;
@@ -262,7 +257,6 @@ const SplashCardLayout = ({
262257 isLastRow,
263258 containerLevel,
264259 collectionId,
265- isInHideTrailsAbTest,
266260 showLabsRedesign,
267261} : SplashCardLayoutProps ) => {
268262 const card = cards [ 0 ] ;
@@ -277,7 +271,6 @@ const SplashCardLayout = ({
277271 absoluteServerTimes = { absoluteServerTimes }
278272 imageLoading = { imageLoading }
279273 collectionId = { collectionId }
280- isInHideTrailsAbTest = { isInHideTrailsAbTest }
281274 />
282275 ) ;
283276 }
@@ -346,7 +339,6 @@ const SplashCardLayout = ({
346339 canPlayInline = { true }
347340 showKickerImage = { card . format . design === ArticleDesign . Audio }
348341 headlinePosition = { card . showLivePlayable ? 'outer' : 'inner' }
349- isInHideTrailsAbTest = { isInHideTrailsAbTest }
350342 showLabsRedesign = { showLabsRedesign }
351343 />
352344 </ LI >
@@ -410,7 +402,6 @@ type FullWidthCardLayoutProps = {
410402 isLastRow : boolean ;
411403 containerLevel : DCRContainerLevel ;
412404 collectionId : number ;
413- isInHideTrailsAbTest ?: boolean ;
414405 /** Feature flag for the labs redesign work */
415406 showLabsRedesign ?: boolean ;
416407} ;
@@ -426,7 +417,6 @@ const FullWidthCardLayout = ({
426417 isLastRow,
427418 containerLevel,
428419 collectionId,
429- isInHideTrailsAbTest,
430420 showLabsRedesign,
431421} : FullWidthCardLayoutProps ) => {
432422 const card = cards [ 0 ] ;
@@ -453,7 +443,6 @@ const FullWidthCardLayout = ({
453443 absoluteServerTimes = { absoluteServerTimes }
454444 imageLoading = { imageLoading }
455445 collectionId = { collectionId }
456- isInHideTrailsAbTest = { isInHideTrailsAbTest }
457446 />
458447 ) ;
459448 }
@@ -501,7 +490,6 @@ const FullWidthCardLayout = ({
501490 liveUpdatesPosition = { liveUpdatesPosition }
502491 canPlayInline = { true }
503492 showKickerImage = { card . format . design === ArticleDesign . Audio }
504- isInHideTrailsAbTest = { isInHideTrailsAbTest }
505493 showLabsRedesign = { showLabsRedesign }
506494 />
507495 </ LI >
@@ -520,7 +508,6 @@ type HalfWidthCardLayoutProps = {
520508 aspectRatio : AspectRatio ;
521509 isLastRow : boolean ;
522510 containerLevel : DCRContainerLevel ;
523- isInHideTrailsAbTest ?: boolean ;
524511 /** Feature flag for the labs redesign work */
525512 showLabsRedesign ?: boolean ;
526513} ;
@@ -536,7 +523,6 @@ const HalfWidthCardLayout = ({
536523 aspectRatio,
537524 isLastRow,
538525 containerLevel,
539- isInHideTrailsAbTest,
540526 showLabsRedesign,
541527} : HalfWidthCardLayoutProps ) => {
542528 if ( cards . length === 0 ) return null ;
@@ -591,7 +577,6 @@ const HalfWidthCardLayout = ({
591577 trailText = { undefined }
592578 headlineSizes = { undefined }
593579 canPlayInline = { false }
594- isInHideTrailsAbTest = { isInHideTrailsAbTest }
595580 showLabsRedesign = { showLabsRedesign }
596581 />
597582 </ LI >
@@ -610,7 +595,6 @@ export const FlexibleGeneral = ({
610595 aspectRatio,
611596 containerLevel = 'Primary' ,
612597 collectionId,
613- isInHideTrailsAbTest,
614598 showLabsRedesign,
615599} : Props ) => {
616600 const splash = [ ...groupedTrails . splash ] . slice ( 0 , 1 ) . map ( ( snap ) => ( {
@@ -640,7 +624,6 @@ export const FlexibleGeneral = ({
640624 isLastRow = { cards . length === 0 }
641625 containerLevel = { containerLevel }
642626 collectionId = { collectionId }
643- isInHideTrailsAbTest = { isInHideTrailsAbTest }
644627 />
645628 ) }
646629 { groupedCards . map ( ( row , i ) => {
@@ -659,7 +642,6 @@ export const FlexibleGeneral = ({
659642 isLastRow = { i === groupedCards . length - 1 }
660643 containerLevel = { containerLevel }
661644 collectionId = { collectionId }
662- isInHideTrailsAbTest = { isInHideTrailsAbTest }
663645 showLabsRedesign = { showLabsRedesign }
664646 />
665647 ) ;
@@ -680,7 +662,6 @@ export const FlexibleGeneral = ({
680662 aspectRatio = { aspectRatio }
681663 isLastRow = { i === groupedCards . length - 1 }
682664 containerLevel = { containerLevel }
683- isInHideTrailsAbTest = { isInHideTrailsAbTest }
684665 showLabsRedesign = { showLabsRedesign }
685666 />
686667 ) ;
0 commit comments