85 Commits

Author SHA1 Message Date
Lacey Williams Henschel
67ceff967b Add ordering to admin 2023-03-08 13:19:24 -08:00
Greg Newman
35233a2914 Merge branch 'main' into 88-library-search 2023-03-03 12:03:25 -05:00
Lacey Williams Henschel
597253addb 🔧 👕 Light refactor 2023-03-02 09:12:34 -08:00
Greg Newman
38e2a6aba7 test for library api search
* Adds a simple test for the api search view

Issue: #88
2023-02-24 10:38:16 -05:00
Greg Newman
0d18e76692 🔨 refine search
* Distinct results
* Adds hover states to results
* Rustywind linted

Issue: #88
2023-02-24 09:59:12 -05:00
Lacey Williams Henschel
0070a37e6c 🚧 Add function to get user from GH API 2023-02-16 09:54:40 -08:00
Lacey Williams Henschel
0ee20dbe11 🔧 The last one I promise. 2023-02-15 09:46:15 -08:00
Lacey Williams Henschel
025e030f33 🔧 I can't stop refactoring 2023-02-15 09:43:58 -08:00
Lacey Williams Henschel
a9ddbeb452 🔧 Minor refactor for simplification 2023-02-15 09:38:43 -08:00
Lacey Williams Henschel
b3bc2b1c5e 🔨 Comment back in the version_name, small refactor 2023-02-15 09:35:16 -08:00
Lacey Williams Henschel
79cd10d5ff 🔧 Refactoring and misc cleanup 2023-02-14 14:56:20 -08:00
Lacey Williams Henschel
02fdad96f6 Merge branch 'main' of github.com:revsys/boost.org into library-version-views 2023-02-14 14:10:00 -08:00
Lacey Williams Henschel
8c251bdab6 Fix merge 2023-02-14 10:44:04 -08:00
Lacey Williams Henschel
0eba85382c Merge branch 'main' of github.com:revsys/boost.org into refactor-library-urls 2023-02-14 10:40:25 -08:00
Lacey Williams Henschel
ce2727c5ba Reorder tests 2023-02-13 12:21:01 -08:00
Lacey Williams Henschel
811adaa38d 👕 Linter 2023-02-13 12:20:49 -08:00
Lacey Williams Henschel
45ee2c7a9b Add libraries by versions and categories, redirect libraries by category
- Adds /versions/{pk}/libraries-by-category/{slug}/
- Redirects /libraries-by-category/{slug}/ to ^
2023-02-13 12:17:46 -08:00
Lacey Williams Henschel
ea283f114a 🔧 Fixes for library-detail-by-version view 2023-02-13 12:02:35 -08:00
Lacey Williams Henschel
be8ee1f5fa Add URL for library detail by version 2023-02-13 11:56:41 -08:00
Lacey Williams Henschel
35f73bc8b2 👕 Linter 2023-02-13 11:51:06 -08:00
Lacey Williams Henschel
7e7db0b218 Add libraries-by-version list view
Note: This does NOT address the categories functionality. This commit adds the new URL, but if the user filters by category on that page, the page redirects to `/libraries-by-category/` and doesn't respect the version.
2023-02-13 11:50:23 -08:00
Lacey Williams Henschel
30ff9d3559 🏦 Add Version.slug 2023-02-13 09:32:35 -08:00
Lacey Williams Henschel
d1de45aacc 🔧 Refactors libs-by-cat to use most recent Boost version 2023-02-11 08:39:01 -08:00
Lacey Williams Henschel
da79803555 🔧 Library detail URL uses most recent active Boost version 2023-02-11 08:19:57 -08:00
Lacey Williams Henschel
6f4d66b32d 🔧 Have library list URL use most recent active Boost version 2023-02-11 06:53:46 -08:00
Lacey Williams Henschel
4e768cf56d 👕 Linter 2023-02-10 08:31:58 -08:00
Lacey Williams Henschel
70870c6294 Merge branch 'main' of github.com:revsys/boost.org into library-version-views 2023-02-10 08:31:49 -08:00
Greg Newman
5cd743d413 Merge pull request #112 from revsys/88-library-search
🚜 WIP working search
2023-02-10 11:24:47 -05:00
Lacey Williams Henschel
1ed6a8ca29 🔧 Make detail breadcrumbs version-sensitive 2023-02-10 08:20:54 -08:00
Greg Newman
acef7f0055 🚜 format results more
* Add truncated description
* Add link
* Cap library name
2023-02-10 11:16:05 -05:00
Lacey Williams Henschel
23df76ac32 🔧 Dynamic form action for version-sensitive category filtering 2023-02-10 08:11:00 -08:00
Greg Newman
28d64a4ef8 🚜 WIP working search
* Bootstrapped API viewset to search libraries
* Updated templates
* Added htmx for search
* Search results template to display results

