-
Notifications
You must be signed in to change notification settings - Fork 125
Event History Sparkle #3049
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: main
Are you sure you want to change the base?
Event History Sparkle #3049
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@claude review this for bugs/mistakes |
|
Claude finished @Alex-Tideman's task —— View job Code Review Complete ✅I've reviewed this PR for bugs and mistakes. Found 2 TypeScript errors and several observations: 🐛 Critical Issues1. Type Error in
|
| const eventCategory = cva( | ||
| ['flex flex-1 flex-col overflow-hidden rounded-t-lg pb-2'], | ||
| { | ||
| variants: { | ||
| classification: { | ||
| Failed: 'bg-red-800', | ||
| Canceled: 'bg-orange-900/80', | ||
| TimedOut: 'bg-orange-700', | ||
| Completed: 'bg-green-700', | ||
| Terminated: 'bg-gray-300', | ||
| Scheduled: 'bg-orange-900/50', | ||
| Initiated: 'bg-orange-900/50', | ||
| Started: 'bg-orange-900/60', | ||
| Fired: 'bg-orange-900/90', | ||
| Signaled: 'bg-orange-900/50', | ||
| CancelRequested: 'bg-orange-900/70', | ||
| Unspecified: 'bg-orange-900/60', | ||
| }, | ||
| }, | ||
| }, | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Type Error: Missing classifications in CVA variants.
The EventClassification type includes "Open", "New", and "Running" but they're not defined in the variants. This will cause a TypeScript error when these classifications are used.
Add the missing variants:
Open: 'bg-orange-900/50',
New: 'bg-orange-900/50',
Running: 'bg-orange-900/60',|
Additional Issue Found (not in this PR's changes): While running type checking, I found an error in The |
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
| get finalClassification() { | ||
| return getLastEvent(this).classification; | ||
| }, | ||
| get input() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Property 'input' does not exist on type 'IUserMetadata | IWorkflowExecutionStartedEventAttributes | IWorkflowExecutionCompletedEventAttributes | ... 54 more ... | INexusOperationCancelRequestFailedEventAttributes'.
| get input() { | ||
| return this.initialEvent.attributes?.input; | ||
| }, | ||
| get result() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Property 'result' does not exist on type 'IUserMetadata | IWorkflowExecutionStartedEventAttributes | IWorkflowExecutionCompletedEventAttributes | ... 54 more ... | INexusOperationCancelRequestFailedEventAttributes'.
|
Description & motivation 💭
Screenshots (if applicable) 📸
Design Considerations 🎨
Testing 🧪
How was this tested 👻
Steps for others to test: 🚶🏽♂️🚶🏽♀️
Checklists
Draft Checklist
Merge Checklist
Issue(s) closed
Docs
Any docs updates needed?