Skip to content
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

Better urls in the task archive #299

Open
Kostero opened this issue Dec 5, 2023 · 2 comments
Open

Better urls in the task archive #299

Kostero opened this issue Dec 5, 2023 · 2 comments

Comments

@Kostero
Copy link
Contributor

Kostero commented Dec 5, 2023

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
Copy link
Contributor Author

Kostero commented Dec 5, 2023

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

@MasloMaslane MasloMaslane self-assigned this Dec 6, 2023
@SZonkil SZonkil self-assigned this Dec 6, 2023
@DietPawel
Copy link
Contributor

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:

  • Enable customization of such link structures
  • Make quick links for problems which can be generated automatically for task archive, but editable.
  • Make an external service for general url shorting, with integration with task archive.

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

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

No branches or pull requests

4 participants