Commit graph

32 commits

Author SHA1 Message Date
59912f6ddb
Use short "Go" view for search shortcut 2024-01-12 15:16:31 +00:00
5d50907ed2
Add opensearch description file
Not _that_ opensearch
2024-01-04 22:21:32 +00:00
b13fe49664
Exclude listing pages from search 2023-12-25 22:10:17 +00:00
158ba9cbfc
Increase page sizes 2023-10-06 21:23:32 +01:00
9bc200fe9f
Never allow the search page to be indexed 2023-10-06 18:34:22 +01:00
29bd939ae4
Replace flake8 and isort with ruff 2023-07-15 15:10:05 +01:00
b6fa67163f
Only show ToC if there are enough items 2022-10-29 14:57:12 +01:00
6a1acd1684
Decrease page size
Infinite scroll makes this much easier
2022-10-04 21:17:16 +01:00
c09669693f
Exclude singleton pages from search results 2022-10-04 21:12:55 +01:00
b515b6368c
Optimise for cache hits
Don't select/prefetch for listing, because we cache the entire listing item. This makes the main query more efficient, thus page loads faster.
2022-10-04 20:49:29 +01:00
557a28833b
Only show public pages 2022-08-28 16:51:27 +01:00
c660e54bae
Add method to prefetch for listing 2022-08-28 14:52:27 +01:00
6403aca2a2
Add tests for search page 2022-08-28 12:57:10 +01:00
edbedcd0fa
Remove unnecessary extra query during search
Just pass the original queryset, which helps ordering and performance
2022-08-28 12:56:26 +01:00
710a4c7955
Humanize reading time 2022-08-19 17:31:40 +01:00
8952f7eae5
Create base content page rather than need mixin
This makes the subclassing much simpler, and removes type ignore hacks
2022-08-16 21:32:46 +01:00
bc87524394
Stop saving queries
These are only needed for prompted searches
2022-08-03 22:14:54 +01:00
96e623e3db
Move serializer to different file 2022-08-02 21:28:51 +01:00
809cc5d454
Require search results be HTMX 2022-08-02 21:22:35 +01:00
996f7b9c2a
Add all the relevant search messages 2022-08-02 21:11:35 +01:00
5b4ff2b4e9
Only allow GET for search results 2022-08-01 21:42:06 +01:00
750ed5aa39
Remove unnecessary method 2022-08-01 21:27:40 +01:00
93030852b5
Do search if querystring is provided 2022-08-01 21:23:55 +01:00
fb78f3f993
Use HTMX for search page 2022-07-31 15:28:48 +01:00
5da96236be
Add a basic search input to search page 2022-07-29 22:49:08 +01:00
2ae2a2c158
Show message when there's no search terms 2022-07-29 22:34:48 +01:00
c4109e42f1
Use serializer to validate search params 2022-07-29 16:50:44 +01:00
3bce2fb880
Exclude some page types from search 2022-07-29 09:18:09 +01:00
ef30a91067
Move page size to model 2022-07-29 09:11:14 +01:00
cf0a365277
Ensure additional content fields get indexed 2022-07-28 23:06:11 +01:00
a0f115fdc4
Add the basics of a search view 2022-07-28 22:40:23 +01:00
b92f2f4043
Add a Wagtail search page
It doesn't do any searching, yet
2022-07-26 08:53:49 +01:00