Commit graph

231 commits

Author SHA1 Message Date
Rok Garbas 91527f1deb
space should present an OR operation in query (#150)
filtering part of the query was messed up when I added search over multiple
fields.

fixes #147
fixes #149
2020-08-21 21:23:21 +02:00
Rok Garbas 818074f626
add longDescription to the list of fields we search over (#146)
fixed #134
2020-08-10 14:55:56 +02:00
adisbladis d96877dc64
Use english analyzer for descriptions (#110) 2020-08-08 22:38:06 +02:00
Rok Garbas bbec7b2a5b
search on multiple fields not just package_attr_name or option_name (#145)
fixes #134
2020-08-08 01:22:52 +02:00
Rok Garbas cbaf978394
add link to issues tracker (#144)
fixes #138
2020-08-07 14:44:19 +02:00
Rok Garbas 44cbea8547
remove suggestions feature (#141) 2020-07-24 23:01:16 +02:00
Rok Garbas 3bf4907596
Use nix to install awscli (#140) 2020-07-24 14:41:34 +02:00
Rok Garbas c048af9f69
Always use "nixos-*" channels to look up for builds (#139) 2020-07-24 11:50:24 +02:00
Rok Garbas cc5e4a540d
Allow to show results alphabetically (#133)
fixed #119
2020-07-10 09:49:43 +02:00
Rok Garbas 4173453098
Adjust ranking of should_match_bool_prefix queries (#130)
fixes #114
2020-07-09 22:28:49 +02:00
Rok Garbas 71eba22a0e
add backdrop for suggestions and show suggestions loading spinner the moment a user starts typing (#129)
fixes #118
fixes #122
2020-07-09 19:00:28 +02:00
Rok Garbas a3ed2036cb
don't show spinner when empty query is submitted (#128) 2020-07-09 18:15:34 +02:00
Rok Garbas 5cc46b4e11
change channel order (#127) 2020-07-09 18:08:06 +02:00
Rok Garbas 9b796191a5
Better define the page we are on (#126)
fixes #124
2020-07-09 18:07:07 +02:00
Rok Garbas 08c5d997dc
include query item in search suggestions (#117)
but only if it does not end with ".", since items with "." are partial
names only used to drill down to the actual package/option name.

when there is one result in suggestions and is the same as query we don't show results
2020-07-08 17:05:57 +02:00
Rok Garbas af66eef748
dont show browser autocomplete for query input (#116) 2020-07-08 16:19:08 +02:00
Rok Garbas 5a5395a19b
Pointing to correct branch for different channels (#113) 2020-07-06 20:55:48 +02:00
Rok Garbas 46c7eaa46b
Some UX fixes for showing suggestions (#112)
* focus on query input when showing page
* less visible reloading of suggestions when typing
2020-07-06 14:27:37 +02:00
Rok Garbas 3dceb99740
add burger icon to show collapsed navbar when on mobile (#111) 2020-07-02 15:00:54 +02:00
adisbladis 1f8939b3af
Suggestions for search field (#74) 2020-07-02 14:27:49 +02:00
Rok Garbas b06bac6187
Fix cron workflow (#108) 2020-06-19 20:16:11 +02:00
Rok Garbas 3ecce08a94
Improve option search ranking (#107) 2020-06-19 08:53:49 +02:00
Rok Garbas bbc97d17f0
flakify (#106) 2020-06-19 00:41:01 +02:00
Rok Garbas c420d05815
improve packages search query (#102) 2020-06-18 12:24:52 +02:00
Rok Garbas 0fb5f699b9
use short names for channels now (#101) 2020-06-15 10:26:19 +02:00
Rok Garbas 7a73578d7c
handle 10000 package limit in the UI correctly (#99)
fixes #94

Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2020-06-15 09:51:09 +02:00
Rok Garbas a8b7faa398
make nix-build work (#100)
use elm2nix to fetch elm dependencies

fixes #43
2020-06-12 14:29:04 +02:00
Rok Garbas 6992416c5a
List channel as button group (#98)
also fixes problem showing result when query is empty string

fixes #92
2020-06-12 12:57:47 +02:00
Rok Garbas 2daa4b0d8b
Fix title of the app before it loads (#97)
and improve window title per page

fixes #93
2020-06-12 12:20:28 +02:00
Rok Garbas 9f3de349e8
nicer loading spinner (#91)
fixes #29
2020-06-11 18:50:53 +02:00
Rok Garbas f3139f56bf
Fixes wonky selection of item in search result (#90)
fixes #62
2020-06-11 18:29:51 +02:00
Rok Garbas 2983c00c74
problem with pagination when a number of items in result matches the display size (#89)
fixes #84
2020-06-11 17:18:52 +02:00
Rok Garbas cbec4ad027
Nix language primitives are luckily the same as in JSON (#88)
fixes #68
2020-06-11 16:33:25 +02:00
Rok Garbas 007eee127e
Make sure that we dont trap users on search.nixos.org (#87)
and that there is a nice way back to main website
also the navigation is now the same hight as on nixos.org

fixes #59
2020-06-11 09:14:21 +02:00
Rok Garbas 7f2ed39fef
Fix how we display default/example/description of an option (#86)
* description is now converted to html at import time
* default/example should now realize what is an non-value and what is
  "None" (as string) value

fixes #69
fixes #67
2020-06-11 08:44:54 +02:00
Rok Garbas 12bea73597
user attr_name and option_name for showDetailsFor (#83)
fixes #61

showDetailsFor -> show
2020-06-10 14:15:54 +02:00
Rok Garbas 6905ea40dd
Preserve search options between packages and options search page (#82) 2020-06-10 14:03:44 +02:00
Rok Garbas 9413e66d90
Provide correct link to hydra job or if exists build (#81)
also add --force option to import-channel script which will always recreate index

fixes #72
2020-06-10 13:48:53 +02:00
Rok Garbas 7a9d4cd9d4
Reload search results on channel change (#80)
fixes #65
fixes #79
2020-06-10 13:14:36 +02:00
Rok Garbas bddb6c43a6
fixed (#78) 2020-06-10 02:05:04 +02:00
Rok Garbas c79de4b2df
Point to correct github location (#77)
fixes #70
2020-06-10 02:01:27 +02:00
Rok Garbas b7df41a891
reduce the platform list and add platform link to hydra (#76)
fixes #73
fixes #72
2020-06-10 01:53:17 +02:00
Rok Garbas 554236f4a6
Import hydra builds (#75) 2020-06-10 00:55:37 +02:00
Rok Garbas d6803efa38
use schema version also in packages index (#58) 2020-06-05 01:53:18 +02:00
Rok Garbas ec5839f9fd
adding a footer and a thank you to bonsai (#57) 2020-06-05 01:13:52 +02:00
adisbladis 0a6369ea86
improve nixos options search (#55)
Co-authored-by: Rok Garbas <rok@garbas.si>
2020-06-04 01:33:54 +02:00
Rok Garbas 8896ea9e1c
only one evaluation per alias allowed (#56) 2020-06-04 00:08:43 +02:00
Rok Garbas ae670990dd
use one index per channel (#54) 2020-06-03 21:02:12 +02:00
Rok Garbas fda96bda40
run import-channel every hour for last 3 channels (#48) 2020-05-23 00:13:55 +02:00
Rok Garbas c45a1581b1
import channel script should be idempotent (#47) 2020-05-22 14:58:38 +02:00