* Reduce the numbers of bucket results on each ChangeBucket event
* Warmup after reindexing, fixes#250
* Using multiple sort keys, fixes#218
* Index also unfree packages, fixes#226, fixes#237
* Add wilcard query, fixes#279
* Improve copy/paste UX in Options and packages
- Change title from button to a to make it selectable
- Resurect `Name` meta for Options
- Make sure this won't break keyboard selection
* show description in details view in case of options
* make the area of search item in options easier to click on
* This should make sorting work again
* hide sorting menu
Co-authored-by: Rok Garbas <rok@garbas.si>
I commonly run into a situation where the burger menu button is being
showed to me but it broke some time ago and doesn't expand the menu
anymore.
Since the snipped was probably mostly 1:1 translated from the old
nixos.org page (where we had more links than just the three we have now)
we can probably just remove it now. It is a net win as the feature was
broken and at least now you can use the website on mobile again.
Previously, navigating to https://search.nixos.org/ would use history.pushState
to redirect to /packages and add a new entry to the browser history.
This meant that if you pressed the back button, you would navigate back to /
which would of course then redirect to /packages again.
Now history.replaceState is used instead of pushState, so the / history entry
is replaced entirely by a /packages history entry and the back button works.
* Fix rendering of default and example values
* bump the version
* reduce nix-instantiate calls
* Allow literalExample in default values, handle null correctly
* using py38 for now
* literalExample is not always string
* in case literalExample is not string process it as we would normally
* Remove 19.09 branch
* also remove 19.09 channel from github actions
* improve testing of empty lists and dicts
Co-authored-by: Rok Garbas <rok@garbas.si>
Links in the search results for NixOS 20.09 started throwing 404
otherwise. Not all channels are being pushed to nixpkgs-channels as
apparently it is being phased out.
- still muse multi_match but now with cross_fields type
- add edge n-gram index field since cross_fields works only with match
and this way we can have prefix support
- suffix support is still supported as before by reversing the words in
data and query
- for query we now create variations of all multi_match queries. from 2
words you get 4 queries, from 3 works you get 8 queries and so on.