mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 21:29:08 +03:00
* feat: bucket type page and corresponding sidebar * feat: handle /storage URL redirection based on feature flag * fix: default sidebar selection * Use feature flag for feature preview, and have new UI behind feature preview instead * Remove hardcode * Minor clean ups * chore: improve feature preview description * chore: more descriptive name for general file storage type * fix: preview image * Minor nits --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
54 lines
1.5 KiB
TypeScript
54 lines
1.5 KiB
TypeScript
import { LOCAL_STORAGE_KEYS } from 'common'
|
|
|
|
export const FEATURE_PREVIEWS = [
|
|
{
|
|
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
|