IQSS / IQSS/dataverse-client-javascript

Implement dataset version isLatest and isInReview fields

Open
#218 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

GREI Re-arch SPA: Dataset View Page
Dominant language
TypeScript
Stars
20
Forks
11
Avg merge
2d 5h
Merged PRs (30d)
1

Description

Inspired from this TODO, the isLatest and isInReview in dataset version info from dataverse front-end repo are hard coded, and should be removed by connecting with js-dataverse functions. However, these two fields are missing in js-dataverse dataset version info as well, so an implementation is needed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the TODO in src/dataset/infrastructure/mappers/JSDatasetVersionMapper.ts at the linked commit, then trace the js-dataverse dataset version info functions and types. Determine where isLatest and isInReview belong and how dataset version data is assembled. Done means both fields are provided by js-dataverse rather than hard coded in the frontend.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.