mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 14:19:11 +03:00
* feat: add Realtime private only feature flag * Chore/patch realtime private only (#37040) * Fix feature preview logic for toggling visibility of private channel toggle in realtime settings * Refactor feature preview to control realtime settings visibility, clean up old feature preview images * Add image for realtime settings feature preview * Fix TS * Check FF as well for showing realtime settings on top of feature preview --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
33 lines
920 B
TypeScript
33 lines
920 B
TypeScript
import { LOCAL_STORAGE_KEYS } from 'common'
|
|
|
|
export const FEATURE_PREVIEWS = [
|
|
{
|
|
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_REALTIME_SETTINGS,
|
|
name: 'Realtime settings',
|
|
discussionsUrl: undefined,
|
|
isNew: true,
|
|
isPlatformOnly: true,
|
|
},
|
|
{
|
|
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_INLINE_EDITOR,
|
|
name: 'Directly edit database entities',
|
|
discussionsUrl: 'https://github.com/orgs/supabase/discussions/33690',
|
|
isNew: false,
|
|
isPlatformOnly: false,
|
|
},
|
|
{
|
|
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_API_SIDE_PANEL,
|
|
name: 'Project API documentation',
|
|
discussionsUrl: 'https://github.com/orgs/supabase/discussions/18038',
|
|
isNew: false,
|
|
isPlatformOnly: false,
|
|
},
|
|
{
|
|
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_CLS,
|
|
name: 'Column-level privileges',
|
|
discussionsUrl: 'https://github.com/orgs/supabase/discussions/20295',
|
|
isNew: false,
|
|
isPlatformOnly: false,
|
|
},
|
|
] as const
|