diff options
| author | cashmere <cashmere@autistici.org> | 2026-07-27 01:21:02 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-07-27 01:21:02 +0200 |
| commit | f8fdff7f0c1b8efdef9093c932e28e427799d6ef (patch) | |
| tree | 742d003a1464c921e8feb9f2fd5758982a4cc0b6 /apps/web/src/features.ts | |
| parent | 8474b96e7d5632d7bd71aef077ab9efe2e4523cc (diff) | |
| download | opencut-f8fdff7f0c1b8efdef9093c932e28e427799d6ef.tar.gz | |
feat: gate sounds/stickers/effects UI behind feature flags
FEATURES in src/features.ts (all false) hides the assets-panel tabs and
views, the clip effects properties tab, and the timeline effects badge.
Existing project data still renders and stays editable (standalone effect
tab, sticker config, renderer nodes untouched).
Diffstat (limited to 'apps/web/src/features.ts')
| -rw-r--r-- | apps/web/src/features.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/web/src/features.ts b/apps/web/src/features.ts new file mode 100644 index 00000000..10fdd434 --- /dev/null +++ b/apps/web/src/features.ts @@ -0,0 +1,11 @@ +/** + * Feature flags for upstream domains that are unfinished or buggy. + * Flags hide UI entry points ONLY — document data and rendering of existing + * projects must stay untouched, so old projects keep working. Deletion of + * the dead code comes later, once the flags have proven themselves. + */ +export const FEATURES = { + sounds: false, + stickers: false, + effects: false, +} as const; |
