Skip to content

Commit

Permalink
review refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
dskamiotis committed Jan 29, 2024
1 parent 30a184f commit ce9eceb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions common/app/conf/switches/ABTestSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ trait ABTestSwitches {
sellByDate = Some(LocalDate.of(2024, 1, 31)),
exposeClientSide = true,
)
Switch(
Switch(
ABTests,
"ab-crosswords-mobile-banner",
"Test mobile banner in crossword pages.",
owners = Seq(Owner.withEmail("[email protected]")),
safeState = Off,
sellByDate = Some(LocalDate.of(2024, 1, 31)),
sellByDate = Some(LocalDate.of(2024, 2, 31)),
exposeClientSide = true,
)
}
2 changes: 1 addition & 1 deletion common/app/conf/switches/FeatureSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ trait FeatureSwitches {
SwitchGroup.Feature,
"crossword-mobile-banner",
"If this switch is on, we will show an advert banner on mobile crossword pages",
owners = Seq(Owner.withEmail("dotcom.platform@theguardian.com")),
owners = Seq(Owner.withEmail("commercial.dev@theguardian.com")),
safeState = Off,
sellByDate = Some(LocalDate.of(2024, 3, 15)),
exposeClientSide = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ class Crossword extends Component {
};
// Trigger the custom event when component has loaded for ad slot in commercial
useEffect(() => {
const customEvent = new CustomEvent('crosswordLoaded', {detail: {source: 'frontend_bundle'}});
const customEvent = new CustomEvent('crossword-loaded', {detail: {source: 'frontend_bundle'}});
window.dispatchEvent(customEvent);
});

Expand Down Expand Up @@ -807,13 +807,12 @@ class Crossword extends Component {
clueInFocus={focused}
crossword={this}
/>
<div class="below_controls"></div>
<div class="crossword__container__below-controls"></div>
<Clues
clues={this.cluesData()}
focussed={focused}
setReturnPosition={this.setReturnPosition.bind(this)}
/>
<div>Below Controls</div>
</div>
);
}
Expand Down

0 comments on commit ce9eceb

Please sign in to comment.