Commit graph

144 commits

Author SHA1 Message Date
Rok Garbas 519f18e5a5
Add dependabot to automate updating of github actions (#316) 2021-06-08 14:03:18 +02:00
Rok Garbas ce08a87665
bump actions versions (#315) 2021-06-08 13:51:46 +02:00
Rok Garbas be5aea186b
forgot to update the github cron workflow to rebuild last 2 channels 2021-06-08 13:43:01 +02:00
Rok Garbas d1085b806f
21.05 release (#311)
* Bump unstable and add 21.05 release

* The usual typos

* The frontend stuff was missing

* preserve the order

* Update import-scripts/import_scripts/channel.py

Co-authored-by: Rok Garbas <rok@garbas.si>

Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
2021-06-01 21:49:42 -07:00
Rok Garbas ff8022fba5
emacs packages have new attr path (#299)
also bump version to make sure package set gets recreated
2021-03-30 23:58:24 +02:00
Rok Garbas 2c4a45134c
update flake inputs (#298) 2021-03-30 23:57:16 +02:00
Rok Garbas e5ba0562a7
unstable/21.03pre -> unstable/21.05pre (#297) 2021-03-30 23:32:43 +02:00
Rok Garbas 7c89b2349c
Filter on buckets only when there is some bucket selected (#289)
otherwise the query is malformed
2021-02-07 19:24:00 +01:00
Rok Garbas cfb5e540b9
Improving search query (#288)
* 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
2021-02-07 19:10:13 +01:00
Rok Garbas 72434f54a5
Search should be case sensitive (#287)
lowercase the query before using it in search queries
2021-02-06 13:38:13 +01:00
Rok Garbas 69efbb60de
version should not be shown if it is empty (#278) 2021-01-25 19:57:00 +01:00
Marek Fajkus b208c24872
Improve copy/paste UX in Options and Packages (#275)
* 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>
2021-01-25 19:09:23 +01:00
Andreas Rammhold e9bdeae3e2
Remove the defunct "burger menu" and always expand the navigation (#273)
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.
2021-01-25 17:52:12 +01:00
Rok Garbas 5bb94c9c92
Adds faceted search (#261) 2021-01-23 17:25:43 +01:00
Marek Fajkus 1c1a3ca7d1
Fix mobile only interactions (#267)
* Revert "Remove unnecessary jquery, jquery-ui and bootstrap javascript reference and font-awesome css (#223)"

This reverts commit 4d505f3402.

* Remove unused dependecies
2021-01-21 00:06:18 +01:00
Marek Fajkus f624c117cb
Add semanticaly clickable button element to result list (#260)
- improves usability with keyboard #258
- improves accessbility

See #259 for other relevant discussion

Co-authored-by: Rok Garbas <rok@garbas.si>
2021-01-06 15:58:41 +01:00
Marek Fajkus 01d682f980
Add package / request package link when no results (#256)
closes #235
2020-12-28 23:23:33 +01:00
Marek Fajkus aa366aa31c
Implement scroll to package (#257) 2020-12-28 23:18:56 +01:00
Marek Fajkus 08943214d2
Fixes support for packages with multiple homepage entries. (#255) 2020-12-28 23:14:00 +01:00
Rok Garbas 153674a2b9
removing ideas from the README.md since we already have them in tickets 2020-12-18 14:10:14 +01:00
Rok Garbas 258e1423a9
switch to main branch and publish to netlify 2020-12-18 14:02:36 +01:00
Naïm Favier aea6789af6
Improve nix.py (#254)
Co-authored-by: Rok Garbas <rok@garbas.si>
2020-12-18 13:04:13 +01:00
Rok Garbas 282d0b1e5a
Fix PATH in Githb Actions (#253) 2020-12-17 14:05:55 +01:00
Rok Garbas 274e65711a
Pretty print nix examples and default fields in options (#252) 2020-12-16 12:45:10 +01:00
Rok Garbas 06f5aa9cd7
Add retry to parts of the import script which were failing from time to time (#249) 2020-12-07 10:56:04 +01:00
Bradley Walters bae5a92131
Fix redirect from / to /packages breaking browser back button (#248)
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.
2020-12-07 08:53:56 +01:00
Naïm Favier ba3fe60808
import-scripts: fix boolean rendering (#246) 2020-12-07 08:48:48 +01:00
Naïm Favier 27ff900fc3
Fix package position links (#242) 2020-12-02 13:53:52 +01:00
Rok Garbas d23b777053
use lowercase filter on edge analyzer (#241) 2020-12-01 00:30:45 +01:00
Rok Garbas 3b53d74bb7
AWS_DEFAULT_REGION was missing in our cron github actions (#240) 2020-11-30 19:16:14 +01:00
Naïm Favier 7bcf9f17d8
Fix import scripts, remove 19.09 branch (#239)
* 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>
2020-11-30 17:58:42 +01:00
Marek Fajkus 060daed760
Refactor the loading and request management (#230) 2020-11-29 00:02:59 +01:00
Marek Fajkus ecf71f5932
Fix links to github sources (#232) 2020-11-24 00:06:41 +01:00
Rok Garbas 8dd69e68c1
awscli -> awscli2 (#234) 2020-11-23 23:56:59 +01:00
Marek Fajkus 29f5f02a16
Discard effects when routing only query params (#229)
fixes #225
2020-11-19 00:49:15 +01:00
Adam Sandberg Eriksson 7ac72dc89c
recurse into haskell.compiler to find additional Haskell compilers (#222) 2020-11-17 10:16:38 +01:00
Benedikt Seidl 4d505f3402
Remove unnecessary jquery, jquery-ui and bootstrap javascript reference and font-awesome css (#223) 2020-11-17 09:59:50 +01:00
Rok Garbas 7426982b07
Update github actions (#227) 2020-11-17 09:58:25 +01:00
Pier-Luc Faucher 1407641e45
Latest stable is now the default channel (#221)
fixes #220
2020-11-04 12:33:02 +01:00
Marek Fajkus fe04d9b14e
Refactor route structure (#219) 2020-10-30 19:13:55 +01:00
Marek Fajkus 2de4ef3bda
Remove cleanUrl and fragment hack (#216) 2020-10-29 00:38:46 +01:00
Marek Fajkus e412085ea8
Support search engine escaping of spaces (+) (#215) 2020-10-28 19:51:01 +01:00
Rok Garbas adbb224490
point to release prefix for 20.09 channel (#212) 2020-10-27 15:34:56 -04:00
Rok Garbas a23bcf1497
channel-diff script (#206) 2020-10-07 08:58:17 +02:00
Andreas Rammhold 33c2c8a837
Always use NixOS/nixpkgs instead of NixOS/nixpkgs-channels (#208)
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.
2020-10-06 20:26:07 -04:00
Rok Garbas a2c570e52e
20.09 -> nixos-20.09beta and unstable -> nixos-21.03pre (#205) 2020-10-05 23:27:02 +02:00
Rok Garbas 4b9f197fb0
Add nixos 20.09 (#199)
* Add NixOS 20.09

* a different prefix is needed since 20.09 is not released yet

Co-authored-by: Andreas Rammhold <andreas@rammhold.de>
2020-09-24 22:29:47 +02:00
Rok Garbas 86ad9d036d
Reworked search query (#197)
- 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.
2020-09-23 14:39:36 +02:00
Rok Garbas 5a65c6f94b
By mistake the default analyzer was used for query (#195)
At the same time i'm removing all of the fuzziness.
2020-09-17 18:00:07 +02:00
Rok Garbas 1ecf99c711
in older channels email was conditional (#194)
fixes #193
2020-09-17 17:32:30 +02:00