Closed qiaochloe closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
bph-site | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 15, 2024 8:13pm |
Would be nice to have a direct "refund" option when submitting.
Also noticed a bug, weird stuff can happen if you claim a hint and unclaim it on the table. If the opened hint page isn't refreshed, you can still submit a response.
Hmm, I'm not sure how to refresh another window here.
I added more restrictive database queries and better error-handling through toast. This will hopefully better enforce the hinting state diagram. (eg. You should never be able to submit a response if you are not the claimer of a hint.)
LGTM. In the future we might want to not display the refund button in the main hints table (for risk of accidental refunds) but should be good for now.
Also changed the "claimed by" column to "status."