Skip to content

Sync fork #5

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

Merged
merged 5 commits into from
Jun 6, 2020
Merged

Sync fork #5

merged 5 commits into from
Jun 6, 2020

Conversation

mm1705
Copy link
Owner

@mm1705 mm1705 commented Jun 6, 2020

No description provided.

Sean added 5 commits June 3, 2020 11:53
* Add lock icon to signify leetcode premium questions

Fixes #11

* Add `Premium` field to each question

This new field will represent whether or not a question requires
leetcode premium to view, and also allow users to filter by all,
premium, or free questions.

* Move Premium to its own column
The `Difficulty` filter is now hard-coded, as to avoid running into edge
cases using preFilteredRows/filteredRows (see
https://github.com/tannerlinsley/react-table/blob/master/docs/api/useFilters.md#column-properties).

All filters have been refactored out to a seperate file (filters.js), to
reduce code clutter in the Table component.

The question list is now sorted by difficulty by default when being
exported from src/data/index.js.

Fixes #13
@mm1705 mm1705 merged commit 4173973 into mm1705:master Jun 6, 2020
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