Repository navigation
feat(web): panel social cards for projects and products - #1055
Merged
Merged
Conversation
Add a ChangeIntel-style 'panel' card layout: accent bar, identity row, eyebrow, stepped title, description, chips with the site address, and a right panel with the page image or headline stats. Social.GeneratedCardCollections gives whole collections generated cards, with a page image shown inside the card instead of replacing it. Also report generated card dimensions even when a page declares its image size, and keep release versions when shortening long tags.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project and product collections can use generated branded share cards while retaining a page image inside the card. The new
panellayout places the title, description, platform chips, and site address beside either the page image or headline project metrics. It supports product accents, localized site addresses, and long titles.Enable the layout through the existing social configuration:
meta.social_card: falseremains an opt-out. Image lookup supports the existingog_imageandtwitter_imagealiases. Generated cards report their own dimensions, and release metrics preserve semantic versions with prerelease labels and build metadata. The strict site schema now covers the current social options, includingpanel, theme overrides, and custom metrics.Validation: all 74 focused social-card tests pass. An independent local review and targeted confirmation are complete; dark and light cards, including a long title, were inspected as rendered images.