Repository navigation
fix(plugins): contain Code Review canvas cards and align segmented controls - #3514
Open
Allen Greaves (agreaves-ms) wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/seven-focused-marketplace-plugins #3514 +/- ##
=======================================================================
Coverage 86.02% 86.02%
=======================================================================
Files 101 101
Lines 19900 19900
Branches 65 65
=======================================================================
Hits 17118 17118
Misses 2771 2771
Partials 11 11
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
Pull Request
Description
Fixes layout overflow and alignment bugs in the Code Review canvas UI (
.github/plugins/base/extensions/hve-core/code-review/ui/):styles.css,app.mjs):.reviewer-cardand.reviewer-grid > litogrid-template-columns: minmax(0, 1fr)(and audited all other single-columndisplay: gridcard/list containers —.area-nf,.board-card,.board-col,.board-list,.finding,.finding-groups,.finding-group,.note-card,.hunk-notes,.comment,.replies,.thread-list,.feedback-item,.feedback-list,.readback,.send-list,.outcome-card,.metadata-list,.diagram,.map-preview,.flow,.flow-body,.flow-agents,.flow-reviewers,.flow-group,.nav-list,.nav-sublist,.steer-list,.appearance-menu— adding explicitminmax(0, 1fr)tracks andmin-width: 0/overflow-wrap: anywhereso wide descendants cannot expand implicit grid tracks outside their card borders)..reviewer-gridtracks from190pxto220pxminimum (repeat(auto-fill, minmax(min(100%, 220px), 1fr)))..reviewer-card .btn(max-width: 100%; min-width: 0; overflow: hidden) with ellipsis truncation on.btn-text, and kept the visible button label concise (+ Add, matchingdocs/agents/code-review/canvas.md) whenRequest scopeis set to an area while preserving the full area-scopedaria-label,title, anddataset.key..area-nfhorizontal overflow (styles.css):.nf-pending(flex-wrap: wrap; max-width: 100%; min-width: 0) and pinned.area-nftominmax(0, 1fr)so pending non-functional review badges and Dismiss buttons reflow cleanly down to320pxwith zero horizontal page scroll..id-chipin.review-metato ellipsize cleanly below560pxinstead of clipping mid-character.styles.css,dom.mjs,app.mjs,diagram.mjs):.segmented.compact label(--cr-control-compact: 24px,12pxfont) matching the sibling RPI Workflow canvas, unified.segmented > legend:not(.visually-hidden)vertical centering (display: inline-flex; align-items: centermatching control height), and added.appearance-menu .segmentedfull-width distribution and@media (forced-colors: active)checked segment styling.segmented()builder indom.mjsthat wraps option labels in.segmented-options(withpadding-inline-start: 1pxpaired with-1pxlabel border collapse androw-gap: 4px) so wrapped segmented rows align flush with zero left overhang and truncate long area titles cleanly with tooltips..legend-itemso swatches never wrap separately from their label.Related Issue(s)
Related to #3463 (immediate base in stack #3399).
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
hve-builderand addressed all actionable findings.github/instructions/*.instructions.md).github/agents/*.agent.md).github/skills/*/SKILL.md).github/hooks/*/*.json)evals/)Other:
.ps1,.sh,.py)Testing
npm run test:code-review: passed (75/75 tests, 17 suites — includes new regression tests in.github/plugins/base/extensions/hve-core/code-review/tests/views.test.mjs).npm run test:extensions: passed (962/962 tests, 176 suites).npm run plugin:validate: passed (plugin manifest and catalog in sync).npm run lint:ts: passed.npm run lint:md: passed.npm run lint:tables: passed.npm run lint:frontmatter: passed.npm run lint:asset-docs: passed.npm run validate:copyright: passed.npm run spell-check: passed.createCanvasServeracross320×800,360×800,768×900,1280×900, and1920×1080viewports, Light/Dark/More-contrast themes,Capture,Review(Request scopeset toArea: Webhook retry processor,Area: Idempotency ledger & signing verification, andAll areas; Coverage board lane dropdown; Change map; Findings; Area non-functional bar; Diff; Discussion),Outcome,Steerdrawer/docked,Review and senddialog,Appearancemenu, and a 120-character button/URL stress test: 0 layout/containment/overflow violations (down from 1,141 baseline violations), confirmed with before/after screenshot inspection.npm run validate:local,npm run validate:docs,npm run lint:md-links(no documentation or Markdown files changed).Checklist
Required Checks
AI Artifact Contributions
hve-builderreview mode to review contributionhve-builderreviewRequired Local Checks
The following local-safe validation commands must pass before merging:
npm run validate:localnpm run validate:docsnpm run spell-checknpm run lint:md-linksSecurity Considerations
Additional Notes
Stacked on top of
feat/seven-focused-marketplace-plugins(#3463) for registration on stack #3399.