chore: remove filter feature flag (#44001)

## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

chore: remove feature flag and make default opt in true
This commit is contained in:
Ali Waseem
2026-03-20 09:18:10 -06:00
committed by GitHub
parent d566a2a0a6
commit 522fbeac70
2 changed files with 7 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export type FeaturePreview = {
export const useFeaturePreviews = (): FeaturePreview[] => {
const isUnifiedLogsPreviewAvailable = useFlag('unifiedLogs')
const tableEditorNewFilterBar = useFlag('tableEditorNewFilterBar')
const pgDeltaDiffEnabled = useFlag('pgdeltaDiff')
const showFloatingMobileToolbar = useFlag('enableFloatingMobileToolbar')
const platformWebhooksEnabled = useFlag('platformWebhooks')
@@ -101,7 +101,7 @@ export const useFeaturePreviews = (): FeaturePreview[] => {
enabled: true,
isNew: true,
isPlatformOnly: false,
isDefaultOptIn: tableEditorNewFilterBar,
isDefaultOptIn: true,
},
{
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_FLOATING_MOBILE_TOOLBAR,

View File

@@ -418,6 +418,11 @@ testRunner('table editor', () => {
await dropTable(tableName)
}
)
// Disable the new filter bar for this test since it uses the old filter UI
await page.goto(toUrl(`/project/${ref}/editor?schema=public`))
await page.evaluate(() => {
localStorage.setItem('supabase-ui-table-filter-bar', 'false')
})
await page.goto(toUrl(`/project/${ref}/editor?schema=public`))
await page.getByRole('button', { name: `View ${tableName}`, exact: true }).click()
await page.waitForURL(/\/editor\/\d+\?schema=public$/)