Repository navigation
Conversation
Card `collapsedHeight`: the body drawn cut to that height, fading into the card, with one button that opens it whole and closes it again (`expandLabel` / `collapseLabel`, translatable; absent, "Show all" / "Show less"). The body's height is watched, so a body no taller than the cut is drawn whole, with no fade and no button. Header, extra and footer are never cut. For the composition page's Topology (the graph peeks, one click shows it all) and its Specification and Manifest. Schema, generated types, CRD, widget kinds, translation keys (en, it) and the API reference regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Card gets
collapsedHeight: the body is cut to that height and fades into the card, with one button underneath that opens it whole and closes it again.expandLabel/collapseLabelname the button. Both are translatable (key siblings generated). When absent they read "Show all" / "Show less", with en and it catalog entries.extraand footer are never cut. A Card without the field renders as before, and the body is not wrapped.aria-expandedandaria-controls.Use: the composition page's Topology card (the graph peeks, "Show full graph"), and its Specification and Manifest cards, whose values can hold whole files. That is the portal PR that follows; it needs this release (1.8.182).
The schema, generated types, CRD, widget kinds, translation keys and API reference are regenerated (
sync-translation-keys,generate-types,generate-crds,gen-widget-kinds,update-readme-widgets). Below this CRD, the API server prunes the field from a Card CR. I checked this on kind.Verification
vitest run src/widgets src/utils src/components src/i18n: 403 files, 5204 tests pass. New:Card.collapsedHeight.test.tsxcovers:tsc --noEmit,eslint,stylelintclean;sync-translation-keys --check,gen-widget-kinds --check,update-readme-widgets --checkin step.cloud-meetup-turin: the Topology card is cut at 260px and fades out. "Show full graph" opens the whole graph and "Hide graph" closes it. Manifest and Specification behave the same.🤖 Generated with Claude Code