Skip to content

feat: add Hot 100 study plan picker#217

Open
fenixc9 wants to merge 1 commit intokawre:masterfrom
fenixc9:feat/hot100-studyplan
Open

feat: add Hot 100 study plan picker#217
fenixc9 wants to merge 1 commit intokawre:masterfrom
fenixc9:feat/hot100-studyplan

Conversation

@fenixc9
Copy link
Copy Markdown

@fenixc9 fenixc9 commented Mar 9, 2026

Summary

  • Add studyPlanV2Detail GraphQL query to fetch the Hot 100 study plan questions
  • Add Problems.hot100() API function (supports both leetcode.com and leetcode.cn)
  • Add cmd.hot100 command that cross-references the plan with local cache and opens the picker sorted in Hot 100 order
  • Add Hot 100 button (shortcut h) to the Problems menu page
  • Register :Leet hot100 user command

Usage

From the menu: Problems → h (Hot 100)

Or directly: :Leet hot100

Test plan

  • :Leet hot100 opens picker with exactly the Hot 100 problems in correct order
  • Problems menu shows Hot 100 button with h shortcut
  • Solved/todo status is correctly reflected from local cache
  • Works on both leetcode.com and leetcode.cn

🤖 Generated with Claude Code

Add support for browsing LeetCode Hot 100 problems via the studyplan API.

- Add `studyPlanV2Detail` GraphQL query (queries.lua + cn/queries.lua)
- Add `Problems.hot100()` API function fetching `top-100-liked` plan
- Add `cmd.hot100` command that cross-references plan with local cache
  and opens the picker sorted in Hot 100 order
- Add "Hot 100" button (shortcut `h`) to the Problems menu page
- Register `:Leet hot100` command

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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