| Commit message (Collapse) | Author | Age | Lines |
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Without a min-width, the tag would not extend to fit the full
size of the contents on Firefox. It seemed to work just fine on
Chrome, though. The fix is simple - just enforce a min-width equal
to fit-content.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
We also add a little breathing room to the tag container, so that it
doesn't encroach on the personal space of the icons.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Helps prevent a flash of tags.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- We now have a hover effect for all icons.
- We also now support hover effects for all tags.
- However, we don't have any hover effect for icons in titles.
That just looks weird.
Additionally, we're getting rid of some bloat and consolidating the CSS
into one place.
|
| | |
|
| |
| |
| |
| |
| | |
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.
|