Skip to content

Metadata rows do not show contextual background colors when adding, editing, or deleting values #5929

Description

@hernanhlagos

Describe the bug

When editing an item’s metadata, the rows selected for changes are not highlighted with the expected contextual background colors.

For example, when a metadata value is edited, deleted, or newly added, the row should visually reflect the action being performed. However, the row background remains gray, and only the border color changes. This makes it difficult to quickly distinguish between modified, deleted, or newly added metadata values.

This affects usability, especially for administrators working with several metadata values at once, because it can create confusion or uncertainty before saving changes.

I noticed this behavior in the item edit form, under the Metadata tab.

DSpace version: [DSpace 10.x. DSpace 11.x]
Browser: Chromium-based

To Reproduce

Steps to reproduce the behavior:

  1. Log in as an administrator.
  2. Open an existing item.
  3. Go to Edit Item.
  4. Open the Metadata tab.
  5. Modify an existing metadata value, delete a metadata value, or add a new metadata value.
  6. Observe the row highlighting before saving the changes.
Image

Expected behavior

Rows with pending metadata changes should be clearly highlighted using the corresponding contextual background colors.

For example:

  • Modified metadata values should have a clear warning-style background.
  • Deleted metadata values should have a clear danger-style background.
  • Newly added metadata values should have a clear success-style background.

The visual difference should be easy to recognize, not only through the border color but also through the row background.

Related work

This seems related to the same type of visual issue described in:

Metadata

Metadata

Assignees

Labels

Fields

No fields configured for Feature.

Projects

Status
🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions