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

Add variants to link to media #1522

Merged
merged 1 commit into from
Dec 23, 2024
Merged

Conversation

dani-mp
Copy link
Contributor

@dani-mp dani-mp commented Dec 23, 2024

Resolves:
https://linear.app/prismic/issue/DT-2527/aadev-i-can-enable-link-variants-for-link-to-media-field

Description

Checklist

  • A comprehensive Linear ticket, providing sufficient context and details to facilitate the review of the PR, is linked to the PR.
  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

How to QA 1

Footnotes

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment.

@dani-mp dani-mp requested a review from a team as a code owner December 23, 2024 17:15
Copy link

vercel bot commented Dec 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
slice-machine ✅ Ready (Inspect) Visit Preview Dec 23, 2024 5:15pm

@@ -41,7 +41,6 @@ export const LinkToMediaWidget: Widget<Link, typeof schema> = {
placeholder: "",
select: "media",
allowText: true,
repeat: false,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not sure why this was here but IMO it's not needed and it's misleading because there's no repeat in link to media

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it was because of the first version of types internal, when it was required to set repeat

@dani-mp dani-mp mentioned this pull request Dec 23, 2024
4 tasks
Copy link
Collaborator

@xrutayisire xrutayisire left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -41,7 +41,6 @@ export const LinkToMediaWidget: Widget<Link, typeof schema> = {
placeholder: "",
select: "media",
allowText: true,
repeat: false,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it was because of the first version of types internal, when it was required to set repeat

@dani-mp dani-mp merged commit 9c66b3a into dani/link-variant Dec 23, 2024
33 checks passed
@dani-mp dani-mp deleted the dani/link-variant-14 branch December 23, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants