Bug 33512 - Labels/buttons are confusing on serials-edit page
Summary: Labels/buttons are confusing on serials-edit page
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Lucas Gass (lukeg)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 22:03 UTC by Lucas Gass (lukeg)
Modified: 2024-07-04 20:37 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.05.00,22.11.06,22.05.14
Circulation function:


Attachments
Bug 33512: Change text and add button classes on serial-edit page (3.94 KB, patch)
2023-04-12 22:29 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 33512: Change text and add button classes on serial-edit page (4.00 KB, patch)
2023-04-13 13:40 UTC, PTFS Europe Sandboxes
Details | Diff | Splinter Review
Bug 33512: Change text and add button classes on serial-edit page (4.00 KB, patch)
2023-04-15 23:17 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 33512: (QA follow-up) Remove 'Click to' from buttons (2.62 KB, patch)
2023-04-15 23:17 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 33512: (follow-up) Check item count before adding add/edit button (2.27 KB, patch)
2023-04-24 23:54 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 33512: Change text and add button classes on serial-edit page (4.06 KB, patch)
2023-05-09 21:15 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 33512: (QA follow-up) Remove 'Click to' from buttons (2.68 KB, patch)
2023-05-09 21:15 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 33512: (follow-up) Check item count before adding add/edit button (2.33 KB, patch)
2023-05-09 21:15 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2023-04-12 22:03:39 UTC
TO recreate:
1. Create a subscription 
2. Make sure that you choose "Create an item record" when receiving the serial and associate it with a record.
3. Fill out the numbering pattern stuff and save the subscription.
4. Receive and change the status to arrived. Doing so will make the item subfields appear for editing.
5. Add some stuff, like a barcode, and Save.
6. Now, if you have made a mistake, you may want to edit the serial/item. Check the edit box and click 'Edit serials '
7. For your issue that has already arrived click 'Click to add item'. The item record from before appears. 

At this point you are actually editing an item, not adding an item. This is confusing and leads librarians to never edit these items because they assume they are adding an item, not editing the existing one. 


Also, the 'Click to add item' is small and grey. It should look more like a button.
Comment 1 Lucas Gass (lukeg) 2023-04-12 22:29:30 UTC
Created attachment 149580 [details] [review]
Bug 33512: Change text and add button classes on serial-edit page

To test:
1. Create a subscription
2. Make sure that you choose "Create an item record" when receiving the serial and associate it with a record.
3. Fill out the numbering pattern stuff and save the subscription.
4. Receive and change the status to arrived. Doing so will make the item subfields appear for editing.
5. Add some stuff, like a barcode, and Save.
6. Now, if you have made a mistake, you may want to edit the serial/item. Check the edit box and click 'Edit serials '
7. For your issue that has already arrived click 'Click to add item'. The item record from before appears.
8. Apply patch.
9. Try 6 & 7 again. The existing items should now read 'Click to edit item'
Comment 2 PTFS Europe Sandboxes 2023-04-13 13:40:34 UTC
Created attachment 149605 [details] [review]
Bug 33512: Change text and add button classes on serial-edit page

To test:
1. Create a subscription
2. Make sure that you choose "Create an item record" when receiving the serial and associate it with a record.
3. Fill out the numbering pattern stuff and save the subscription.
4. Receive and change the status to arrived. Doing so will make the item subfields appear for editing.
5. Add some stuff, like a barcode, and Save.
6. Now, if you have made a mistake, you may want to edit the serial/item. Check the edit box and click 'Edit serials '
7. For your issue that has already arrived click 'Click to add item'. The item record from before appears.
8. Apply patch.
9. Try 6 & 7 again. The existing items should now read 'Click to edit item'

Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Comment 3 Andrew Auld 2023-04-13 13:41:04 UTC
Lovely...much less confusing now. :)
Comment 4 Katrin Fischer 2023-04-15 23:17:39 UTC
Created attachment 149719 [details] [review]
Bug 33512: Change text and add button classes on serial-edit page

To test:
1. Create a subscription
2. Make sure that you choose "Create an item record" when receiving the serial and associate it with a record.
3. Fill out the numbering pattern stuff and save the subscription.
4. Receive and change the status to arrived. Doing so will make the item subfields appear for editing.
5. Add some stuff, like a barcode, and Save.
6. Now, if you have made a mistake, you may want to edit the serial/item. Check the edit box and click 'Edit serials '
7. For your issue that has already arrived click 'Click to add item'. The item record from before appears.
8. Apply patch.
9. Try 6 & 7 again. The existing items should now read 'Click to edit item'

Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Comment 5 Katrin Fischer 2023-04-15 23:17:42 UTC
Created attachment 149720 [details] [review]
Bug 33512: (QA follow-up) Remove 'Click to' from buttons

This is following recommendations from accessibility
guidelines. It being a link or button already indicates
that you need to click it. We don't need to spell it out.
Comment 6 Katrin Fischer 2023-04-15 23:18:49 UTC
Hi Lucas, 

