gwillen / herring

Modern Django and ReactJS based web application for puzzlehunt team management!
MIT License
7 stars 4 forks source link

need a way to pre-create objects in herring that may later become puzzles / be given names / be assigned rounds #82

Open gwillen opened 5 months ago

gwillen commented 5 months ago

When we get a physical object, we may want a chat and a spreadsheet for it, when we don't have a puzzle page or a name for the puzzle yet (such as the nametags this year.)

Also, we frequently want to have a sheet and a chat for the meta for a round, before we have unlocked a webpage for it.

We should have a process for this, and any software features needed to make it work.

(Apparently it already works to move puzzles between rounds; the discord channel will end up in the wrong category, but can probably be manually moved safely? And it will have the wrong name slightly.)

gwillen commented 5 months ago

Manually moving puzzle channels between categories in discord DOES appear to work.

gwillen commented 5 months ago

Renaming a channel causes the bot to no longer see it as existing, because the bot gets channels by name. Currently you can't edit that field in the admin page, but I should be able to fix that. Ideally the bot could instead get channels by stable identifier.

gwillen commented 5 months ago

It appears that renumbering a round is fine -- the round numbers encoded in the channel names will then be wrong, but everything else is fine. The category name doesn't have the round number, and even if it did, the bot seems to store categories by internal ID, not name (unlike channels.)

The round number also appears in the titles of the spreadsheets -- those are purely cosmetic and fine to change manually or leave alone.

gwillen commented 5 months ago

In fact probably we should auto-create a placeholder meta for every round by default or something.