-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a feature switch for DCAR galleries
Makes sure galleries will never be rendered by DCAR while we're working on them. Then allows us to make them available when they're ready, and quickly turn them off if there are any issues.
- Loading branch information
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -512,4 +512,14 @@ trait FeatureSwitches { | |
sellByDate = LocalDate.of(2024, 11, 29), | ||
exposeClientSide = true, | ||
) | ||
|
||
val DCARGalleryPages = Switch( | ||
SwitchGroup.Feature, | ||
"dcar-gallery-pages", | ||
"If this switch is on, we will render gallery pages with DCAR", | ||
owners = Seq(Owner.withEmail("[email protected]")), | ||
safeState = Off, | ||
sellByDate = never, | ||
exposeClientSide = false, | ||
) | ||
} |