sio2project / oioioi

GNU General Public License v3.0
160 stars 70 forks source link

Better urls in the task archive #299

Open Kostero opened 7 months ago

Kostero commented 7 months ago

I'd like to be able to have a direct link to problems in task archive, e.g. https://szkopul.edu.pl/task_archive/oi/24/e1/fla should link to the problem fla from the first stage of the 24th Olympiad.

Kostero commented 7 months ago

Similarly https://szkopul.edu.pl/task_archive/oi/24/ should lead to a view with all the problems from the 24th Olympiad.

DietPawel commented 7 months ago

I like the feature, but I would like to discuss the way it is implemented. Currently there are many slugs for different competitions, for example OIJ uses legacy name OIG. I am not convinced that all task archive problems should have uniformly made slugs. I think we should either:

Additionally this should add some UI features for displaying quick links for users to find out about their existence