BlueBrain / BlueBrain/nexus

Preview Plugin: dealing with long file names

Open
#3,171 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

**Description**
In case some long filenames are found in the distribution of an KG resource, the Preview plugin rendering is challenges. See capture below with CamelSnake on steroid type of filename:
![camelsnakekangaroo.png](https://images.zenhubusercontent.com/60ad1ee0d2c5ea18af754dc0/913604dd-849a-4dbd-bb1f-b5eff1bec2dd)

**Acceptance criteria**
- rendering of the plugin should stay inline with others irrespectively of table content
- There should be a way to see the complete filename

**Solution proposal**
To be further discussed in grooming.
- put a file length limit beyond which we put elipsis and show full filename on mouse over.
- wrap filename on multiple lines

Contributor guide

Open the contributing guide

Research direction

Start by locating the Preview plugin's table-rendering entry point and reproduce the layout with the long filename shown in the issue. Compare the plugin's rendering with adjacent plugins, then implement a way to keep the layout inline while still exposing the complete filename. Done means long filenames no longer disrupt the table and the full name remains viewable.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.