aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into content/update-help-channel-timingGravatar minalike2022-02-20-101/+1395
|\
| * Edge cases: Show duckies when no visible resourcesGravatar Leon Sandøy2022-02-13-8/+14
| |
| * Fix bug with search tag taking up too much width.Gravatar Leon Sandøy2022-02-13-2/+3
| |
| * Best practice: Switch name to data-resource-name.Gravatar Leon Sandøy2022-02-13-3/+3
| |
| * Edge case: Fix a bug with overflow on Chrome.Gravatar Leon Sandøy2022-02-13-1/+0
| |
| * Add fuzzysort as a local dependency.Gravatar Leon Sandøy2022-02-13-0/+657
| |
| * Edge case: Fix extremely long search overflow.Gravatar Leon Sandøy2022-02-13-0/+18
| |
| * Fix search tag width bug on firefox.Gravatar Leon Sandøy2022-02-13-0/+1
| | | | | | | | | | | | | | 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.
| * 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
| |
| * Make the search tag look more like normal filters.Gravatar Leon Sandøy2022-02-13-1/+6
| |
| * Add a filter tag when searching.Gravatar Leon Sandøy2022-02-13-2/+23
| |
| * 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
| |
| * Add a search bar to the top of the filter sidebar.Gravatar Leon Sandøy2022-02-12-0/+5
| |
| * 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-22/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 delay when collapsing collapsibles.Gravatar Leon Sandøy2022-02-01-2/+7
| |
| * Fix bug where transition wouldn't work on first collapse.Gravatar Leon Sandøy2022-02-01-9/+10
| |
| * When hovering titles, make them light, not black.Gravatar Leon Sandøy2022-02-01-0/+6
| |
| * 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-27/+61
| |
| * Adding missing EOFs.Gravatar Leon Sandøy2022-01-31-2/+2
| |
| * 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
| |
| * Added margins and max-width to filtering column.Gravatar Leon Sandøy2022-01-31-6/+14
| |
| * Indent checkboxes under the headers.Gravatar Leon Sandøy2022-01-31-0/+11
| |
| * Make the resource link icons a size smaller.Gravatar Leon Sandøy2022-01-31-0/+5
| | | | | | | | | | We also add a little breathing room to the tag container, so that it doesn't encroach on the personal space of the icons.
| * Shrink and center the duck pond 404.Gravatar Leon Sandøy2022-01-31-5/+5
| |
| * Collapse category headers on load for mobile only.Gravatar Leon Sandøy2022-01-30-1/+20
| |
| * Make the category headers smaller on mobile.Gravatar Leon Sandøy2022-01-30-0/+12
| |
| * Hide the filter tags initially.Gravatar Leon Sandøy2022-01-30-1/+6
| | | | | | | | Helps prevent a flash of tags.
| * Refactor: collapsibles as a stand-alone componentGravatar Leon Sandøy2022-01-30-13/+12
| |
| * Show a "No filters selected" indicator.Gravatar Leon Sandøy2022-01-30-2/+8
| |
| * Fix broken css for no-resource duck pond.Gravatar Leon Sandøy2022-01-30-8/+8
| |
| * Show a duck pond when no filters match.Gravatar Leon Sandøy2022-01-30-0/+7
| |
| * Support dashful redirects.Gravatar Leon Sandøy2022-01-30-6/+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.
| * Clean up hover effects.Gravatar Leon Sandøy2022-01-30-57/+48
| | | | | | | | | | | | | | | | | | | | - 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.
| * Don't redirect if the resource_type is None!Gravatar Leon Sandøy2022-01-30-2/+1
| |
| * Redirects from old endpoints now filter correctly.Gravatar Leon Sandøy2022-01-30-0/+8
| | | | | | | | | | For example, navigating to pydis.com/resources/communities will now correctly redirect to pydis.com/resources/?type=community.
| * Complexity -> Difficulty.Gravatar Leon Sandøy2022-01-29-3/+3
| |
| * Don't round edges of the filter category headers.Gravatar Leon Sandøy2022-01-29-0/+5
| |
| * Let the user know when there are no matches.Gravatar Leon Sandøy2022-01-29-0/+17
| |
| * Make all tags interactive.Gravatar Leon Sandøy2022-01-28-33/+181
| | | | | | | | | | | | | | | | 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.
| * Reflect and retain filter state in URL params.Gravatar Leon Sandøy2022-01-27-65/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Resource filtering on the client, pt 1.Gravatar Leon Sandøy2022-01-27-60/+166
| | | | | | | | | | | | | | 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.