希望比赛中的“题目列表”页面,不显示详细的题目ID

Open
#1,212 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
mongodb, node.js, typescript

Research direction

Look at the contest problem list page route (likely in frontend routes) and the backend API that serves contest problems. Compare the URL generation in 'contest/xxxx/management' (which uses numeric IDs) with 'contest/xxxx/problems' (which uses detailed IDs like DP35). Modify the problem list rendering to use numeric IDs, ensuring the links still work. Check related models and controllers for contest and problem ID mapping.

Written by the indexing model from the issue text.

Description

希望比赛中的“题目列表”页面 'contest/xxxx/problems' ,能像“比赛管理”页面 'contest/xxxx/management' 一样。给出的题目URL中,不包含详细的题目ID,例如 '/p/ARC259D?tid=xxx' '/p/dp12?tid=xxx',而是一个数字ID(/p/405?tid=xxx)。以防详细的题目ID中隐含了一些提示信息。

Dominant language
TypeScript
Stars
7.3k
Forks
504
Avg merge
11h 29m
Merged PRs (30d)
2

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hydro-dev/Hydro

All issues in hydro-dev/Hydro

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.