Skip to content

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

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

Conversation

nevio18324
Copy link
Collaborator

No description provided.

@RandomTannenbaum RandomTannenbaum force-pushed the feature/883-displaying-of-default-skills branch from 476500d to b27584a Compare May 12, 2025 06:56
Copy link
Collaborator

@RandomTannenbaum RandomTannenbaum left a 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:

image

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.

@nevio18324 nevio18324 marked this pull request as ready for review May 12, 2025 11:06
@nevio18324 nevio18324 requested a review from Robin481 May 12, 2025 11:07
@RandomTannenbaum RandomTannenbaum linked an issue May 12, 2025 that may be closed by this pull request
@nevio18324 nevio18324 removed the request for review from Robin481 May 13, 2025 13:56
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.

Better displaying of new default skills
3 participants