-
Notifications
You must be signed in to change notification settings - Fork 202
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
Rework the Account model #1999
base: next
Are you sure you want to change the base?
Rework the Account model #1999
Conversation
19ea01a
to
7b9a9a5
Compare
STEVE anything I can do here? |
Right now, probably not a lot, but thanks for offering! I think that this is probably still not ready and I'm not sure if this is something we should even do. However, I do think that we should consider changing the account model since the way seasons are recorded seems kind of janky right now. I'd be interested to know what your thoughts are, though! PS: I've also been working on a version with updated dependencies and rewriting the server in Typescript and I've found having Typescript makes the code a lot easier to manage. |
Changes
Please describe the changes made in the pull request here.
I don't think you want to merge this (since I believe it stil is kind of broken), but it contains some changes to make working with accounts significantly easier (and enables automatic season resets).
I think it also fixes some errors I found in the code while rewriting the accounts model, but those might be hard to find. It also contains the fixes in #1998 (I'm sorry, I know this makes it hard for this PR to be useful).
Screenshots
These are effectively required for non-trivial changes, but appreciated for all.
So ideally the site looks exactly the same, but I almost guarantee you there are some bugs in this PR.
Below you'll find a checklist. For each item on the list, check one option (if completed) and delete the other as appropriate. (Delete this line too)
Tested Locally
Tests
Changelog
Changelog Entry (delete this section if this PR does not need a changelog entry)
Check one, delete the other:
Check one, delete the other:
Changelog Headline: Revamp accounts model. Make seasons automatically reset.
Changelog Details: Many variables in the accounts model have been renamed. Season stats should now automatically reset when the server restarts. Other things to do with seasons might not automatically reset / work when the season resets.