Experimenting with Svelte: build a wrapper to convert 'old' components into Svelte, add a community index overview

This commit is contained in:
Pieter Vander Vennet 2023-02-02 17:57:07 +01:00
parent dfc7ba2114
commit 02da80c311
11 changed files with 250 additions and 55 deletions

View file

@ -18,6 +18,7 @@ export default class FeatureSwitchState {
public readonly featureSwitchBackgroundSelection: UIEventSource<boolean>
public readonly featureSwitchAddNew: UIEventSource<boolean>
public readonly featureSwitchWelcomeMessage: UIEventSource<boolean>
public readonly featureSwitchCommunityIndex: UIEventSource<boolean>
public readonly featureSwitchExtraLinkEnabled: UIEventSource<boolean>
public readonly featureSwitchMoreQuests: UIEventSource<boolean>
public readonly featureSwitchShareScreen: UIEventSource<boolean>
@ -91,6 +92,11 @@ export default class FeatureSwitchState {
() => true,
"Disables/enables the help menu or welcome message"
)
this.featureSwitchCommunityIndex = featSw(
"fs-community-index",
() => true,
"Disables/enables the button to get in touch with the community"
)
this.featureSwitchExtraLinkEnabled = featSw(
"fs-iframe-popout",
(_) => true,