-
Notifications
You must be signed in to change notification settings - Fork 18
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
316 - Functional create dataset form #334
316 - Functional create dataset form #334
Conversation
…ata hook to simplify useCreateDatasetForm hook
…into feature/316-create-functional-create-dataset-form
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.
This looks really good!
I just have questions about the tests.
In FormGroupWithMultiple fields, the data entered disappears when adding and removing field groups. Is this just a behavior of the unit test, or is the data being lost?
Screen.Recording.2024-03-14.at.8.07.00.AM.mov
Also, when I run Form.spec.tsx, it seems to enter a infinite loop
Screen.Recording.2024-03-14.at.8.10.06.AM.mov
…into feature/316-create-functional-create-dataset-form
|
Ok, that makes sense, once we get them working in the form, maybe a way to make it generic will be more doable. I think it's a great start on issue #337 , so I'd like to use it as a starting point. If we keep it there for now, then I can use it while working on that issue, and remove it as part of my PR. What do you think? |
Sounds good, @ekraffmiller! Do you want me to make any other changes to this PR, or are we good to go? |
good to go, approved! |
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!
@MellyGray Can you please resolve the merge conflicts? |
…into feature/316-create-functional-create-dataset-form
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.
This works great and it is a very good starting point for the SPA version of the create dataset form.
createdataset.mov
…reate-dataset-form 316 - Functional create dataset form
Here's a revised version of the text with corrected English:
What This PR Does / Why We Need It:
This PR introduces a functional 'Create Dataset' form, allowing users to create new datasets via the form. However, this version of the form has several limitations:
This constitutes the first iteration of the 'Create Dataset' form. We plan to address these limitations in future updates.
Which Issue(s) This PR Closes:
Special Notes for Your Reviewer:
I made a few changes to the Design System form fields.
Below are the issues created to continue with the development of this feature:
Suggestions on How to Test This:
Step 1: Run the Development Environment
npm i
.cd packages/design-system && npm run build
.cd ../../
..env
file similar to.env.example
, with the variableVITE_DATAVERSE_BACKEND_URL=http://localhost:8000
.cd dev-env
../run-env.sh unstable
.Step 2: Test the Form
dataverseAdmin
and password:admin1
.Does This PR Introduce a User Interface Change? If Mockups Are Available, Please Link/Include Them Here:
Is There a Release Notes Update Needed for This Change?:
Added the 'Create dataset' feature to the SPA.
Additional Documentation: