improvements to release notes ui - #220
Merged
Merged
Conversation
Docs and academy had purpose-built source cards; storybook and marketplace fell through to the generic doc link list, which had nothing useful to show since neither source carried a URL the list could link to. Storybook renders one card per component, grouped by story id, with a row per doc section (Overview, Props, Events, Methods, Styling, Token) ordered the way the component's Storybook sidebar reads. Repeated chunks of the same section collapse to one row. Each row links to its own section and the header to the component page; a row shows a one-line summary only when its chunk starts with prose, because most chunks open with a prop table or a code sample and a truncated table row reads as noise. Marketplace renders one card per artifact: thumbnail, type badge, version, a two-line summary, publisher, and Preview/GitHub links when those URLs exist. Description and capabilities restate each other in the source data, so the card shows the summary when there is one and the capability list only as its stand-in. All card padding sits on a wrapper rather than the clamped paragraph. -webkit-line-clamp clips at the content box, so bottom padding on the clamped element let a half-rendered third line show through beneath the ellipsis. The sources panel now opens its two top-ranked sections rather than hardcoding docs and academy, so a question answered mainly from storybook opens on storybook. SourceIcons used HTML attribute names (stroke-width, class) instead of the React equivalents, which logged an "Invalid DOM property" error for every icon rendered. These icons render on every card, so the cards made a pre-existing bug loud. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
added rc8,9 item
…source-cards Add storybook and marketplace source cards to Ask AI
GayathriKalanadhabatla
self-requested a review
September 1, 2026 10:13
GayathriKalanadhabatla
approved these changes
Sep 1, 2026
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.
No description provided.