Skip to content

2497: Ability to edit skills#2532

Merged
KralMarko123 merged 9 commits intomasterfrom
2497-edit-skills
Apr 8, 2026
Merged

2497: Ability to edit skills#2532
KralMarko123 merged 9 commits intomasterfrom
2497-edit-skills

Conversation

@KralMarko123
Copy link
Copy Markdown
Collaborator

Feature for #2497

  • Added #edit and #update to skill routing
  • Added an edit view for skills and updated skill_form_component.html.erb to check
  • Enabled editing for only skill name, description and grade descriptor descriptions
  • Added default ordering for skill.grade_descriptors by their marks
  • Modified API response when serving grade descriptors to be also ordered by marks

Disclaimer when testing

Only real issue was the way grade descriptors were shown in both the web app and mobile app. When a grade descriptor was updated it was returned first in the queries, therefore the lesson grading dropdowns would show grade descriptor with mark '3' as first. Same goes for the mobile app, the grading slider would show the first option to be the descriptor with a mark '3'.

Above is the reason why default ordering was added.

@KralMarko123 KralMarko123 requested a review from tomca32 April 6, 2026 13:55
Copy link
Copy Markdown
Member

@tomca32 tomca32 left a comment

Choose a reason for hiding this comment

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

Good work. Ordering also makes sense.

@KralMarko123 KralMarko123 merged commit 8d7393c into master Apr 8, 2026
4 checks passed
@KralMarko123 KralMarko123 deleted the 2497-edit-skills branch April 8, 2026 06:51
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.

2 participants