-
Notifications
You must be signed in to change notification settings - Fork 151
feat(dashboard): workflows ui #4081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 01-28-feat_dashboard_traces_timeline_ui
Are you sure you want to change the base?
feat(dashboard): workflows ui #4081
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
More templates
@rivetkit/cloudflare-workers
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
@rivetkit/traces
@rivetkit/workflow-engine
@rivetkit/virtual-websocket
@rivetkit/engine-runner
@rivetkit/engine-runner-protocol
commit: |
PR Review: Workflows UIThis PR adds a comprehensive workflow visualization UI to the dashboard. Overall, this is a high-quality implementation with excellent attention to detail. Below are my findings: ✅ Strengths
🔍 Code Quality Issues1. Hardcoded Sample Data (Critical)Location: The component uses hardcoded sample data instead of real API data: const sampleWorkflowHistory: WorkflowHistory = { /* 350+ lines of hardcoded data */ }Issue: The Recommendation:
2. Type Safety ConcernsLocation: Casting type: "input" as EntryKindType, // Line 334
type: "output" as EntryKindType, // Line 828Issue: This bypasses TypeScript type checking. The Recommendation: Use 3. Accessibility WarningsLocation: Multiple locations with Several SVG interaction handlers lack proper keyboard accessibility:
Recommendation: While SVG interactions are complex to make accessible, consider:
4. Magic NumbersLocation: Layout constants are hardcoded without explanation: const NODE_WIDTH = 200;
const NODE_HEIGHT = 52;
// etc.Recommendation: These are fine as constants, but consider adding comments explaining the design decisions, especially for values like 5. Large Function ComplexityLocation: The Recommendation: Break this into smaller functions:
This would improve readability and testability.
|
d559f28 to
dff6754
Compare
fdf54ec to
db418cf
Compare
dff6754 to
e4ac15a
Compare
db418cf to
6950363
Compare

No description provided.