Skip to content

feat: add daily challenge problem pick (#919) #981

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Icathian-Rain
Copy link

  • feat: add daily chanllenge problem pick, both work on us and cn endpoint

details:

  • add a new command: onCommand:leetcode.pickDaily
  • add a new menu view: leetcode.pickDaily
  • implement the command leetcode.pickDaily in src/commands/show.ts
  • add a new function queryDailyProblem in src/quest/query-daily-problem.ts
  • add two new util functions getDailyQueryStr and getDailyProblemID in src/shared.ts which are used to adapt to us and cn endpoint

* feat: add daily chanllenge problem pick, both work on us and cn endpoint
@Icathian-Rain
Copy link
Author

This is my first time to pull request.
Feel free to give me some suggestions 😃

+ Fix the daily question query string on leetcodeCN
+ Fix the daily question id field
@sbycrosz
Copy link

sbycrosz commented Mar 7, 2025

I successfully installed it using these instructions. It works perfectly! Thanks 🙏

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants