Skip to content
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

Fix navigation error in workflow run UI #586

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Jul 11, 2024

🚀 This description was created by Ellipsis for commit 7f6c09e

Summary:

Fixes navigation error in WorkflowRun component by updating the navigation path in handleNavigate function.

Key points:

  • Fixes navigation error in WorkflowRun component.
  • Updates handleNavigate function in skyvern-frontend/src/routes/workflows/WorkflowRun.tsx.
  • Changes navigation path from ${id}/actions to /tasks/${id}/actions.
  • Ensures correct navigation to task actions page.

Generated with ❤️ by ellipsis.dev

…src/'

<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit c822822722a7e4b34c71124946f2146cbc1c03db  |
|--------|--------|

### Summary:
Fixes navigation error in `WorkflowRun` component by updating the navigation path in `handleNavigate` function.

**Key points**:
- Fixes navigation error in `WorkflowRun` component.
- Updates `handleNavigate` function in `skyvern-frontend/src/routes/workflows/WorkflowRun.tsx`.
- Changes navigation path from `${id}/actions` to `/tasks/${id}/actions`.
- Ensures correct navigation to task actions page.

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
@ykeremy ykeremy added the sync label Jul 11, 2024
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a 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 7f6c09e in 25 seconds

More details
  • Looked at 14 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/WorkflowRun.tsx:57
  • Draft comment:
    The change from a relative to an absolute path in the navigation seems appropriate given the context provided in the PR description. This should ensure that navigation is handled correctly regardless of the current URL structure.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The PR changes the navigation path in the handleNavigate function from a relative to an absolute path. This change is intended to fix a navigation error by ensuring the correct path is used regardless of the current URL structure. The change from ${id}/actions to /tasks/${id}/actions makes sense if the application's routing configuration expects an absolute path starting from the root. This change should correctly direct to the task actions page as described in the PR description.

Workflow ID: wflow_8z0OgclUTH4hBMuy


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a 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 7f6c09e in 32 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/WorkflowRun.tsx:57
  • Draft comment:
    The change from a relative to an absolute path in navigation seems correctly implemented to ensure consistent routing across different parts of the application.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The PR changes the navigation path in the handleNavigate function from a relative to an absolute path. This change is consistent across both the navigate function and the window.open method for new tabs. The PR description indicates that this change is intended to fix a navigation error, likely due to incorrect path resolution from different parts of the application. The use of absolute paths ensures that navigation is consistent regardless of the current route context. The change seems appropriate and correctly implemented based on the provided context.

Workflow ID: wflow_ATlCP9JqsSAZgTu5


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@msalihaltun msalihaltun merged commit dfcd2be into main Jul 11, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/fix-workflows-task-navigation branch July 11, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants