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 save as template bug #665

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Aug 1, 2024

🚀 This description was created by Ellipsis for commit 7b72e35

Summary:

Added is_saved_task property to mark tasks as saved when creating a task template in skyvern-frontend/src/routes/tasks/list/TaskActions.tsx.

Key points:

  • Added is_saved_task property to mark tasks as saved when creating a task template in skyvern-frontend/src/routes/tasks/list/TaskActions.tsx.
  • Added is_saved_task: true to the object returned by createTaskTemplateRequestObject in skyvern-frontend/src/routes/tasks/list/TaskActions.tsx.
  • Ensures tasks are marked as saved when creating a task template.

Generated with ❤️ by ellipsis.dev

…src/'

<!-- ELLIPSIS_HIDDEN -->

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

### Summary:
Added `is_saved_task` property to mark tasks as saved when creating a task template in `skyvern-frontend/src/routes/tasks/list/TaskActions.tsx`.

**Key points**:
- Added `is_saved_task: true` to the object returned by `createTaskTemplateRequestObject` in `skyvern-frontend/src/routes/tasks/list/TaskActions.tsx`.
- Ensures tasks are marked as saved when creating a task template.

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

<!-- ELLIPSIS_HIDDEN -->
@ykeremy ykeremy added the sync label Aug 1, 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! Incremental review on 7b72e35 in 31 seconds

More details
  • Looked at 12 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/tasks/list/TaskActions.tsx:53
  • Draft comment:
    The addition of is_saved_task: true is implemented correctly as per the PR description. It correctly marks the task as saved when creating a template.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The PR adds a new property is_saved_task to the task template creation request object. This property is set to true to indicate that the task is saved when creating a template. The change is straightforward and seems to be correctly implemented as per the PR description. The property is added to the object returned by createTaskTemplateRequestObject function, which is used in the mutation function for posting the task template data. There are no apparent issues with the implementation of this new property in the context of the provided code.

Workflow ID: wflow_r03QfKXtjGHsaeGd


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! Reviewed everything up to 7b72e35 in 30 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/tasks/list/TaskActions.tsx:53
  • Draft comment:
    The addition of is_saved_task: true is implemented correctly to mark tasks as saved when creating a task template. This aligns with the PR's intent and doesn't seem to introduce any issues.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The PR adds a new property is_saved_task to the task template creation request object. This property is set to true to indicate that the task has been saved as a template. This seems to be a straightforward change intended to mark tasks as saved when creating a task template. The property is added correctly in the createTaskTemplateRequestObject function, which constructs the request object based on the task details and form values provided by the user. The addition of this property does not seem to interfere with any existing properties or the overall structure of the request object. Therefore, it appears to be a safe and intended change to fulfill the requirement described in the PR description.

Workflow ID: wflow_ZM6EqHx5UCRYWWmX


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

@msalihaltun msalihaltun merged commit a9f52c4 into main Aug 1, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/fix-save-as-template-bug branch August 1, 2024 16:05
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