UI spacing regression on ds-generic-item-page-field (extra spaces around metadata values) in v10.x
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- angular, typescript
- 領域
- frontend
調査の方向性
issueで言及されているアイテムページコンポーネントの設定(untyped-item.component.html など)から始め、ds-generic-item-page-field が複数のメタデータ値をどのように表示し、区切り文字を適用するかを追ってください。DSpace 8 または 9 の動作と間隔を比較します。DSpace 10.x で、設定された区切り文字がメタデータリンクの前後に余分な間隔なく表示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
In DSpace version 10.0 and 10.1, metadata fields rendered via ds-generic-item-page-field (specifically observed with dc.subject) display extra spaces before and after the values when comma-separated ([separator]="', '"). Even though no space is explicitly defined in the separator configuration, a gap or extra spacing appears in the rendered UI around the links.
Testing confirms this issue affects multiple entity types (reproduced on both untyped items and publication entities, including verification against the public DSpace test environment at sandbox.dspace.org).
To Reproduce
Steps to reproduce the behavior:
- Configure an item page component (e.g., untyped-item.component.html or publication component) with a custom separator (e.g., changing the comma to a semicolon to verify the separator value is accepted, while checking spacing):
<ds-generic-item-page-field [item]="object"
[fields]="['dc.subject']"
[separator]="';'"
[label]="'item.page.subject'">
</ds-generic-item-page-field> - View an item with multiple subjects on a DSpace instance (8x or 9x) (observe correct tight spacing).
- View the same item configuration on a DSpace 10.0 or 10.1 instance (or via
sandbox.dspace.org). - Check the UI: Notice that while the component respects the separator change (e.g., using the semicolon), unwanted spacing is still incorrectly injected around the metadata link elements before/after the separator.
Expected behavior
The separator should follow the text tightly based on the exact string provided in [separator], without unexpected padding, margins, or flex gaps injected around the metadata link elements, matching the behavior in DSpace 7–9.
Screenshots
DSpace 8.5 and 9.4
DSpace 10.0 and 10.1
Additional Context
Impact & Importance: While spacing may seem like a minor detail, repository administrators frequently work with strict client-mandated style guides and meticulous stakeholders ("pixel-perfect" requirements). Unwanted gaps breaking tight punctuation formatting create noticeable visual inconsistencies across item records.
Related work
Link to any related tickets or PRs here.
- 主要言語
- TypeScript
- スター
- 180
- フォーク
- 577
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 111
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DSpace/dspace-angular のほかの issue
-
affects: 10.x affects: 9.x bug component: submission Difficulty: Low help wanted ux
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
DSpace/dspace-angular#6412 ·
メンテナーはふだん 3 日以内に返信
-
accessibility affects: 10.x affects: 8.x affects: 9.x bug help wanted ux
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DSpace/dspace-angular#6364 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Author browse links on item page open in a new tab, unlike other browse links対応中かも @jesielviana が 19 日前に担当しました。 オープンaffects: main bug component: Item low priority
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DSpace/dspace-angular#6268 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
Mathjax single dollar sign delimiter configuration causes unintentional math rendering in abstractsオープンbug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
DSpace/dspace-angular#6263 ·
メンテナーはふだん 3 日以内に返信
-
affects: 10.x affects: 8.x affects: 9.x bug component: controlled vocabulary component: submission
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DSpace/dspace-angular#6119 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
DSpace/dspace-angular の issue をすべて見る
似ている issue
-
[Bug]: Pen taps on sidebar rows start a drag and lose their click対応中かも @makhnatkin が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
b310-digital/teammapper#1515 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
puckeditor/puck#1884 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
outline/outline#14378 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nicobailon/pi-web-access#642 ·
メンテナーはふだん 1 日以内に返信