| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
For example, navigating to pydis.com/resources/communities will now
correctly redirect to pydis.com/resources/?type=community.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Adds a bunch of tag-related quality of life improvements:
- You can now see which filters you've added at the top left.
- You can click on tags to start filtering to that tag.
- You can click on tags in the filter box to remove the filter.
- Tags will now show an outline when they are active.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commits makes two important changes:
- Whenever we click on filter checkboxes, the URL is immediately updated
to include parameters that represent the chosen options. For example,
if you select Beginner complexity, the url is updated with
?complexity=beginner.
- Whenever the page is loaded, we deserialize any parameters that exist
in the URL and change the filter state to match it. In other words,
refreshing the page at any time retains the current state,
and you can now link people to exactly the filter results that you
want to share.
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Restructure bot contributing guide
Restructures the bot guide to focus on getting users "through the door" first, and slowly adding additional information and options.
The guide is built in terms of showing ways to run the bot and how to achieve it, rather than listing all of the information for each configuration and environment variable right away.
That said, the attempt was to still present the reader with the full information they need, and to still be able to use as a quick reference for contributors who are already familiar with the project.
As a style choice, this guide incorporates collapsible elements, which required some CSS and JS additions. This could be resolved with the bulma-collapsible extension, but it doesn't seem to function well inside django templates.
The guide includes an optional config.yml to use with the test server template. This is a temporary measure until we get the bootstrapping application going.
This guide additionally splits the bot account creation and obtaining Discord ID's guides and they didn't seem related. The original file is kept for now as it is used by other guides at the moment.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also removes some templates we don't care about
|
| |
|
| |
|
| |
|