Day 8: Add an “Appeal” Button for Bad Scoring

since Claude is actually the judge in this competition, not me, I decided to add an “Appeal” button to the final matches:

on the scoring page, in the section where you display each of the matches, I’d like to install an Appeal button. it should be in the top right corner of each of the boxes that hold one of the matched items.

When the user clicks the Appeal button, a modal should appear. The modal has room for two fields, a dropdown and a small text box, but only the dropdown appears first. The “title” of the dropdown is “Reason:” and the default choice is “select a reason for appeal”. The actual choices, one of which is required, are: “this answer is a subset of the answer”, “this answer is not accurate”, “this answer is not real/contrived”, “general bullshittery”, and “Other”. in the bottom right corner of the modal is a submit button, it should not be clickable until the user has made their selection (And followup if applicable – see below)

When the user selects either “general bullshittery” or “Other”, the text box below the drop down and the user is required to enter text in the box before clicking the submit button to proceed. If the user selects any of the first three choices, no text box appears and the submit button becomes activated.

when submitted, the appeal is stored in the new “Appeals” section of the admin area that you’ll need to create for me. When I am an admin, I can click on the appeals tab and see all appeals. each row in the appeals admin area has username, criteria used, answer being appealed, reason from the dropdown, and the text from the comments box, if used. Eventually I’ll be able to take action from here as an admin, but for version 1, let’s just get those appeals into a list in the admin area for them to look at.