Skip to content

Commit 57cd26a

Browse files
Saerisjoshenlim
andauthored
Move non-layout Storage components to components/interfaces (supabase#37381)
* Update studio testing setup files Improves API mocking type safety and polyfills browser APIs necessary to run tests with framer-motion components * fix missing listen call for msw, resolve test type error * fix imports * Update studio testing setup files Improves API mocking type safety and polyfills browser APIs necessary to run tests with framer-motion components * fix missing listen call for msw, resolve test type error * fix imports * Move non-layout Storage related components to `components/interfaces` * Fix paths --------- Co-authored-by: Joshen Lim <[email protected]>
1 parent a26f965 commit 57cd26a

File tree

69 files changed

+226
-130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+226
-130
lines changed

apps/studio/components/to-be-cleaned/Storage/AnalyticBucketDetails/CopyEnvButton.tsx renamed to apps/studio/components/interfaces/Storage/AnalyticBucketDetails/CopyEnvButton.tsx

File renamed without changes.

apps/studio/components/to-be-cleaned/Storage/AnalyticBucketDetails/DecryptedReadOnlyInput.tsx renamed to apps/studio/components/interfaces/Storage/AnalyticBucketDetails/DecryptedReadOnlyInput.tsx

File renamed without changes.

apps/studio/components/to-be-cleaned/Storage/AnalyticBucketDetails/NamespaceRow.tsx renamed to apps/studio/components/interfaces/Storage/AnalyticBucketDetails/NamespaceRow.tsx

File renamed without changes.

apps/studio/components/to-be-cleaned/Storage/AnalyticBucketDetails/SimpleConfigurationDetails.tsx renamed to apps/studio/components/interfaces/Storage/AnalyticBucketDetails/SimpleConfigurationDetails.tsx

File renamed without changes.

apps/studio/components/to-be-cleaned/Storage/AnalyticBucketDetails/constants.ts renamed to apps/studio/components/interfaces/Storage/AnalyticBucketDetails/constants.ts

File renamed without changes.

apps/studio/components/to-be-cleaned/Storage/AnalyticBucketDetails/index.tsx renamed to apps/studio/components/interfaces/Storage/AnalyticBucketDetails/index.tsx

File renamed without changes.

apps/studio/components/to-be-cleaned/Storage/AnalyticBucketDetails/useIcebergWrapper.tsx renamed to apps/studio/components/interfaces/Storage/AnalyticBucketDetails/useIcebergWrapper.tsx

File renamed without changes.

apps/studio/components/layouts/StorageLayout/BucketRow.tsx renamed to apps/studio/components/interfaces/Storage/BucketRow.tsx

File renamed without changes.

apps/studio/components/interfaces/Storage/CreateBucketModal.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import { toast } from 'sonner'
99
import z from 'zod'
1010

1111
import { useParams } from 'common'
12-
import { useIcebergWrapperExtension } from 'components/to-be-cleaned/Storage/AnalyticBucketDetails/useIcebergWrapper'
13-
import { StorageSizeUnits } from 'components/to-be-cleaned/Storage/StorageSettings/StorageSettings.constants'
12+
import { useIcebergWrapperExtension } from 'components/interfaces/Storage/AnalyticBucketDetails/useIcebergWrapper'
13+
import { StorageSizeUnits } from 'components/interfaces/Storage/StorageSettings/StorageSettings.constants'
1414
import {
1515
convertFromBytes,
1616
convertToBytes,
17-
} from 'components/to-be-cleaned/Storage/StorageSettings/StorageSettings.utils'
17+
} from 'components/interfaces/Storage/StorageSettings/StorageSettings.utils'
1818
import { useProjectStorageConfigQuery } from 'data/config/project-storage-config-query'
1919
import { useBucketCreateMutation } from 'data/storage/bucket-create-mutation'
2020
import { useIcebergWrapperCreateMutation } from 'data/storage/iceberg-wrapper-create-mutation'

apps/studio/components/to-be-cleaned/Storage/DeleteBucketModal.tsx renamed to apps/studio/components/interfaces/Storage/DeleteBucketModal.tsx

File renamed without changes.

0 commit comments

Comments
 (0)