Skip to content
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

Deref user tournaments #95

Merged
merged 4 commits into from
Nov 21, 2023
Merged

Deref user tournaments #95

merged 4 commits into from
Nov 21, 2023

Conversation

ShiroUsagi-san
Copy link
Contributor

@ShiroUsagi-san ShiroUsagi-san commented Nov 10, 2023

Adding fields to populate user dashboard with less API requests

@Lymkwi
Copy link
Collaborator

Lymkwi commented Nov 15, 2023

I'll queue this after #93 and #94 are merged because I don't want to change tournaments from two places at once and not know which one broke the test suite :|

@KwikKill KwikKill force-pushed the deref_user_tournaments branch from b0ec36d to 86a4377 Compare November 17, 2023 21:39
Copy link
Contributor

@Lugrim Lugrim left a comment

Choose a reason for hiding this comment

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

It looks like it's working, however the code base (especially the variable names) should be reworked to keep it understandable.

Also, tests should be added, it may be done later though (please open an issue and mention it here to keep a trace of what's happening)

insalan/tournament/views.py Outdated Show resolved Hide resolved
insalan/tournament/views.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Lymkwi Lymkwi left a comment

Choose a reason for hiding this comment

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

Looks okay, there's just some nitpicks here and there

insalan/tournament/views.py Outdated Show resolved Hide resolved
@KwikKill KwikKill force-pushed the deref_user_tournaments branch from 86a4377 to 6985ce4 Compare November 20, 2023 18:22
@KwikKill KwikKill requested review from Lugrim and Lymkwi November 20, 2023 18:25
Copy link
Contributor

@Lugrim Lugrim left a comment

Choose a reason for hiding this comment

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

Great, better than what I expected!

Copy link
Collaborator

@Lymkwi Lymkwi left a comment

Choose a reason for hiding this comment

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

You really know how to get me to approve a PR 😸 those tests are a really neat addition

@Lymkwi Lymkwi added enhancement New feature or request priority:medium Medium Priority labels Nov 21, 2023
@KwikKill KwikKill merged commit 8166deb into dev Nov 21, 2023
4 checks passed
@KwikKill KwikKill deleted the deref_user_tournaments branch November 21, 2023 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:medium Medium Priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants