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

Team page changes #214

Closed
wants to merge 6 commits into from

Conversation

SibiAkkash
Copy link
Contributor

@SibiAkkash SibiAkkash commented Nov 25, 2023

Added match skeletons #209
Fetch team matches only, part of fixing #199

team-page-skeletons-2023-11-25_16.16.35.mp4

@SibiAkkash SibiAkkash force-pushed the optimise-team-view branch 3 times, most recently from 81d87eb to b815711 Compare November 26, 2023 03:38
@Joe2k
Copy link
Contributor

Joe2k commented Nov 27, 2023

Nice this is super cool

Just a few thoughts in UI: Can we reduce the number of skeletons of Roster and Matches? I feel just 5 in roster and 3 in matches will be enough.. Currently it feels page is super long when loading only @SibiAkkash

return (
<div class="mb-10">
<div class="mb-5 ml-1">
<h3 class="text-center text-lg font-bold">Day - 1</h3>
Copy link
Contributor

Choose a reason for hiding this comment

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

When showing skeletons dont think we need to show day as there might be 1 day / 3 day tournaments which this might confuse

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so, just Roster, followed by the skeletons for the matches ? Shall we have Day - 1 alone ? Otherwise there'd be a small jump when the matches query completes and is rendered right ?
In the skeletons there won't be the Day - 1 heading, suddenly it will appear once matches are fetched and grouped.

Copy link
Contributor

Choose a reason for hiding this comment

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

yep that works

Copy link
Contributor

Choose a reason for hiding this comment

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

Although you might need to update this for the tab view here as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah will do

@SibiAkkash SibiAkkash force-pushed the optimise-team-view branch 2 times, most recently from 2381d60 to 1651eff Compare December 2, 2023 05:14
@SibiAkkash SibiAkkash changed the title Optimise team view Team page changes Dec 2, 2023
@SibiAkkash SibiAkkash force-pushed the optimise-team-view branch 2 times, most recently from b233b94 to 61ad1c3 Compare December 4, 2023 06:04
Matches, Pools and Bracket responses don't need to include tournament data
Due to relations to tournament and pools in the matches model,
we end up sending the tournament object multiple times in the response
@SibiAkkash SibiAkkash force-pushed the optimise-team-view branch 2 times, most recently from 36b4db5 to 3800a08 Compare December 4, 2023 12:53
@SibiAkkash
Copy link
Contributor Author

Skeletons for standing tabs

standings-skeleton-2023-12-04_18.34.50.mp4

@Joe2k
Copy link
Contributor

Joe2k commented Dec 4, 2023

Noice Perfect

@Joe2k
Copy link
Contributor

Joe2k commented Dec 4, 2023

@SibiAkkash 10 might again be a lot for skeletons I think.. We can have 6 or less I feel.. Cause I think the skeleton list should not take a whole mobile screen. Also some tournaments we have from 3 / 4 teams like womens this time in that case the website will shrink after data loads. So better to go with less numbers

@SibiAkkash
Copy link
Contributor Author

SibiAkkash commented Dec 4, 2023

@SibiAkkash 10 might again be a lot for skeletons I think.. We can have 6 or less I feel.. Cause I think the skeleton list should not take a whole mobile screen. Also some tournaments we have from 3 / 4 teams like womens this time in that case the website will shrink after data loads. So better to go with less numbers

Makes sense, changing to 6

@SibiAkkash
Copy link
Contributor Author

SibiAkkash commented Dec 4, 2023

skeleton for schedule

schedule-skeleton-2023-12-04_21.07.41.mp4

@Joe2k
Copy link
Contributor

Joe2k commented Dec 5, 2023

@SibiAkkash Will you be doing skeletons for standings page as well?

@SibiAkkash
Copy link
Contributor Author

@SibiAkkash Will you be doing skeletons for standings page as well?

Yeah, I can do this by tonight

@Joe2k
Copy link
Contributor

Joe2k commented Dec 6, 2023

@SibiAkkash Can you please rebase this with the latest main and push? Will merge post that

@SibiAkkash
Copy link
Contributor Author

Closing as separate PRs have been created for these

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.

2 participants