Issue: #88
2023-02-10 11:04:33 -05:00
Lacey Williams Henschel
4ed9641b0a 🔧 Change breadcrumbs to be version-sensitive 2023-02-09 11:08:51 -08:00
Lacey Williams Henschel
09bc47781a 🔨 Load library detail directly, don't redirect 2023-02-09 10:45:46 -08:00
Lacey Williams Henschel
9e4b77f4a3 🔥 Remove the libraries-by-letter view 2023-02-09 10:21:36 -08:00
Lacey Williams Henschel
a8ab1e19f7 🚧 Progress on the category filter 2023-02-08 16:37:26 -08:00
Lacey Williams Henschel
9507ddca56 🔧 Have LibraryList view load directly instead of redirect 2023-02-08 14:21:58 -08:00
Lacey Williams Henschel
d1ce7b7794 📝 Change URLs to use version slug and not PK 2023-02-08 14:04:25 -08:00
Lacey Williams Henschel
2c19f289f2 🏦 Add Version.slug 2023-02-08 13:57:03 -08:00
Lacey Williams Henschel
f3b2a3795f 🏦 Get distinct libraries 2023-02-08 11:34:52 -08:00
Lacey Williams Henschel
3b1eb22e72 📝 Remove "libraries" from library detail URL 2023-02-08 11:34:38 -08:00
Lacey Williams Henschel
67eb40faf0 🚧 Raise error for no version, get distinct results 2023-02-03 10:02:38 -08:00
Lacey Williams Henschel
d953754583 Add libraries by versions and categories, redirect libraries by category
- Adds /versions/{pk}/libraries-by-category/{slug}/
- Redirects /libraries-by-category/{slug}/ to ^
2023-02-02 15:03:22 -08:00
Lacey Williams Henschel
9789c56f13 📝 Redirect libraries list to libraries-by-version list
In case we want to preserve the /libraries/ url.
2023-02-02 11:45:18 -08:00
Lacey Williams Henschel
1d80f35638 Redirect library detail to versioned library detail
Wasn't sure if we wanted to fully replace the URL or preserve the /libraries/ endpoint? It wasn't hard to add the redirect.
2023-02-02 11:23:49 -08:00
Lacey Williams Henschel
95743b9f56 Add URL for library detail by version 2023-02-02 10:43:26 -08:00
Lacey Williams Henschel
ed53f9322a Add libraries-by-version list view
Note: This does NOT address the categories functionality. This commit adds the new URL, but if the user filters by category on that page, the page redirects to `/libraries-by-category/` and doesn't respect the version.
2023-02-02 09:35:13 -08:00
Lacey Williams Henschel
f601b67613 Add command to generate test versions 2023-02-01 16:13:41 -08:00
Lacey Williams Henschel
2074f31c75 Add a str method 2023-02-01 15:14:52 -08:00
Lacey Williams Henschel
e5b9612af5 Add LibraryVersion to the admin 2023-02-01 15:14:36 -08:00