-
Notifications
You must be signed in to change notification settings - Fork 51
HDS-1383 Add meta tag for twitter site #1032
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KristinLBradley does this work for you? I tried using the preview app against twitter and the card's preview image is still blank.
If this does work, I added a suggestion for making this more consistent with how ember-meta works for other content like this.
|
@Dhaulagiri I still haven't figured this out but would it be worthwhile to merge what I've done so far and then keep iterating after that? I at least reordered and cleaned some things up and added a hard-coded url for the public site. |
026c38e to
9e11751
Compare
|
@KristinLBradley I did a squash merge (on a separate branch) to obtain a single commit for all this work, then I force-pushed that commit over the existing changes to overcome the merge limitations. Please check the end result – it should be the same. |
commit 06b9c9d Author: Kristin Bradley <[email protected]> Date: Mon Jan 30 08:59:17 2023 -0800 HDS-1383 Use full url in img variable instead of concatenating commit 41a1975 Merge: 0b7d104 7dbf9e1 Author: Kristin Bradley <[email protected]> Date: Mon Jan 30 08:43:50 2023 -0800 Merge branch 'main' into hds-1383-twitter-preview commit 0b7d104 Merge: 0eb5686 3a57cdd Author: Kristin Bradley <[email protected]> Date: Fri Jan 27 11:00:48 2023 -0800 Merge branch 'main' into hds-1383-twitter-preview commit 0eb5686 Author: Kristin Bradley <[email protected]> Date: Wed Jan 25 16:47:32 2023 -0800 HDS-1383 Add public site url commit acfef3e Merge: ceb99d5 b3f5583 Author: Kristin Bradley <[email protected]> Date: Wed Jan 25 16:25:27 2023 -0800 Merge branch 'main' into hds-1383-twitter-preview # Conflicts: # website/config/environment.js commit ceb99d5 Merge: 87a26f8 636a9f1 Author: Kristin Bradley <[email protected]> Date: Thu Jan 12 13:41:21 2023 -0800 Merge branch 'main' into hds-1383-twitter-preview commit 87a26f8 Author: Kristin Bradley <[email protected]> Date: Thu Jan 12 13:32:37 2023 -0800 HDS-1383 Try renamining share image as a test commit 0a485ec Author: Kristin Bradley <[email protected]> Date: Thu Jan 12 12:01:29 2023 -0800 HDS-1383 Add hard-coded url to test commit 42f04ad Merge: b68c37f 53b0ea8 Author: Kristin Bradley <[email protected]> Date: Thu Jan 12 08:15:40 2023 -0800 Merge branch 'main' into hds-1383-twitter-preview commit b68c37f Author: Kristin Bradley <[email protected]> Date: Tue Jan 10 13:37:53 2023 -0800 HDS-1383 Fix meta tag for og url commit 17b0171 Merge: 8cdce1d f543893 Author: Kristin Bradley <[email protected]> Date: Tue Jan 10 13:18:47 2023 -0800 Merge branch 'main' into hds-1383-twitter-preview commit 8cdce1d Author: Kristin Bradley <[email protected]> Date: Tue Jan 10 09:39:03 2023 -0800 HDS-1383 Delete commented out meta tags commit 06848e0 Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 16:12:57 2023 -0800 HDS-1383 Add test img url commit 455a8cb Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 16:06:50 2023 -0800 HDS-1383 Test reordering and commnting out some meta tags commit 4cc0353 Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 15:11:17 2023 -0800 HDS-1383 Fix broken imag url commit c830695 Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 15:04:18 2023 -0800 HDS-1383 Fix linter bug commit 5be99a9 Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 14:54:23 2023 -0800 HDS-1383 Test using ful url for image commit ecd9c1e Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 13:46:42 2023 -0800 HDS-1383 Fix linter errors commit 0b6bf2f Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 13:42:22 2023 -0800 HDS-1383 Make updates to meta tags from feedback commit c0d6a76 Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 13:27:57 2023 -0800 HDS-1383 Change order of meta tags commit 59a2bea Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 12:11:12 2023 -0800 HDS-1383 delete blank line commit da1ae52 Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 12:09:41 2023 -0800 delete added tag commit 5dadcc9 Author: Kristin Bradley <[email protected]> Date: Mon Jan 9 12:02:24 2023 -0800 HDS-1383 Add meta tag for twitter site
9e11751 to
a94be46
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KristinLBradley I think we can merge this PR as is now, and then we can see if/how it works in production, and if necessary open a new PR to refine things
📌 Summary
Fix image preview for website links shared in Twitter.
Preview: https://hds-website-git-hds-1383-twitter-preview-hashicorp.vercel.app/
Check Twitter share image: https://socialsharepreview.com/
🔗 External links
Jira ticket: HDS-1383
👀 Reviewer's checklist:
💬 Please consider using conventional comments when reviewing this PR.