Slightly improved "Song Added" alert for kJams Server

Just talk about kJams stuff with each other, describe things you did that worked, talk about your setup, anything that doesn't fit into the other forums!
Post Reply
DeusExMachina
Posts: 1293
Joined: Sun Apr 20, 2008 9:57 am
Location: Pittsburgh, PA
Contact:

Slightly improved "Song Added" alert for kJams Server

Post by DeusExMachina »

Often times when using kJams Server, the user will miss the "Song Added" and other status alerts at the bottom of the window. (Heck, even I just recently noticed it!) As a result, they will mistakenly hit the "Tonight" button over and over, thus adding the song multiple times. To combat this (but not be quite as intrusive as a pop up alert) I made this little code snippet that will make the text bright red and flash it several times to catch the users attention.
(I am going to do some psychological experimentation tonight to see how effective it is.)

Hope someone finds it useful.

Find it here:
https://karaoke.kjams.com/wiki/Server/C ... to_main.js

dave
Site Admin
Posts: 6716
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: Slightly improved "Song Added" alert for kJams Server

Post by dave »

meanwhile, i'll take that as a bug report and fix the "bug" of being able to add the same song more than once to a "tonight" list.

DeusExMachina
Posts: 1293
Joined: Sun Apr 20, 2008 9:57 am
Location: Pittsburgh, PA
Contact:

Re: Slightly improved "Song Added" alert for kJams Server

Post by DeusExMachina »

Well then, as an added "bug report", I often get multiple copies of a singer because of the latency between submitting the new singer form and the actual creation of said singer. When it is not fast enough, the user interprets this as an interface failure, and hits the submit button again (and again (and again (and again)) the record being 18 times (thus far!))
Not sure what the best solution to this is though. Ultimately it should be server-side, but maybe a little client-side code can form a stop-gap.

dave
Site Admin
Posts: 6716
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: Slightly improved "Song Added" alert for kJams Server

Post by dave »

gotcha

Post Reply