BlueBrain / BlueBrain/nexus

Preview plugin improvements

Open
#3,172 0 comments 0 reactions 0 assignees View on GitHub
enhancement fusion fusion-plugin
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

## Motivation ##
- Give clarity to similar asset access in different places
- Gather both the preview plugin and the image plugin in one single File Plugin

## Acceptance criteria ##
- [ ] List all the global files associated to the selected dataset
- [ ] Display two kinds of visual for two categories of files: images and files
- [ ] Being able to download one by one assets.
- [ ] Display the count of each file type
- [ ] All the user to download all the files as zip format.
- [ ] Allow pagination when we have large list of files

## Description ##
While testing the plugin after the last consolidation, a few feedback were collected:
1. Agreed plugin name when Alex did the initial design was "Assets"
2. Table header could be made clearer as follow:
a. Name
b. Encoding Format
c. File Size
d. Actions
3. The action buttons take a lot of space, could we consider a more compact representation with only icons in the buttons ? Tooltip would show the current labels (Download, Copy Location, Preview)
4. We shouldn't show paging if only one page is available

### Current plugin: ###
![Screenshot 2022-03-29 at 18.00.39.png](https://images.zenhubusercontent.com/60ad1ee0d2c5ea18af754dc0/e952b947-f935-4155-87cb-25b78f11521e)

## Mockups ##
***Global view***
![BBP_Files-Plugin_OPTION-3](https://user-images.githubusercontent.com/108661118/181518459-e623241f-be76-4215-91a2-8bd016932517.jpg)

**Default**
![Default](https://user-images.githubusercontent.com/108661118/181523292-c6495e6f-74ed-4c34-a8c0-991b7c88537c.jpg)

**Selected**
![Selected](https://user-images.githubusercontent.com/108661118/181523330-26920590-99ea-414a-ab14-40c57accf040.jpg)

**Edit mode**
![Modify](https://user-images.githubusercontent.com/108661118/181523361-33062176-50ec-4e02-9ce6-36f34d01005d.jpg)

**Add new file(s)**
![BBP_Files-Plugin_Add Asset](https://user-images.githubusercontent.com/108661118/182558243-23694dc6-4e78-48dc-9f59-6822736c55d1.jpg)

**New file(s) component states**
![Asset status](https://user-images.githubusercontent.com/108661118/182558323-a1cd180a-4050-4976-93c4-c4f9dc797434.jpg)

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are named. Start by locating the current preview and image plugins and compare them with the supplied mockups; done means the listed asset views, file actions, counts, pagination, and naming changes are implemented.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.