Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Rename ThemePatterns/ to Patterns/ #18

Merged
merged 5 commits into from
Jan 20, 2023
Merged

Conversation

kienstra
Copy link
Contributor

@kienstra kienstra commented Jan 20, 2023

  • I forgot to do this in the renaming
  • Moves ThemePatterns/ to Patterns/
  • The name ThemePatterns/ doesn't apply to Pattern Manager, though it was for FSE Studio

How to test

Not needed

@kienstra kienstra changed the base branch from main to update/category-filtering-same-place January 20, 2023 15:58
@kienstra kienstra marked this pull request as ready for review January 20, 2023 15:58
@@ -19,7 +19,7 @@ type Props = {
isVisible: boolean;
};

export default function ThemePatterns( { isVisible }: Props ) {
export default function Patterns( { isVisible }: Props ) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's also a Patterns type, so this isn't great.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No conflict yet.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good point. I suppose we could just alias the Patterns type when importing if there was a conflict. Or the component could be PatternsOverview, though that's admittedly not what we're calling it 😆

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, yeah. It's a tough one, I blanked on different names.

Base automatically changed from update/category-filtering-same-place to main January 20, 2023 17:56
Copy link
Contributor

@mike-day mike-day left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup! These small changes are really useful in the long-term since things can be labelled in a newer, more accurate way.

@kienstra
Copy link
Contributor Author

@mike-day,
Thanks so much for reviewing this!

@kienstra kienstra merged commit 915ee44 into main Jan 20, 2023
@kienstra kienstra deleted the update/mv-theme-patterns-dir branch January 20, 2023 18:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants