mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 13:19:09 +03:00
* feature preview logic * sidebar changes based on feature preview * singular naming * minor * Flip isPlatformOnly for new preview --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
61 lines
1.7 KiB
TypeScript
61 lines
1.7 KiB
TypeScript
import { LOCAL_STORAGE_KEYS } from 'common'
|
|
|
|
export const FEATURE_PREVIEWS = [
|
|
{
|
|
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_SECURITY_NOTIFICATIONS,
|
|
name: 'Security notification templates',
|
|
discussionsUrl: undefined,
|
|
isNew: true,
|
|
isPlatformOnly: true,
|
|
},
|
|
{
|
|
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_NEW_STORAGE_UI,
|
|
name: 'New Storage interface',
|
|
discussionsUrl: undefined,
|
|
isNew: true,
|
|
isPlatformOnly: false,
|
|
},
|
|
{
|
|
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS,
|
|
name: 'New Logs interface',
|
|
discussionsUrl: 'https://github.com/orgs/supabase/discussions/37234',
|
|
isNew: true,
|
|
isPlatformOnly: true,
|
|
},
|
|
{
|
|
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_BRANCHING_2_0,
|
|
name: 'Branching via dashboard',
|
|
discussionsUrl: 'https://github.com/orgs/supabase/discussions/branching-2-0',
|
|
isNew: true,
|
|
isPlatformOnly: true,
|
|
},
|
|
{
|
|
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_ADVISOR_RULES,
|
|
name: 'Disable Advisor rules',
|
|
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
|