Skip to content

Comments

Token makeover#1898

Merged
tykling merged 61 commits intobornhack:mainfrom
0xUnicorn:token-makeover
Jul 10, 2025
Merged

Token makeover#1898
tykling merged 61 commits intobornhack:mainfrom
0xUnicorn:token-makeover

Conversation

@0xUnicorn
Copy link
Contributor

@0xUnicorn 0xUnicorn commented Jul 4, 2025

New layout with personal stats, How to play and 4 widgets followed by a table with all of the active tokens.

Chart color uses the camp color for that year.
Introducing hints / categories (new model)

2025:
image
image

2024:
image
2023:
image

Mobile view
image

Backoffice:

image

Create categories:
image

Category detail:
image

0xUnicorn added 30 commits May 28, 2025 00:37
…e link in the sub-menu for camps. Remove the token game link from the main menu.
…f the old card and table used on the token list view. Add filter for selected camp to 'get_queryset' method
…tatable' from JS lib. Add a 'Total token' metric
…okenFindView'. Repurposed the url for '/token/<token>' to new SubmitView, rendering a form capable of doing a POST request.
…th templatefilters, instead of calculating minutes
…ries, using 'get_or_create' which is used for avoiding conflict when looping camps and still parse categories for token creation
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #1899

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #1899

0xUnicorn added 9 commits July 6, 2025 14:38
…abels to chart options. Rename widget from 'tokens_found' to 'total_finds' (and rename all variables, charts etc.). Add if/else for avoiding ZeroDivisionError when participant count is 0 (no tickets has been checked in). Remove series/labels '.reverse()', for some reason the dataset do not need to be reversed.
…. Remove wrong count for no_js table in 'total finds' widget.
…this was mobile version of table didn't show token (when found), and coloring seems better then re-organizing columns
@0xUnicorn 0xUnicorn changed the title [WIP] Token makeover Token makeover Jul 8, 2025
@0xUnicorn 0xUnicorn marked this pull request as ready for review July 8, 2025 10:31
@0xUnicorn
Copy link
Contributor Author

Fixes: #1891 with dynamic welcome token

@tykling tykling merged commit fa4317a into bornhack:main Jul 10, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backoffice tabpanel missing bootstrap class Token on the token page change to HelloTokenHunters2025

2 participants