fix(DesignerV2): Fixed dynamic height issue with Connector Browse panel#8810
fix(DesignerV2): Fixed dynamic height issue with Connector Browse panel#8810
Conversation
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | (Optional) normalize casing to fix(designer-v2) |
| Commit Type | ✅ | No change needed |
| Risk Level | Change PR risk to Medium and explain why | |
| What & Why | ✅ | Add short note re: major-version migration |
| Impact of Change | Expand Developer/System impacts (dependency bump, lockfile) | |
| Test Plan | ✅ | Add manual test scenarios or E2E justification |
| Contributors | ✅ | No change needed |
| Screenshots/Videos | ✅ | No change needed |
Final Notes & Actionable Recommendations
- Update the PR Risk Level to Medium (checkbox in the PR body) and include a one-line explanation: "Major-version dependency bump (react-window 1.x -> 2.x) and API migration; potential for regressions beyond this component." This should match the
risk:lowlabel currently present — please update the label torisk:mediumas well. - Expand the Impact of Change section:
- Developers: note the dependency and type change, any local dev steps (pnpm install, rebuild storybook/test), and expected CI changes.
- System: mention lockfile changes and CI verification.
- Add a short manual test checklist in Test Plan (e.g., "Verify connector browse at 320px/768px/1366px, keyboard navigation, memory/perf smoke test"). If E2E is not feasible now, explain why and include any planned follow-up.
- Ensure CI passes (install, build, tests). Because the lockfile and package versions changed, run a local
pnpm installand full test matrix to confirm no transitive issues. - Optionally add a short migration comment in the PR noting what API differences required the code change (so reviewers unfamiliar with react-window 2.x can quickly verify).
Please update the PR title/body with the risk change and the additional items above, then re-submit. Thank you for the thorough tests and the clear description — the change looks well-implemented but warrants a Medium risk classification due to the dependency major upgrade.
Last updated: Fri, 13 Feb 2026 22:32:26 GMT
There was a problem hiding this comment.
Pull request overview
Fixes the Connector Browse panel’s dynamic height/virtualized list behavior by migrating to a newer react-window API and removing manual container height measurement.
Changes:
- Updated
react-window(and its types) to newer major versions. - Replaced
FixedSizeList+ manual resize/height tracking with aListcomponent intended to auto-size. - Removed browse panel grid container styling previously enforcing layout constraints.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| package.json | Bumps react-window and @types/react-window versions at the repo level. |
| libs/designer-v2/package.json | Aligns react-window dependency version for the designer-v2 package. |
| libs/designer-v2/src/lib/ui/panel/recommendation/browse/connectorBrowse.tsx | Switches virtualization implementation from FixedSizeList to List and removes manual height logic. |
| libs/designer-v2/src/lib/ui/panel/recommendation/browse/styles/ConnectorBrowse.styles.ts | Removes container grid styles previously constraining height/overflow. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
libs/designer-v2/src/lib/ui/panel/recommendation/browse/connectorBrowse.tsx
Show resolved
Hide resolved
libs/designer-v2/src/lib/ui/panel/recommendation/browse/connectorBrowse.tsx
Show resolved
Hide resolved
libs/designer-v2/src/lib/ui/panel/recommendation/browse/connectorBrowse.tsx
Show resolved
Hide resolved
|
📊 Coverage check completed. See workflow run for details. |
4 similar comments
|
📊 Coverage check completed. See workflow run for details. |
|
📊 Coverage check completed. See workflow run for details. |
|
📊 Coverage check completed. See workflow run for details. |
|
📊 Coverage check completed. See workflow run for details. |
|
📊 Coverage check completed. See workflow run for details. |
📊 Coverage CheckThe following changed files need attention:
Please add tests for the uncovered files before merging. |
Commit Type
Risk Level
Reason: Updated package is only used in once instance, and confirmed working in the scenario
What & Why
Fixed dynamic height issue with Connector Browse panel
Updated
react-windowpackage to2.2.6This updates the list component to auto-size height rather than us handling in manually (which had a bug)
Fixes #8759
Impact of Change
Test Plan
// Styles files do not need test coverage
Contributors
@rllyy97
Screenshots/Videos