IQSS / IQSS/dataverse-frontend
Add missing privateUrl properties
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 31
- Forks
- 26
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 4
Description
Overview of the Feature Request
To display a dataset accessing through a privateUrl token we are currently using a js-dataverse use case getPrivateUrlDataset.execute(privateUrlToken) but this use case do not provide all the properties needed to display the full dataset.
These are some properties that we'll have to get from other js-dataverse use cases in order to complete the dataset:
- Dataset user permissions
- Dataset locks
- Dataset files total download size
Note that there are already use cases implemented in js-dataverse to get this dataset data when accessing through dataset id, but we'll need to get them using a privateUrl token to complete the getByPrivateUrlToken() implementation of DatasetJSDataverseRepository
What kind of user is the feature intended for?
All users
What inspired the request?
What existing behavior do you want changed?
None
Any brand new behavior do you want to add to Dataverse?
None
Any open or closed issues related to this feature request?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with DatasetJSDataverseRepository.getByPrivateUrlToken() and the existing getPrivateUrlDataset.execute(privateUrlToken) use case. Compare the dataset properties returned through the private URL with the existing use cases for dataset-ID access, including user permissions, locks, and total file download size. Done means the private-token path provides the complete dataset needed for display.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100