IQSS / IQSS/dataverse-frontend

Relation Type menu options text in the Related Publication not displaying properly; no spaces between words

Open Beginner friendly
#1,041 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Size: 3 SPA
Dominant language
TypeScript
Stars
31
Forks
26
Avg merge
4d 13h
Merged PRs (30d)
4

Description

All the Relation Type options in the Related Publication section of dataset metadata is not displaying properly in the Modern UI. There is no spaces in the text. This error is also displayed out side of the edit metadata window. The text is properly spaced in the JSA DV version

What steps does it take to reproduce the issue?

  • When does this issue occur?
    When editing and viewing metadata on a dataset where the Related Publication field uses an option from the Relation Type dropdown menu.

  • Which page(s) does it occur on?
    I noticed it on this dataset page: https://dataverse.harvard.edu/modern/datasets?persistentId=doi:10.7910/DVN/IKIVID

  • What happens?

  • To whom does it occur (all users, curators, superusers)?
    Superuser and not logged in at all. Didn't test other login types.

  • What did you expect to happen?
    I expect the phrases in the Relation Type dropdown menu have a space between each word.

Which version of Dataverse Frontend are you using?
v. 6.10.1 build iqss-4|frontend version: 371cf9773

Any related open or closed issues to this bug report?

Screenshots:

Image

Image

How the same text is displayed in the JSA version:
Image

No matter the issue, screenshots are always welcome.

To add a screenshot, please use one of the following formats and/or methods described here:

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 in the Related Publication section of the dataset metadata UI and reproduce the issue with a Relation Type dropdown option while editing and viewing a dataset. Trace how the option labels are rendered, compare the Modern UI with the JSA display, and verify that every Relation Type phrase includes spaces in both contexts.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.