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

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

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
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

Successfully merging this pull request may close these issues.

1 participant