Bug 33731 - Allow audio alerts to be used on SCO pages
Summary: Allow audio alerts to be used on SCO pages
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Katrin Fischer
URL:
Keywords:
: 22406 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-05-14 12:33 UTC by Katrin Fischer
Modified: 2024-11-15 20:42 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Makes audio alerts accessible in the self checkout module by default. Staff can now pick sounds from the list in the Audio alerts configuration and no longer need a full path URL to make sounds available in the self checkout module.
Version(s) released in:
24.11.00
Circulation function:


Attachments
Bug 33731: Allow for default sounds on SCO page (431.45 KB, patch)
2024-08-14 16:44 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 33731: Allow for default sounds on SCO page (432.63 KB, patch)
2024-08-14 16:47 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 33731: Allow for default sounds on SCO page (432.70 KB, patch)
2024-08-14 17:48 UTC, Laura Escamilla
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2023-05-14 12:33:04 UTC
The self checkout pages implement Audio alerts, but you can't pick a sound from the list, but have to enter a full URL instead in order to make them work (see bug 22406). This is not obvious and a little hint would be nice until this can be fixed.
Comment 1 Katrin Fischer 2023-09-23 10:32:21 UTC
*** Bug 22406 has been marked as a duplicate of this bug. ***
Comment 2 Lucas Gass (lukeg) 2024-08-14 16:44:09 UTC
Created attachment 170325 [details] [review]
Bug 33731: Allow for default sounds on SCO page

To test:
1. APPLY PATCH
2. Enable AudioAlerts system preferencce
3. Set up some audio alerts to trigger on the SCO page. ( I used #sco_main for east testing)
4. Make sure the sounds work properly.

Note: It is not my favorite thing to duplicate these assets for intranet and OPAC, is there a better way?
Comment 3 Lucas Gass (lukeg) 2024-08-14 16:47:47 UTC
Created attachment 170326 [details] [review]
Bug 33731: Allow for default sounds on SCO page

To test:
1. APPLY PATCH
2. Enable AudioAlerts system preferencce
3. Set up some audio alerts to trigger on the SCO page. ( I used #sco_main for east testing)
4. Make sure the sounds work properly.

Note: It is not my favorite thing to duplicate these assets for intranet and OPAC, is there a better way?

	modified:   koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/IM_notification.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/beep.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/call.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/critical.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/device_connect.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/device_disconnect.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/ending.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/fail.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/incoming_call.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/loading.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/loading_2.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/maximize.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/minimize.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/new_mail_notification.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/opening.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/panic.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/popup.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/warning.ogg
Comment 4 Laura Escamilla 2024-08-14 17:48:53 UTC
Created attachment 170327 [details] [review]
Bug 33731: Allow for default sounds on SCO page

To test:
1. APPLY PATCH
2. Enable AudioAlerts system preferencce
3. Set up some audio alerts to trigger on the SCO page. ( I used #sco_main for east testing)
4. Make sure the sounds work properly.

Note: It is not my favorite thing to duplicate these assets for intranet and OPAC, is there a better way?

	modified:   koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/IM_notification.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/beep.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/call.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/critical.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/device_connect.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/device_disconnect.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/ending.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/fail.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/incoming_call.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/loading.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/loading_2.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/maximize.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/minimize.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/new_mail_notification.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/opening.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/panic.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/popup.ogg
	new file:   koha-tmpl/opac-tmpl/bootstrap/sound/warning.ogg

Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Comment 5 Katrin Fischer 2024-09-02 09:08:58 UTC
I am not aware of another way right now. Maybe having a full patch URL to the staff interface...? As we are not talking a lot of big files, I am OK with this until we have a better idea for shared files in general.
Comment 6 Katrin Fischer 2024-09-02 10:20:57 UTC
Pushed for 24.11!

Well done everyone, thank you!