mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #452] [MERGED] feat: metadata parity for appLinks, iTunes, Twitter player/app cards #581
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#581
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/452
Author: @NathanDrake2406
Created: 3/11/2026
Status: ✅ Merged
Merged: 3/11/2026
Merged by: @james-elicx
Base:
main← Head:feat/metadata-applinks-itunes-twitter-cards📝 Commits (5)
cd7dd95feat: add metadata support for appLinks, iTunes, and Twitter player/app cardsd9117a3chore: format metadata files05f74c1fix: resolve twitter player/app and appLinks URLs against metadataBase8d01798fix: un-nest twitter app card name/url checks to match Next.js behavior14fdf34Update packages/vinext/src/shims/metadata.tsx📊 Changes
6 files changed (+294 additions, -9 deletions)
View changed files
📝
packages/vinext/src/shims/metadata.tsx(+153 -0)➕
tests/fixtures/app-basic/app/nextjs-compat/metadata-applinks/page.tsx(+24 -0)➕
tests/fixtures/app-basic/app/nextjs-compat/metadata-itunes/page.tsx(+12 -0)➕
tests/fixtures/app-basic/app/nextjs-compat/metadata-twitter-app/page.tsx(+27 -0)➕
tests/fixtures/app-basic/app/nextjs-compat/metadata-twitter-player/page.tsx(+20 -0)📝
tests/nextjs-compat/metadata.test.ts(+58 -9)📄 Description
Summary
appLinksmetadata support — rendersal:*property tags for iOS, Android, Windows, and web platformsitunesmetadata support — rendersapple-itunes-appmeta tag withapp-idandapp-argumenttwitter:player,twitter:player:stream,twitter:player:width,twitter:player:heighttwitter:app:name/id/urlper platform (iphone, ipad, googleplay)All four were documented as N/A gaps in
metadata.test.ts(lines 345, 354, 363). Types match Next.jsextra-types.d.tsandtwitter-types.d.tsdefinitions. Rendering matches Next.jsgenerate/opengraph.jsandgenerate/basic.jsoutput.Test plan
metadata-itunes,metadata-applinks,metadata-twitter-player,metadata-twitter-app)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.