I just realized that we had the "Click to..." previous to your patches, but we should not do that. I've added a small follow-up to remove them. It being a link or button already indicates that you can click it, see also accessibility guidelines like: https://www.mtu.edu/accessibility/training/web/link-text/
Hope you agree :)

But: The edit/add text change doesn't work perfectly yet:

To test:
* Add a new subscription creating items on receive
* Receive a first issue and create the item
* From serial collection check both issues and edit
* The unreceived issue in status "arrived also has "Edit item", but there is no item to edit yet

I really like this change, can you please have another look?
Comment 7 Lucas Gass (lukeg) 2023-04-17 14:12:38 UTC
(In reply to Katrin Fischer from comment #6)
> Hi Lucas, 
> 
> I just realized that we had the "Click to..." previous to your patches, but
> we should not do that. I've added a small follow-up to remove them. It being
> a link or button already indicates that you can click it, see also
> accessibility guidelines like:
> https://www.mtu.edu/accessibility/training/web/link-text/
> Hope you agree :)
> 
> But: The edit/add text change doesn't work perfectly yet:
> 
> To test:
> * Add a new subscription creating items on receive
> * Receive a first issue and create the item
> * From serial collection check both issues and edit
> * The unreceived issue in status "arrived also has "Edit item", but there is
> no item to edit yet
> 
> I really like this change, can you please have another look?

Good catch Katrin. I 100% agree with you. Should we set this back to NSO? Thanks for the follow-up!
Comment 8 Katrin Fischer 2023-04-18 19:08:08 UTC
(In reply to Lucas Gass from comment #7)
> (In reply to Katrin Fischer from comment #6)
> > Hi Lucas, 
> > 
> > I just realized that we had the "Click to..." previous to your patches, but
> > we should not do that. I've added a small follow-up to remove them. It being
> > a link or button already indicates that you can click it, see also
> > accessibility guidelines like:
> > https://www.mtu.edu/accessibility/training/web/link-text/
> > Hope you agree :)
> > 
> > But: The edit/add text change doesn't work perfectly yet:
> > 
> > To test:
> > * Add a new subscription creating items on receive
> > * Receive a first issue and create the item
> > * From serial collection check both issues and edit
> > * The unreceived issue in status "arrived also has "Edit item", but there is
> > no item to edit yet
> > 
> > I really like this change, can you please have another look?
> 
> Good catch Katrin. I 100% agree with you. Should we set this back to NSO?
> Thanks for the follow-up!

I couldn't fix the second issue - so we will still need a follow up or maybe change to "Add/edit item"
Comment 9 Lucas Gass (lukeg) 2023-04-24 23:54:48 UTC
Created attachment 150179 [details] [review]
Bug 33512: (follow-up) Check item count before adding add/edit button
Comment 10 Lucas Gass (lukeg) 2023-04-24 23:55:41 UTC
> I couldn't fix the second issue - so we will still need a follow up or maybe
> change to "Add/edit item"

Katrin, let me know what you think of my follow-up for the 2nd issue.
Comment 11 Katrin Fischer 2023-05-09 21:15:47 UTC
Created attachment 150906 [details] [review]
Bug 33512: Change text and add button classes on serial-edit page

To test:
1. Create a subscription
2. Make sure that you choose "Create an item record" when receiving the serial and associate it with a record.
3. Fill out the numbering pattern stuff and save the subscription.
4. Receive and change the status to arrived. Doing so will make the item subfields appear for editing.
5. Add some stuff, like a barcode, and Save.
6. Now, if you have made a mistake, you may want to edit the serial/item. Check the edit box and click 'Edit serials '
7. For your issue that has already arrived click 'Click to add item'. The item record from before appears.
8. Apply patch.
9. Try 6 & 7 again. The existing items should now read 'Click to edit item'

Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 12 Katrin Fischer 2023-05-09 21:15:50 UTC
Created attachment 150907 [details] [review]
Bug 33512: (QA follow-up) Remove 'Click to' from buttons

This is following recommendations from accessibility
guidelines. It being a link or button already indicates
that you need to click it. We don't need to spell it out.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 13 Katrin Fischer 2023-05-09 21:15:53 UTC
Created attachment 150908 [details] [review]
Bug 33512: (follow-up) Check item count before adding add/edit button

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 14 Tomás Cohen Arazi (tcohen) 2023-05-10 17:19:52 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 15 Matt Blenkinsop 2023-05-15 12:27:22 UTC
Nice work everyone!

Pushed to stable for 22.11.x
Comment 16 Lucas Gass (lukeg) 2023-06-15 19:03:52 UTC
Backported to 22.05.x for upcoming 22.05.14
Comment 17 Danyon Sewell 2023-07-20 04:08:42 UTC
Not backporting to 21.11.x