SIGS-UnB / core

Project SIGS
MIT License
1 stars 7 forks source link

Improve Discipline selection when creating or editing a class #283

Closed renatocoral closed 4 years ago

renatocoral commented 5 years ago

Problem description

Currently while creating or editing a class, the discipline is selected by a dropdown list that is not sorted in any order. Also, many disciplines appear repeated in the list.

Expected Behavior

A minimal expected behavior would be to sort disciplines in alphabetical order. A better solution would be a search mechanism since when all disciplines are inserted into the system there will be thousands of disciplines to choose from.

gustavocarvalho1002 commented 5 years ago

I took all the changes from the fork that i was working on to the main repository. The dropdown is now sorting all the disciplines alphabetically. I also reviewed and checked the discipline seed, where I spotted some grammar mistakes and I formatted the file.

gustavocarvalho1002 commented 5 years ago

Captura de tela de 2019-10-31 16-35-03 Captura de tela de 2019-10-31 16-35-18