Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Fix duplicate block pattern #258

Merged
merged 4 commits into from Nov 19, 2021
Merged

Fix duplicate block pattern #258

merged 4 commits into from Nov 19, 2021

Conversation

kjellr
Copy link
Collaborator

@kjellr kjellr commented Nov 19, 2021

Our "About page with big image and buttons" pattern is showing up as a duplicate in the footer category by mistake, with the title "Footer with title, tagline, and social links". I think this was an error from duplicating files back when I was creating new patterns:

Screen Shot 2021-11-19 at 10 27 17 AM

This PR removes that pattern, and tidies up the naming of the actual "Footer with title, tagline, and social links" pattern. It also renames "About page with big image and buttons" to use the word "large" instead of "big" because that's more consistent with language we're using elsewhere.

Finally, since I was editing it anyway, I moved the "About page with big image and buttons" pattern down the list so that it's next to our other "link in bio"-style patterns.

@kjellr kjellr added the [Type] Bug Something isn't working label Nov 19, 2021
@kjellr kjellr requested a review from jffng November 19, 2021 15:38
@kjellr kjellr self-assigned this Nov 19, 2021
@@ -1,84 +1,26 @@
<?php
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This diff looks deceptively complex. This pattern is being replaced with the one that was previously in the footer-title-tagline-social-dark.php file, so that's why it looks like so much has changed.

'page-about-media-left',
'page-about-simple-dark',
'page-about-media-right',
'page-about-links',
'page-about-links-dark',
'page-about-big-image-and-buttons',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should the file be renamed to page-about-large-image-and-buttons for consistency?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good call! I'll make that change and merge. 👍

Copy link
Collaborator

@jffng jffng left a comment

Choose a reason for hiding this comment

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

Pending my one suggestion, this LGTM.

@kjellr kjellr merged commit 509a59f into trunk Nov 19, 2021
@kjellr kjellr deleted the fix/duplicate-block-pattern branch November 19, 2021 16:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants