Skip to content

Apply filter configuration to problem feature#228

Draft
Gabbar-v7 wants to merge 3 commits into
kawre:masterfrom
Gabbar-v7:feat/config
Draft

Apply filter configuration to problem feature#228
Gabbar-v7 wants to merge 3 commits into
kawre:masterfrom
Gabbar-v7:feat/config

Conversation

@Gabbar-v7

Copy link
Copy Markdown

This pull request updates the way the "List" button on the Problems page filters problem status based on user configuration. The main change is to allow the button to pass the user's preferred status filter (such as "ac", "notac", or "todo") when listing problems. This required updating both the configuration template and the button's behavior.

User status filter integration:

  • Added a new status field to the leetcode.config template, allowing users to specify their preferred problem status filter (e.g., "ac", "notac", "todo", or nil).
  • Modified the "List" button in problems.lua so that when pressed, it calls cmd.problems with the user's configured status filter.
  • Included the leetcode.config module in problems.lua to access the user's status configuration.

@Gabbar-v7

Copy link
Copy Markdown
Author

This is just a mock implementation. I can raise a proper production PR if you could guide me.

@Gabbar-v7 Gabbar-v7 marked this pull request as draft June 27, 2026 19:29
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