-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(sanity, release): rename interface focused components from bundle to release #7469
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
No changes to documentation |
Component Testing Report Updated Sep 10, 2024 8:35 AM (UTC) ✅ All Tests Passed -- expand for details
|
@@ -25,15 +25,15 @@ export function getPreviewStateObservable( | |||
schemaType: SchemaType, | |||
documentId: string, | |||
title: ReactNode, | |||
bundlePerspective?: string, | |||
perspective?: string, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice – great call renaming
@@ -46,7 +50,6 @@ describe('BundleMenuButton', () => { | |||
_type: 'release', | |||
archivedAt: undefined, | |||
title: 'activeBundle', | |||
slug: 'activeBundle', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, thank you for doing this @RitaDias!
…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
…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
…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
Description
❗ My plan in the PR was to also move the components to the right folders. However, when I started doing that the tests in releases started failing and I wasn't able to find out why in time, so I kept them where they were and created a related ticket so this doesn't get lost.
I'm on rotation this week and he PR is already pretty big across different files so I want to make sure that this PR doesn't hang for long. I kept the moving folders out of scope.
❓ There are quite a few places within the components where we have const named based on bundles vs releases. We can rename those as well but I feel that the name of the components is more important?
I can rename those, but I wanted to get this larger chunk out of the way
What to review
Overall if naming needs to be re-adjusted