aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/resources/views/resources.py (follow)
Commit message (Collapse)AuthorAgeLines
* Add README to the resources app (#934)Gravatar Johannes Christ2023-04-14-126/+0
|
* Refactor as_css_class to 'to_kebabcase'.Gravatar Leon Sandøy2022-02-01-8/+6
| | | | | | | We're making a few changes here - Changing the name to 'to_kebabcase' - Covering all edge cases - Adding a unit test for this utility
* Kaizen: Make jchrists wildest dreams come trueGravatar Leon Sandøy2022-02-01-1/+1
| | | Co-authored-by: Johannes Christ <[email protected]>
* Add type annotations for sort key method.Gravatar Leon Sandøy2022-02-01-1/+1
|
* Sort resources alphabetically, disregarding 'the'.Gravatar Leon Sandøy2022-02-01-1/+10
|
* Placate the flake8.Gravatar Leon Sandøy2022-01-31-1/+3
|
* Get rid of invalid filters in the URL.Gravatar Leon Sandøy2022-01-31-0/+11
|
* Ensure "Other" is always the bottom topic.Gravatar Leon Sandøy2022-01-30-6/+12
|
* Support dashful redirects.Gravatar Leon Sandøy2022-01-30-2/+5
| | | | | | | Previously, trying to go to `resources/project%20ideas` would crash the filtering JS. This has now been sorted out, so that these types of redirects have their spaces replaced by dashes, which makes them valid again.
* Redirects from old endpoints now filter correctly.Gravatar Leon Sandøy2022-01-30-17/+8
| | | | | For example, navigating to pydis.com/resources/communities will now correctly redirect to pydis.com/resources/?type=community.
* Sort all the resources alphabetically.Gravatar Leon Sandøy2022-01-29-1/+4
|
* Complexity -> Difficulty.Gravatar Leon Sandøy2022-01-29-4/+4
|
* Resource filtering on the client, pt 1.Gravatar Leon Sandøy2022-01-27-31/+94
| | | | | | | Here's the initial version of this system. We've got filtering, but only by clicking checkboxes. The overall look and style are pretty close to where we want them, but it's missing tons of polish to be complete. The following commits will contain that polish.
* Kaizen: Refactor some code to be more beautiful.Gravatar Leon Sandøy2022-01-23-2/+2
|
* Remove wildcard asterisks in URL.Gravatar swfarnsworth2021-09-12-8/+0
| | | | This is no longer necessary as empty columns are treated as all being selected.
* Make an asterisk in the URL a wildcard.Gravatar swfarnsworth2021-09-04-4/+12
| | | | This means that /resources/?topic=*&type=Book&payment=Paid&complexity=*` would return paid books of all topics and complexities.
* Drop -Option from {topic,type,etc}Option.Gravatar swfarnsworth2021-09-04-4/+4
| | | | Having -Option in the names was making the URL especially verbose.
* Rename `utils.py` to `resource_search.py`.Gravatar swfarnsworth2021-09-03-1/+1
|
* chore: Split Topic column into two columnsGravatar Vivaan Verma2021-08-13-1/+4
|
* Sort the columns in the UI.Gravatar swfarnsworth2021-08-03-4/+4
|
* Convert data structure for query.Gravatar swfarnsworth2021-08-03-1/+10
| | | | Was list[str], is now dict[str, set[str]], organized by category.
* Restructure table of resources for new query logic.Gravatar swfarnsworth2021-08-03-2/+2
|
* working demo of smart resources searchGravatar fisher602021-07-25-4/+6
| | | | I have incorporated a search that allows users to check boxes to filter resources. This is a working version, but the algo for searching likely needs to be modified. The frontend also needs some style updates. All necessary functionality should be present now though.
* Added type annotations; refactored.Gravatar swfarnsworth2021-07-24-13/+15
|
* add constant for resource tags. Add Functional front endGravatar fisher602021-07-24-6/+19
| | | | This change adds a fully functional front end menu for testing. This is a very rough outline and will need a bit of UI and UX love to get working fully. Should act as an example of functionality
* change resources to prepare for smart resource searchGravatar fisher602021-07-23-3/+7
|
* Fix resources pre-commitGravatar ks1292020-10-29-1/+1
|
* Simplify resources index viewGravatar ks1292020-10-04-10/+5
|
* Create view for resources indexGravatar ks1292020-09-22-0/+12