canvas-lms/ui/features/dashboard
Jackson Howe 7d28eaa424 Highlight selected student in ObserverOptions
Also don't send off duplicate network requests if the selected
student is selected again.

closes LS-3067
closes LS-3068
flag = observer_picker

Test plan:
 - On classic dashboard with observer_picker on, switch students in
   the observer picker
 - Expect the selected student to be highlighted
 - Click the selected student again
 - Expect to see no additional network requests in the console
 - Repeat on the k5 dashboard

Change-Id: I44fc7994c3bbedf485a753dc871c9fdb223d58eb
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/289076
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Ed Schiebel <eschiebel@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2022-04-07 17:30:35 +00:00
..
backbone/views fix formatting from useScope commits 2022-03-17 21:07:06 +00:00
jquery/util rename some things 2021-04-06 01:12:49 +00:00
jst rename some things 2021-04-06 01:12:49 +00:00
react Highlight selected student in ObserverOptions 2022-04-07 17:30:35 +00:00
index.js Switch dashboard based off selected student 2022-04-04 22:14:14 +00:00