-
Notifications
You must be signed in to change notification settings - Fork 19
Add categories and sub categories to skills to rate #886
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
base: master
Are you sure you want to change the base?
Conversation
476500d
to
b27584a
Compare
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.
I would not show categories that have no default skills:
Also maybe it would be good to change the background color of the default skill headers a bit, so when scrolling down they are easier distinguishable from the already rated skills??
The current logic seems to be very inefficient. You fetch all categories and skills per person and then also fetch categories per person etc. This produces way too many db queries. Take advantage of ActiveRecord functions like includes
to eager load entries beforehand or try to use subqueries.
No description provided.