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:
- Log in as an administrator.
- Open an existing item.
- Go to Edit Item.
- Open the Metadata tab.
- Modify an existing metadata value, delete a metadata value, or add a new metadata value.
- Observe the row highlighting before saving the changes.
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:
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-basedTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Rows with pending metadata changes should be clearly highlighted using the corresponding contextual background colors.
For example:
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: