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

Update startProcessingDataset to accept formatted data from caller Formik components #428

Open
nozomione opened this issue Dec 13, 2024 · 0 comments · May be fixed by #431
Open

Update startProcessingDataset to accept formatted data from caller Formik components #428

nozomione opened this issue Dec 13, 2024 · 0 comments · May be fixed by #431
Assignees

Comments

@nozomione
Copy link
Member

Context

Currently, the startProcessingDataset method in the useDatasetManager hook accepts the values output from a user-submitted Formik form. It then filters the given values to extract the necessary download option keys for the API request to start processing the dataset.

Problem or idea

We want to move the responsibility of formatting form values to the caller components (using Formik forms) before passing them to startProcessingDataset, and simplify the implementation of this hook method.

Solution or next step

  1. Update the caller components to handle the formatting of the data before passing it to startProcessingDataset
  2. Clean up the formatting logic from startProcessingDataset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant