aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/js/resources/resources.js (follow)
Commit message (Collapse)AuthorAgeLines
* Edge cases: Show duckies when no visible resourcesGravatar Leon Sandøy2022-02-13-8/+14
|
* Best practice: Switch name to data-resource-name.Gravatar Leon Sandøy2022-02-13-1/+1
|
* Make the remove all tags affect search, too.Gravatar Leon Sandøy2022-02-13-1/+4
|
* Fix duck pond not showing for search results of 0.Gravatar Leon Sandøy2022-02-13-3/+2
|
* Search the resource description too.Gravatar Leon Sandøy2022-02-13-6/+15
|
* Add a filter tag when searching.Gravatar Leon Sandøy2022-02-13-2/+15
|
* Implement fuzzy search.Gravatar Leon Sandøy2022-02-13-4/+35
| | | | | | | This implements the core logics for filtering by search. It uses fuzzysort to match the search query to the name of the resource. This name is set in the yaml for each resource.
* Trigger a UI update when typing into search.Gravatar Leon Sandøy2022-02-13-0/+5
|
* Dynamically update URL with search query.Gravatar Leon Sandøy2022-02-13-3/+19
|
* Duck pond removed when removing all filters.Gravatar Leon Sandøy2022-02-02-1/+2
|
* Complete refactor of collapsibles.Gravatar Leon Sandøy2022-02-01-14/+1
| | | | | | | | | | | | | This is now a completely self-contained feature, which can be used in the same way on every page. I've moved all the collapsible-related logics out of the resources.js file and into collapsibles.js, and added documentation and other quality-of-life features that will apply to other pages, as well. Changes: - The icon will now always change when the collapsible opens or closes. - By adding the "collapsed" class, you can tell the collapsible to be collapsed by default.
* Fix bug where transition wouldn't work on first collapse.Gravatar Leon Sandøy2022-02-01-3/+4
|
* Make resource tags correctly deactivate.Gravatar Leon Sandøy2022-02-01-0/+9
|
* Add a button for removing all active filters.Gravatar Leon Sandøy2022-01-31-25/+42
|
* Fix category header double click bug on mobile.Gravatar Leon Sandøy2022-01-31-1/+1
|
* Improve performance of addFilter() up to 300%Gravatar Leon Sandøy2022-01-31-9/+15
|
* Hide no filters selected in all cases.Gravatar Leon Sandøy2022-01-31-0/+7
|
* Get rid of invalid filters in the URL.Gravatar Leon Sandøy2022-01-31-7/+17
|
* Collapse category headers on load for mobile only.Gravatar Leon Sandøy2022-01-30-1/+12
|
* Refactor: collapsibles as a stand-alone componentGravatar Leon Sandøy2022-01-30-0/+236