Skip to content

Lehman black code challenge session2#2

Open
WileESpaghetti wants to merge 24 commits into
masterfrom
lehman-black-code-challenge-session2
Open

Lehman black code challenge session2#2
WileESpaghetti wants to merge 24 commits into
masterfrom
lehman-black-code-challenge-session2

Conversation

@WileESpaghetti
Copy link
Copy Markdown
Owner

@WileESpaghetti WileESpaghetti commented Jun 30, 2020

contains changes that aren't necessarily done for the code challenge and without consideration for time

  • convert some things to use classes
  • added some jest tests
  • convert tables to custom component
  • add upload notifications

This change can be used as a starting timestamp to get a rough idea of
how long the coding challenge took
artisan defaults to putting generated models in the app root for some reason
This took longer than usual due to unfamiliarity with the Faker library and troubleshooting
why the group_name attribute was not detected by the tests properly
extra time taken to find out if React had an alternative to
getElementById and learning about refs
in production this would use a foreign key and possibly a separate mapping table if needed.
noticed they were listed above, but missing in my section
also played around with jest and updating component snapshots
wrapping the tables in a component also simplifies keeping track of per-table sort state,
and once a filter prop is added it can be used to display the group data as well.
filter can be any valid [lodash predicate](https://lodash.com/docs/4.17.15#filter)
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.

1 participant