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

Customizable Tables #401

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open

Customizable Tables #401

wants to merge 48 commits into from

Conversation

Vac1911
Copy link

@Vac1911 Vac1911 commented Dec 8, 2021

I just spent 3 hours writing a pull request then my computer crashed so this is gonna be a TLDR version:

Look I made it so you can change what columns tables have:
customizing

and you can reorder them with drag and drop easily
reorder

Currently I've only "upgraded" the "normal" tables which show a list of player as a starting point (so like freeAgents, tradingBlock, playerStats, etc.). Next steps in my mind would be to do gamelog, player view, and roster pages. The first 2 have data being pulled from other places than player, and roster isnt using the DataTable component currently.

After that team tables could be upgraded such as teamStats() but besides that there arent many tables displaying the same things, which would mean making templates for them would be somewhat redundant as they dont need to be shared.

Copy link
Member

@dumbmatter dumbmatter left a comment

Choose a reason for hiding this comment

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

This is only a partial review, there will be more! It's just all I have time for right now. If we succeed in merging this, it will probably take a while :)

Also can you give me commit access to your repo? I'm not going to do anything crazy (at least not without telling you) but I will probably need to do something at some point.

package.json Show resolved Hide resolved
src/common/getCols.ts Outdated Show resolved Hide resolved
src/ui/components/BoxScore.hockey.tsx Outdated Show resolved Hide resolved
src/ui/components/BoxScore.football.tsx Show resolved Hide resolved
src/ui/components/DataTable/Controls.tsx Outdated Show resolved Hide resolved
src/ui/components/DataTable/CustomizeColumns.tsx Outdated Show resolved Hide resolved
src/ui/components/DataTable/index.tsx Show resolved Hide resolved
src/ui/components/DataTable/index.tsx Outdated Show resolved Hide resolved
src/ui/util/columns/getCols.ts Show resolved Hide resolved
@Vac1911
Copy link
Author

Vac1911 commented Dec 9, 2021

sent you an invite to the repo

@dumbmatter dumbmatter changed the base branch from master to salaryCapType January 18, 2022 21:58
@dumbmatter dumbmatter changed the base branch from salaryCapType to master January 18, 2022 21:58
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.

None yet

2 participants