IQSS / IQSS/dataverse-frontend
Add information about when a file was restricted to the files table
Nobody has claimed this yet.
- 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:
The Access File menu for version 1.1 looks like this, with the 'Public' label, even though it is not downloadable:
In the SPA, the both versions will be labeled as Restricted, like this:
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
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 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