feat: company question list picker (leetcode.cn)#221
Open
fenixc9 wants to merge 2 commits into
Open
Conversation
Add the ability to browse and solve company interview question lists from leetcode.cn. Users can select a company from a searchable picker and view the company's curated problem set. - Add InterviewHotCompanyCards and favoriteQuestionList GraphQL queries - New company picker module with fzf-lua, telescope, mini.pick, and snacks.picker provider support - `Leet company` command and "Company" button on the Problems page Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Replace garbled company button icon with nf-fa-building (U+F1AD) - Use vim.empty_dict() for filter fields that must be JSON objects, not arrays, to fix GraphQL 400 error Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Leet companycommandAPI Used
/graphql/noj-goInterviewHotCompanyCards/graphql/favoriteQuestionListHow it works
:Leet company)favoriteQuestionList(favoriteSlug: "{company-slug}-thirty-days")Files Changed
lua/leetcode-plugins/cn/queries.lualua/leetcode/api/problems.luacompany_list,company_questions)lua/leetcode/picker/init.luaP.company()entry pointlua/leetcode/command/init.luacmd.company()commandlua/leetcode-ui/group/page/problems.lualua/leetcode/picker/company/*