-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(sanity, release): rename interface focused components from b…
…undle to release (#7469) * refactor(sanity): update bundles metada to releases metadata * refactor(sanity): rename bundlebadge to releasebadge * refactor(sanity): rename bundlesMenu to ReleasesMenu * refactor(sanity): rename BundleDetailsDialog to ReleaseDetailDialog * refactor(sanity): rename bundleForm to ReleaseForm * refactor(sanity): rename ReleaseDetailsDialog test * refactor(sanity): rename BundleIconEditorPicker to ReleaseIconEditorPicker * fix(sanity): fix issues with renaming within ReleaseDetailsDialog * refactor(sanity): rename BundleActions to ReleaseActions * refactor(sanity): fix translation * refactor(sanity): remove workshop story * refactor(sanity): rename bundlePerspective to perspective on getPReviewStateObservable * refactor(sanity): rename BundleMenuButton to perspective on ReleaseMenuButton * test(sanity): fix test for ReleaseMenuButton * test(sanity): clean up (remove duplicates and clean up button) * chore(sanity): remove unused bundle translations
- Loading branch information
Showing
35 changed files
with
211 additions
and
384 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
packages/sanity/src/_singletons/context/BundlesMetadataContext.ts
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
packages/sanity/src/_singletons/context/ReleasesMetadataContext.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {createContext} from 'sanity/_createContext' | ||
|
||
import type {ReleasesMetadataContextValue} from '../../core/releases/contexts/ReleasesMetadataProvider' | ||
|
||
/** | ||
* @internal | ||
* @hidden | ||
*/ | ||
export const ReleasesMetadataContext = createContext<ReleasesMetadataContextValue | null>( | ||
'sanity/_singletons/context/releases-metadata', | ||
null, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.