-
Notifications
You must be signed in to change notification settings - Fork 16
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
134 - Files table UI [1/2] - Integration display data #169
134 - Files table UI [1/2] - Integration display data #169
Conversation
…tegration and e2e tests
Thanks for your detailed review! I applied most of the changes, just one thing to discuss: Regarding point 1 of your screenshot. I see 2 options to fix it:
Let me know which approach do you prefer |
Let's add the friendlyType property, both to the js-dataverse model and to the associated file API payload. Since, as you say, it may be useful for other applications and is also straightforward to add. You can keep it as it is for now, make note of this change and implement it once we have implemented it in js-dataverse/API. I have run the application again to test the latest changes. I have only found a small detail to correct. You can see how there is a space missing between MD5: and the value in the SPA version. MD5:f56...22b But it should be like MD5: f56...22b |
There are some conflicts in this PR to be resolved. |
…ithub.com/IQSS/dataverse-frontend into feature/134-integration-files-table-display-data
@GPortas I fixed the MD5: f56...22b and the merge conflicts! |
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.
LGTM!
@GPortas @MellyGray I think embargo is not enabled in the container so can't configure and check but looks good, merging. |
…able-display-data 134 - Files table UI [1/2] - Integration display data
What this PR does / why we need it:
This PR adds the integration of the js-dataverse use cases to get the files into the SPA UI
Which issue(s) this PR closes:
Special notes for your reviewer:
Changes
Notes
The total files count is not yet integrated into the js-dataverse module so the number is still mocked
Also, the e2e tests are failing in the Github Action because the dataverse branch haven't been merged yet. But they should work locally npm run test:e2e
Suggestions on how to test this:
Step 1: Run the development environment
npm I
cd packages/design-system && npm run build
cd ../../
.env
file such as the .env.example, with theVITE_DATAVERSE_BACKEND_URL=http://localhost:8000
variablecd dev-env
./run-env.sh 9692-files-api-extension-display-data
Step 2: Test Dataset View mode with the implemented changes for the getDatasetFiles
?persistentId=doi:10.5072/FK2/LHGRHP&version=DRAFT
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No
Is there a release notes update needed for this change?:
Files Tab data display integrated with the backend
Additional documentation: