Bug 41170 - HIghlight previously edited item on add items page
Summary: HIghlight previously edited item on add items page
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Nick Clemens (kidclamp)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-03 12:41 UTC by Nick Clemens (kidclamp)
Modified: 2025-12-12 15:57 UTC (History)
5 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41170: Highlight previously edited item on add items page (3.45 KB, patch)
2025-11-03 13:22 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review
Bug 41170: Highlight previously edited item on add items page (3.51 KB, patch)
2025-11-06 17:21 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 41170: (follow-up) Correct a CSS selector and adjust colors (1.90 KB, patch)
2025-11-06 17:21 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2025-11-03 12:41:49 UTC
Bug 31323 fixed the highlighting of an item remaining after the item was saved, however, some libraries found this useful for viewing the item after editing to confirm values.
Comment 1 Nick Clemens (kidclamp) 2025-11-03 13:22:35 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2025-11-06 17:21:46 UTC
Created attachment 189190 [details] [review]
Bug 41170: Highlight previously edited item on add items page

Some libraries find it useful to have the item that was just
edited/saved visible in the items list

To test:
0 - Apply patch
1 - Edit an item, confirm the itme is highlighted yellow with title
    'Currently editing' (Hover to see the title)
2 - Save the item
3 - Confirm item is now highlighted light blue with title 'Previously
    edited'
4 - Sign off

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Owen Leonard 2025-11-06 17:21:48 UTC
Created attachment 189191 [details] [review]
Bug 41170: (follow-up) Correct a CSS selector and adjust colors

This patch updates the table cell selector so that the
"previous" class isn't overwritte, and updates the "active" and
"previous" classes so that they use standard Bootstrap colors.
Comment 4 Lisette Scheer 2025-12-12 15:49:34 UTC
Adding a see also to Bug 31323 as before this some libraries were using that highlight as an expected indicator of the most recently edited item.