IQSS / IQSS/dataverse-frontend

Add information about when a file was restricted to the files table

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

Nobody has claimed this yet.

pm.GREI-d-2.7.1 pm.GREI-d-2.7.2
Dominant language
TypeScript
Stars
31
Forks
26
Avg merge
4d 13h
Merged PRs (30d)
4

Description

When a file is restricted, that applies to all versions of a file, not just the latest version. In the files table UI we want to add information about when the file was restricted, to make more clear to the user why a particular version of the file is restricted.

For example, with a file that has two versions with the second one restricted, like this:
Screenshot 2024-02-05 at 1 41 18 PM
The Access File menu for version 1.1 looks like this, with the 'Public' label, even though it is not downloadable:
Screenshot 2024-02-05 at 1 43 48 PM
In the SPA, the both versions will be labeled as Restricted, like this:
Screenshot 2024-02-05 at 1 55 33 PM

This issue is for adding additional information to the Access File Menu, to specify when the file was restricted. For example "Restricted as of Version 1.2". We may need to mock up examples to decide how we want that to look.

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 by locating the files table UI and its Access File menu, then trace how restriction status and file versions are presented. Review the existing screenshots and determine the display treatment for the restriction version; this is done when every affected file version clearly indicates when the file was restricted.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
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.