Skip to content

Conversation

tylersticka
Copy link
Member

@tylersticka tylersticka commented Jul 14, 2022

Overview

The comment component assumed that Timber comment objects contain a link property. They do not.

This removes references to that and uses the hash ID of the comment instead.

Testing

In this story, confirm that the permalink (date with a 🔗 icon next to it) links to the comment itself.


@changeset-bot
Copy link

changeset-bot bot commented Jul 14, 2022

🦋 Changeset detected

Latest commit: 582c168

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudfour/patterns Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Jul 14, 2022

Deploy Preview for cloudfour-patterns ready!

Name Link
🔨 Latest commit 582c168
🔍 Latest deploy log https://app.netlify.com/sites/cloudfour-patterns/deploys/62d092d8991d2e0009d3d860
😎 Deploy Preview https://deploy-preview-1952--cloudfour-patterns.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@tylersticka tylersticka marked this pull request as ready for review July 14, 2022 22:10
@tylersticka tylersticka requested a review from a team July 14, 2022 22:10
@tylersticka tylersticka merged commit a84e50f into v-next Jul 14, 2022
@tylersticka tylersticka deleted the fix/nonexistent-comment-prop branch July 14, 2022 22:43
@github-actions github-actions bot mentioned this pull request Jul 14, 2022
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.

Comment component permalinks rely on comment.link, which is not a thing in Timber
2 participants