cardinalitypuzzles / cardboard

Dashboard for managing puzzles and tracking status during a puzzle hunt
MIT License
31 stars 21 forks source link

Meta tags don't appear right away after adding a new meta #672

Closed rgossiaux closed 8 months ago

rgossiaux commented 1 year ago

We noticed that when you add a new meta in cardboard, the tag corresponding to it doesn't appear right away if you create a new puzzle and try to assign it to the new meta.

rgossiaux commented 1 year ago

They actually won't appear at all until you refresh. It's a regression from https://github.com/cardinalitypuzzles/cardboard/pull/642/files#diff-195bf4ead66185014cd09d75a1621afd4bb647781a8bca3af807ad1a3c141403

We used to derive the list of tags from the tags on each individual puzzle. Now we're getting the list of tags from the Hunt object, but unlike the puzzles we don't refresh the hunt, so the tags never update after you reload the page.

rgossiaux commented 8 months ago

This was fixed by #755