-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement environment variables #99
Conversation
- added styling, new elements also
- delay wasnt actually working
- MIME type validation using regex patterns to support various vendor-specific formats - Created utils folder and moved file handlers to utils/files.js for better code organization - Now supports additional CSV MIME types (e.g., 'application/vnd.ms-excel')
- So contributors will hopefully all use consistent formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the title page needs a rearrangement for the new UI element.
- Also added some explaning comments
- Was causing errors
- Since we are slowly upgrading and starting to use .jsx, we need to update the file types that tailwind parses - Also to address the warning tailwind gives 'purge' is now 'content' and darkMode false is 'media' See https://tailwindcss.com/docs/upgrade-guide#configure-content-sources and https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some final tweaks to the title page and we should be finished here
- Also fix for ws image upload not using env var - Added better explanation in .env file
The title page logo/title sizing needs an overhaul, I've made a band-aid fix to it, but it should be simpler than what is currently done, also merge conflicts should be solved I'm not sure why it is still showing conflicts |
Waiting for #109 |
- Prevent server crash when accessing session array index without proper bounds checking. Previously, accessing session[1] would panic if cookie didn't contain colons.
- Send full session string on game view - Prevent player_not_found errors for spectator pings
- Add useEffect hook to set initial timer value when entering final round
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny change to the returned errors in display.go
Resolves #97
Fixes #93
Description:
Introduces 3 new env vars
Changes made:
56de767 solves #97, adds t("Join at") {link} to /game page
586dfd1 adds csv and image max upload size vars
29003ce fixes a setTimeout bug
e0db5e2 solves #93 by checking actual file extension, also introduces utils/ folder for commonly used JS functions
c8cf2b3 adds prettier config so contributors can format with the same settings