uclaradio.com
uclaradio.com copied to clipboard
Unable to create second show on panel
Context
We want all DJ's to be able to create multiple shows, especially given that many are in program specific departments (e.g. News, Comedy, Sports) and therefore require specialist shows on top of their personal shows.
Two Radio members, Furkan and Salma, couldn't create a second show for News department.
The steps I took to solve were:
- Log into DJ Salmz's account on panel on my own machine
- Attempt to add their second News show on Tuesdays at 4PM (encountered their described bug here)
- Successfully add a show with a dummy title, not modifying default time/day
- Successfully add a show with a title closer to the one they gave, plus a modified time/day
- Delete both of these dummy shows
- Successfully add their second News show as requested
Expected Behavior
Immediately after click of Submit button for this second show, the frontend should retrieve the newly concatenated Show object (created using the information submitted) and display it persistently on the DJ Panel page.
Current Behavior
The second show information (inconsistently) fails to persist. It might get concatenated onto the DJ Panel but then never take effect on the schedule/be visible after page refresh. (when you press on the show, the option to Or the new show information might flash only momentarily, and fail to stay visible on the page even prior to refresh. Or the submission might only work after a second attempt.
Possible Solution
Refer to PanelDJ.js for the code regarding form submission.
Screenshot(s)
Steps to Reproduce
- Go to uclaradio.com/panel
- Log in to your account
- Click the blue " + Add New Show" link
- Enter show title
- Select a day and time (the DJ's who came across this problem attempted with a free time slot)
- Click Submit button
Your Environment
- [x] Desktop:
Operating System: Mac - [x] Chrome (Version: )
- [ ] Firefox (Version: )
- [ ] Safari (Version: )
- [ ] Opera (Version: )
- [ ] IE (Version: )
- [ ] EDGE (Version: )
- [x] Mobile:
Device:
Operating System: - [ ] Chrome (Version: )
- [ ] Firefox (Version: )
- [x] Safari (Version: )
- [ ] Opera (Version: )