You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There have been a couple of occasions where I accidentally pop/resolve a student when I mean to pin them. As such a quick, undo recent pop button would be a nice addition. Clicking the button would take the most recent student popped and place them back in the queue at their relative position (time elapsed since request). I'd love to contribute myself, but this is my first time seeing the codebase, so any tips on where to start?
The text was updated successfully, but these errors were encountered:
👋 hey @smikell! I like this idea. Instead of adding a new button, I'm curious how it would feel if the 'Pop' button briefly changed to 'Undo' after you clicked it. That button is rendered here:
Undoing a pop would be as simple as looking up the request and setting resolved_at and resolver back to null.
Perhaps we should update queue_pop to take in a request_id, so that the frontend only 'pops' the request it intended. You should then be able to store the 'last popped' request ID in component state for the instructor panel and pass it to a new method on the backend if Undo is clicked.
There have been a couple of occasions where I accidentally pop/resolve a student when I mean to pin them. As such a quick, undo recent pop button would be a nice addition. Clicking the button would take the most recent student popped and place them back in the queue at their relative position (time elapsed since request). I'd love to contribute myself, but this is my first time seeing the codebase, so any tips on where to start?
The text was updated successfully, but these errors were encountered: