Skip to content

refactor: update workflow result export functions for local/dataset to be separate and symmetric - #3916

Merged
aicam merged 2 commits into
apache:mainfrom
madisonmlin:workflow-result-export-logic-separation
Oct 16, 2025
Merged

refactor: update workflow result export functions for local/dataset to be separate and symmetric#3916
aicam merged 2 commits into
apache:mainfrom
madisonmlin:workflow-result-export-logic-separation

Conversation

@madisonmlin

@madisonmlin madisonmlin commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

This PR updates the function names and docstring for workflow result exports to local/dataset to be symmetric.

Any related issues, documentation, discussions?

Refactors #3728.

How was this PR tested?

This PR involves a simple refactoring of the existing workflow result export functionality. Apart from verifying that the functionality has not changed, no additional tests are needed.

Was this PR authored or co-authored using generative AI tooling?

No.

@github-actions github-actions Bot added the frontend Changes related to the frontend GUI label Oct 16, 2025
@aicam
aicam marked this pull request as ready for review October 16, 2025 22:57
Copilot AI review requested due to automatic review settings October 16, 2025 22:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors workflow result export functions to improve naming consistency and clarity. The changes make the function names more explicit about their destination (dataset vs local) and update the documentation accordingly.

  • Renamed exportWorkflowResult to exportWorkflowResultToDataset to clarify its specific purpose
  • Updated the function's docstring to accurately describe that it exports to datasets specifically
  • Updated the function call in the workflow result export service to use the new name

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
frontend/src/app/dashboard/service/user/download/download.service.ts Renamed function and updated docstring to clarify dataset export functionality
frontend/src/app/workspace/service/workflow-result-export/workflow-result-export.service.ts Updated function call to use the new renamed function

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@aicam aicam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aicam
aicam enabled auto-merge (squash) October 16, 2025 22:58
@aicam
aicam merged commit d0c2ed1 into apache:main Oct 16, 2025
12 checks passed
SarahAsad23 pushed a commit to madisonmlin/texera that referenced this pull request May 20, 2026
…o be separate and symmetric (apache#3916)

### What changes were proposed in this PR?
This PR updates the function names and docstring for workflow result
exports to local/dataset to be symmetric.


### Any related issues, documentation, discussions?
Refactors apache#3728.


### How was this PR tested?
This PR involves a simple refactoring of the existing workflow result
export functionality. Apart from verifying that the functionality has
not changed, no additional tests are needed.


### Was this PR authored or co-authored using generative AI tooling?
No.
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
…o be separate and symmetric (apache#3916)

### What changes were proposed in this PR?
This PR updates the function names and docstring for workflow result
exports to local/dataset to be symmetric.


### Any related issues, documentation, discussions?
Refactors apache#3728.


### How was this PR tested?
This PR involves a simple refactoring of the existing workflow result
export functionality. Apart from verifying that the functionality has
not changed, no additional tests are needed.


### Was this PR authored or co-authored using generative AI tooling?
No.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants