-
Notifications
You must be signed in to change notification settings - Fork 848
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
Put success/failure indicators in block items of timelines #1680
Conversation
…src/' <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add success/failure indicators to timeline block items and adjust scroll behavior in `WorkflowRunTimelineBlockItem.tsx`, `ActionCard.tsx`, and `ThoughtCard.tsx`. > > - **Indicators**: > - Add success/failure indicators in `WorkflowRunTimelineBlockItem.tsx` using `CheckCircledIcon` and `CrossCircledIcon` based on block status. > - Add success/failure indicators in `ActionCard.tsx` using `CheckCircledIcon` and `CrossCircledIcon` based on action status. > - **Scroll Behavior**: > - Change `scrollIntoView` block option from `center` to `start` in `ActionCard.tsx`, `ThoughtCard.tsx`, and `WorkflowRunTimelineBlockItem.tsx`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 3cb0252ee77e759879898f1c215e03ce5b24e6bf. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
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.
👍 Looks good to me! Reviewed everything up to e43599a in 21 seconds
More details
- Looked at
120
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
4
drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx:22
- Draft comment:
The change fromblock: "center"
toblock: "start"
is consistent with the PR's intent to adjust scroll behavior. Ensure this aligns with the desired UX. - Reason this comment was not posted:
Confidence changes required:20%
The use ofscrollIntoView
withblock: "start"
is consistent across multiple files. This change is intentional and aligns with the PR's goal to adjust the scroll behavior. No issues here.
2. skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx:18
- Draft comment:
The change fromblock: "center"
toblock: "start"
is consistent with the PR's intent to adjust scroll behavior. Ensure this aligns with the desired UX. - Reason this comment was not posted:
Confidence changes required:20%
The use ofscrollIntoView
withblock: "start"
is consistent across multiple files. This change is intentional and aligns with the PR's goal to adjust the scroll behavior. No issues here.
3. skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx:64
- Draft comment:
The change fromblock: "center"
toblock: "start"
is consistent with the PR's intent to adjust scroll behavior. Ensure this aligns with the desired UX. - Reason this comment was not posted:
Confidence changes required:20%
The use ofscrollIntoView
withblock: "start"
is consistent across multiple files. This change is intentional and aligns with the PR's goal to adjust the scroll behavior. No issues here.
4. skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx:71
- Draft comment:
Consider refactoring the logic for determiningshowSuccessIndicator
andshowFailureIndicator
into a utility function to avoid repetition and improve maintainability. This logic is also present inActionCard.tsx
. - Reason this comment was not posted:
Confidence changes required:50%
The PR introduces success and failure indicators using icons. This is a new feature and seems to be implemented correctly. However, the logic for determining success and failure is repeated in multiple places.
Workflow ID: wflow_LkfiykRVi3caCVtM
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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.
👍 Looks good to me! Incremental review on e43599a in 23 seconds
More details
- Looked at
120
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
3
drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx:22
- Draft comment:
Ensure that changingblock: "center"
toblock: "start"
inscrollIntoView
aligns with the intended user experience, as this affects how elements are scrolled into view. - Reason this comment was not posted:
Confidence changes required:50%
The use ofscrollIntoView
withblock: "start"
is consistent across multiple files. This change is intentional and aligns with the PR's goal to adjust the scroll behavior.
2. skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx:18
- Draft comment:
Ensure that changingblock: "center"
toblock: "start"
inscrollIntoView
aligns with the intended user experience, as this affects how elements are scrolled into view. - Reason this comment was not posted:
Confidence changes required:50%
The use ofscrollIntoView
withblock: "start"
is consistent across multiple files. This change is intentional and aligns with the PR's goal to adjust the scroll behavior.
3. skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx:64
- Draft comment:
Ensure that changingblock: "center"
toblock: "start"
inscrollIntoView
aligns with the intended user experience, as this affects how elements are scrolled into view. - Reason this comment was not posted:
Confidence changes required:50%
The use ofscrollIntoView
withblock: "start"
is consistent across multiple files. This change is intentional and aligns with the PR's goal to adjust the scroll behavior.
Workflow ID: wflow_BcVTnqicHlt7mj2o
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Add success and failure indicators to timeline block items and adjust scroll behavior in
WorkflowRunTimelineBlockItem.tsx
,ActionCard.tsx
, andThoughtCard.tsx
.CheckCircledIcon
) and failure (CrossCircledIcon
) indicators inWorkflowRunTimelineBlockItem.tsx
for block statuses.ActionCard.tsx
based on action status.scrollIntoView
block option fromcenter
tostart
inActionCard.tsx
,ThoughtCard.tsx
, andWorkflowRunTimelineBlockItem.tsx
for smoother scrolling.CheckCircledIcon
andCrossCircledIcon
inWorkflowRunTimelineBlockItem.tsx
andActionCard.tsx
.This description was created by
for e43599a. It will automatically update as commits are pushed.