-
Notifications
You must be signed in to change notification settings - Fork 138
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
base: master
Are you sure you want to change the base?
Customizable Tables #401
Conversation
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.
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.
sent you an invite to the repo |
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:
and you can reorder them with drag and drop easily
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.