Code Review Bench PR #20030 - Add FlowIconText component for UI v2 migration#9
Open
tomerqodo wants to merge 3 commits intobase_pr_20030_20260125_2650from
Open
Code Review Bench PR #20030 - Add FlowIconText component for UI v2 migration#9tomerqodo wants to merge 3 commits intobase_pr_20030_20260125_2650from
tomerqodo wants to merge 3 commits intobase_pr_20030_20260125_2650from
Conversation
Create a new FlowIconText component that displays a flow's icon and name as a clickable link, fetching flow data by ID. This component follows the existing Suspense pattern used in similar link components like FlowLink and DeploymentLink. Files added: - flow-icon-text.tsx: Main component with Suspense wrapper - flow-icon-text.stories.tsx: Storybook stories - flow-icon-text.test.tsx: Unit tests - index.ts: Export file Co-Authored-By: alex.s@prefect.io <ajstreed1@gmail.com>
Add RouterProvider decorator to the Storybook story so the component renders correctly in Storybook. The Link component from TanStack Router requires a router context to function properly. Co-Authored-By: alex.s@prefect.io <ajstreed1@gmail.com>
This was referenced Jan 26, 2026
Open
Open
Open
Open
Add FlowIconText component for UI v2 migration
agentic-review-benchmarks/prefect-combined-greptile#9
Open
Open
Open
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.
Code Review Bench PR PrefectHQ#20030
Original PR Title: Add FlowIconText component for UI v2 migration
Original PR Description: Adds a new
FlowIconTextcomponent that displays a flow's icon and name as a clickable link, fetching flow data by ID. This component is intended for use cases where you want to show just the icon + name without the "Flow" label prefix (unlike the existingFlowLinkcomponent).The implementation follows the established Suspense pattern used in similar link components like
FlowLinkandDeploymentLink.Files added:
flow-icon-text.tsx- Main component with Suspense wrapper and Skeleton fallbackflow-icon-text.stories.tsx- Storybook stories with RouterProvider decorator for proper renderingflow-icon-text.test.tsx- Unit tests using MSW for API mockingindex.ts- Export fileStorybook preview:
Checklist
<link to issue>"mint.json.Link to Devin run: https://app.devin.ai/sessions/e2ff116e69b643d9a58e05343a5fc69a
Requested by: alex.s@prefect.io (@desertaxle)
Original PR URL: PrefectHQ#20030