"Start mentoring" button gives no feedback when someone else started before you

Steps to reproduce:

  1. :dog2: Go to Contribute → Mentoring → Queue
  2. :pig_nose: Find a submission you want to see in more detail and open it
  3. :thinking: Scratch your head and ponder whether you are able to help for a few minutes, enough so a more knowledgeble, determined, and go-get’em’y mentor decides to mentor that submission (kudos to them!)
  4. :bulb: Decide you do have something useful to say and click “Start mentoring”

Expected result: :no_entry: some indication that the submitted exercises is not available anymore.

Actual result: :cricket: nothing happens. You are on the same page, with the same alluring “start mentoring” button available for you to click. You wonder if you clicked it. You click it again. Oh no! And again. This is not happening! Scream, scream… sorry got carried away :smile:

Bottom line, it would be nice to have a feedback about the mentoring request not being available anymore.

:bowing_man:

Related thread and issue: One request for mentoring comes in and two mentors start responding - #24 by iHiD

(sorry for all the silliness…)

3 Likes

Thanks. We’ll take a look. And silliness++!

2 Likes

So we did actually fix this forever ago with a custom page, but because the server responds with a 404, the page doesn’t actually get loaded for you.

This will fix that: Redirect to unavailable page when element in queue is no longer available by dem4ron · Pull Request #8074 · exercism/website · GitHub

But I’ll also style the page as currently, this is its content: website/app/views/mentoring/requests/unavailable.html.haml at 45cadd372b4f6f4534e80fac75895f44da96bed9 · exercism/website · GitHub

2 Likes