aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* 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-11/+10
| | | | Having -Option in the names was making the URL especially verbose.
* Rename `utils.py` to `resource_search.py`.Gravatar swfarnsworth2021-09-03-3/+3
|
* Make title for all resources a link.Gravatar swfarnsworth2021-08-28-68/+21
| | | | When the resource is for a Discord server, the title links to a website and the Discord icon is the server invite.
* Use MappingProxyType to freeze non-private dictionaries.Gravatar swfarnsworth2021-08-27-4/+13
| | | | This is intended to make those mappings safer.
* Make icon dict a constant; add project ideas icon.Gravatar swfarnsworth2021-08-22-30/+31
|
* Add nedbat's kindling projects.Gravatar swfarnsworth2021-08-22-0/+14
| | | | This is the first "project ideas" resource.
* Make video resource boxes consistent.Gravatar swfarnsworth2021-08-22-25/+13
| | | | The title now links to the YouTube channels rather than a YouTube icon. Channels with an associated Discord server are also tagged "community".
* merge: Merge branch 'doublevcodes/smarter-resources/front-end' of ↵Gravatar Vivaan Verma2021-08-17-0/+14
|\ | | | | | | https://github.com/doublevcodes/site into doublevcodes/smarter-resources/front-end
| * New Resource: vcokltfre's Discord bot tutorial.Gravatar swfarnsworth2021-08-17-0/+14
| |
* | Align select all buttons to center of columnGravatar Vivaan Verma2021-08-17-4/+4
|/
* fix: Make select all buttons for each individual columnGravatar Vivaan Verma2021-08-16-16/+26
|
* feat: Add select all buttonGravatar Vivaan Verma2021-08-16-0/+13
|
* chore: Finalise tag styleGravatar Vivaan Verma2021-08-15-7/+8
|
* chore: Add tag to resource boxesGravatar Vivaan Verma2021-08-14-5/+54
|
* chore: Split Topic column into two columnsGravatar Vivaan Verma2021-08-13-10/+26
|
* lint: Add a NOQA for the N818 linting errorGravatar Vivaan Verma2021-08-12-1/+1
| | | | | | This newly added rule enforces exception names to end with Error or Exception, causing the code to not pass linting. I preferred ignoring this error instead of fixing it to keep the style consistent with rest_framework.NotFound.
* feat: Add a source button to the resource boxesGravatar Vivaan Verma2021-08-12-8/+13
| | | | This button should be used by maintainers to take them to the YAML file holding data about that resource. It currently has no functionality.
* feat: Center `Search` and `Clear Search` buttonsGravatar Vivaan Verma2021-08-12-4/+3
|
* feat: Make default options ticked when page loadsGravatar Vivaan Verma2021-08-11-51/+51
|
* styles: filtering resources pageGravatar dawnofmidnight2021-08-03-20/+25
|
* "python" -> "general" in tags/topics.Gravatar swfarnsworth2021-08-03-4/+4
| | | | As most of the resources are Python related, tagging them with "python" is uninformative.
* Delete unused `yaml_file_matches_search` method.Gravatar swfarnsworth2021-08-03-8/+0
|
* Sort the columns in the UI.Gravatar swfarnsworth2021-08-03-4/+4
|
* Add empty set as an initial value.Gravatar swfarnsworth2021-08-03-1/+2
| | | | Otherwise, the call to reduce will raise an error when no options for a given category are selected.
* Implement desired query logic.Gravatar swfarnsworth2021-08-03-7/+14
|
* Convert data structure for query.Gravatar swfarnsworth2021-08-03-1/+10
| | | | Was list[str], is now dict[str, set[str]], organized by category.
* split up checkbox options in query paramsGravatar fisher602021-08-03-21/+34
| | | | I have added functionality to the front end to split up the checkbox options into separate query params. This will make it easier to parse what has been selected.
* Restructure table of resources for new query logic.Gravatar swfarnsworth2021-08-03-23/+20
|
* Create Resource type annotation.Gravatar swfarnsworth2021-08-03-3/+3
|
* remove redundant variable declarationGravatar fisher602021-07-25-2/+1
|
* refactor search function for resourcesGravatar fisher602021-07-25-10/+9
|
* working demo of smart resources searchGravatar fisher602021-07-25-11/+69
| | | | 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.
* Updated type annotations; get_resources_meta now returns a dict of sorted ↵Gravatar swfarnsworth2021-07-24-18/+10
| | | | lists of strings in title-case.
* Added type annotations; refactored.Gravatar swfarnsworth2021-07-24-13/+15
|
* Remove extra newline from end of file (there is now one newline).Gravatar swfarnsworth2021-07-24-1/+0
|
* add constant for resource tags. Add Functional front endGravatar fisher602021-07-24-35/+71
| | | | 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
* add function to gather tags from resource yaml filesGravatar fisher602021-07-24-0/+23
| | | | I added a function to utils to load all the tags from the resources, this should allow all the tags to be loaded once and exist in memory.
* change resources to prepare for smart resource searchGravatar fisher602021-07-23-93/+105
|
* Add Kaggle's pandas tutorial.Gravatar swfarnsworth2021-07-06-0/+13
|
* Remove reference to Python 2.7.Gravatar swfarnsworth2021-07-06-1/+1
| | | | The maintainer of regex101 has changed the name from "Python 2.7" to just "Python".
* Add resource regex101.Gravatar swfarnsworth2021-07-04-0/+15
|
* Add resource Data Science from Scratch.Gravatar swfarnsworth2021-07-04-0/+24
|
* Add final line break for style compliance.Gravatar swfarnsworth2021-07-04-2/+2
|
* Merge branch 'main' of https://github.com/python-discord/site into ↵Gravatar swfarnsworth2021-07-04-125/+867
|\ | | | | | | swfarnsworth/smarter-resources/new-resources
| * Hyperlink code jam banner to code jam page.Gravatar lemonsaurus2021-06-27-2/+6
| |
| * Update banners to have vertically centered text.Gravatar lemonsaurus2021-06-27-0/+0
| |
| * Put Summer Code Jam '21 banner on the front page.Gravatar lemonsaurus2021-06-27-10/+7
| |
| * Add some new Summer Code Jam banners.Gravatar lemonsaurus2021-06-27-0/+0
| |
| * Move existing code jam assets into a folder.Gravatar lemonsaurus2021-06-27-9/+9
| |