fix(ui): live usage indicator, child trace spans, cancel subscription modal z-index#2044
Merged
icecrasher321 merged 10 commits intostagingfrom Nov 19, 2025
Merged
fix(ui): live usage indicator, child trace spans, cancel subscription modal z-index#2044icecrasher321 merged 10 commits intostagingfrom
icecrasher321 merged 10 commits intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile Summary
Important Files Changed
Confidence score: 4/5
Sequence DiagramsequenceDiagram
participant User
participant useWorkflowExecution
participant ExecutionStream
participant WorkflowStore
participant ExecutionStore
participant Console
participant Server
participant QueryClient
User->>useWorkflowExecution: "handleRunWorkflow(workflowInput)"
useWorkflowExecution->>WorkflowStore: "Get workflow state"
WorkflowStore-->>useWorkflowExecution: "blocks, edges"
useWorkflowExecution->>ExecutionStore: "setIsExecuting(true)"
useWorkflowExecution->>useWorkflowExecution: "executeWorkflow()"
useWorkflowExecution->>useWorkflowExecution: "Resolve triggers and validate"
useWorkflowExecution->>ExecutionStream: "execute({workflowId, input, startBlockId})"
ExecutionStream->>Server: "POST /api/workflows/execute"
Server-->>ExecutionStream: "Stream response"
loop For each streaming event
ExecutionStream->>useWorkflowExecution: "onBlockStarted(blockData)"
useWorkflowExecution->>ExecutionStore: "setActiveBlocks(blockId)"
useWorkflowExecution->>ExecutionStore: "setEdgeRunStatus(edgeId, 'success')"
ExecutionStream->>useWorkflowExecution: "onBlockCompleted(blockData)"
useWorkflowExecution->>ExecutionStore: "setBlockRunStatus(blockId, 'success')"
useWorkflowExecution->>Console: "addConsole(blockResult)"
alt If streaming block
ExecutionStream->>useWorkflowExecution: "onStreamChunk(data)"
end
end
ExecutionStream->>useWorkflowExecution: "onExecutionCompleted(result)"
useWorkflowExecution->>useWorkflowExecution: "setExecutionResult(result)"
useWorkflowExecution->>QueryClient: "invalidateQueries(subscriptionKeys)"
useWorkflowExecution->>ExecutionStore: "setIsExecuting(false)"
useWorkflowExecution->>ExecutionStore: "setActiveBlocks(new Set())"
useWorkflowExecution-->>User: "Return execution result"
|
Contributor
There was a problem hiding this comment.
Additional Comments (1)
-
apps/sim/hooks/queries/organization.ts, line 82 (link)syntax: Use logger.error instead of console.error as per project guidelines
24 files reviewed, 5 comments
Edit Code Review Agent Settings | Greptile
React with 👍 or 👎 to share your feedback on this new summary format
...im/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/hooks/use-usage-limits.ts
Show resolved
Hide resolved
...im/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/hooks/use-usage-limits.ts
Show resolved
Hide resolved
...rkspace/[workspaceId]/w/components/sidebar/components-new/usage-indicator/rotating-digit.tsx
Outdated
Show resolved
Hide resolved
...kspace/[workspaceId]/w/components/sidebar/components-new/usage-indicator/usage-indicator.tsx
Show resolved
Hide resolved
waleedlatif1
added a commit
that referenced
this pull request
Nov 19, 2025
… modal z-index (#2044) * cleanup * show trace spans for child blocks that error * fix z index for cancel subscription popup * rotating digit live usage indicator * fix * remove unused code * fix type * fix(billing): fix team upgrade * fix * fix tests --------- Co-authored-by: waleed <walif6@gmail.com>
waleedlatif1
added a commit
that referenced
this pull request
Nov 19, 2025
* standardized delete modals * fix * fix(ui): live usage indicator, child trace spans, cancel subscription modal z-index (#2044) * cleanup * show trace spans for child blocks that error * fix z index for cancel subscription popup * rotating digit live usage indicator * fix * remove unused code * fix type * fix(billing): fix team upgrade * fix * fix tests --------- Co-authored-by: waleed <walif6@gmail.com> * remove unused barrel exports * remove unused components --------- Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com>
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.
Summary
Multiple UI fixes.
Type of Change
Testing
Tested manually
Checklist