Skip to content
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

Update ImageGridBlock with LinkBlock #12585

Merged
merged 11 commits into from
Jul 17, 2024

Conversation

danielfmiranda
Copy link
Collaborator

@danielfmiranda danielfmiranda commented Jul 4, 2024

Description

Link to sample test page:
Related PRs/issues: TP1-820

This PR updates the ImageGridBlock by replacing the url field, with a new link field that uses the LinkWithoutLabelBlock.

Additionally, this PR includes the necessary migration files to introduce the new field, transfer existing data, and remove the old fields. The HTML template has also been updated to reflect this change.

Screenshots

CMS (Before):

Screenshot 2024-07-16 at 23-32-32 Editing Donate help page Donate Help - Wagtail

Frontend (Before):

Screenshot 2024-07-16 at 10 39 49 PM

CMS (After):

Screenshot 2024-07-16 at 23-34-24 Editing Donate help page Donate Help - Wagtail

Frontend (After):

Screenshot 2024-07-16 at 11 35 17 PM

┆Issue is synchronized with this Jira Story

@danielfmiranda danielfmiranda marked this pull request as ready for review July 17, 2024 15:47
Copy link
Collaborator

@robdivincenzo robdivincenzo left a comment

Choose a reason for hiding this comment

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

LGTM, nice work again!

@danielfmiranda danielfmiranda merged commit fbcdd25 into main Jul 17, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants