Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3651
(
SIO-2418) Improve algorithm and difficulty tags system
Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.
*Make difficulty tags translatable.
*Display difficulty tags by their full names in a currently
chosen language.
*Force users to choose proposed difficulty level for a problem
only from existing difficulty tags.
*Modify admin panel for creating new tags: make algorithm
and difficulty tag localizations obligatory for all available
languages.
*Modify admin panel for relating existing algorithm and
difficulty tags with a problem (drop-down lists instead
of text input fields).
*Internationalize searching by algorithm and difficulty tags.
*Miscellaneous UI tweaks.
*Modify existing tests and add new test cases.
*Refactor old code.
Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
https://gerrit.sio2project.mimuw.edu.pl/3651
(
SIO-2418) Improve algorithm and difficulty tags systemProblems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.
*Modify AlgorithmTag and AlgorithmTagLocalization models to
accomodate for shorter algorithms abbreviations and longer,
localized full names of algorithms.
*Add DifficultyTagLocalization model to accomodate for
difficulty tags translations.
*Modify DifficutTagProposal to relate DifficultyTag objects
with users proposals.
*Display difficulty tags in a currently chosen language.
*Modify admin panel for creating new tags: make algorithm
and difficulty tag localizations obligatory for all available
languages.
*Modify admin panel for connecting existing algorithm and
difficulty tags with given problems (drop-down lists).
*Make searching for algorithm and difficulty tags use their
full names in all available languages.
*Add button for adding users algorithm tag proposals.
*Add displaying users difficulty tag proposals in the problem
settings view.
*Add other minor UI tweaks.
*Modify existing tests and add new test cases.
Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e