Commit graph

36 commits

Author SHA1 Message Date
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
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
Marek Fajkus 060daed760
Refactor the loading and request management (#230) 2020-11-29 00:02:59 +01:00
Marek Fajkus 29f5f02a16
Discard effects when routing only query params (#229)
fixes #225
2020-11-19 00:49:15 +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 2a441c95d9
when wrong channel is selected (via url) show error (#178) 2020-09-03 21:03:17 +02:00
Rok Garbas e4fec33f2b
Dont reload when showing result item details (#152)
fixes #148
fixes #142

also adding missing fields to package details view
2020-08-21 22:23:37 +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 cc5e4a540d
Allow to show results alphabetically (#133)
fixed #119
2020-07-10 09:49:43 +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 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 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 f3139f56bf
Fixes wonky selection of item in search result (#90)
fixes #62
2020-06-11 18:29:51 +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 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 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 ae670990dd
use one index per channel (#54) 2020-06-03 21:02:12 +02:00
Rok Garbas ce2121e30e
channel drowdown (#21) 2020-05-11 22:42:57 +02:00
Rok Garbas c47f1c0ccb
Pagination of search results (#20) 2020-05-11 21:56:10 +02:00
Rok Garbas 99eae108c7
search on page load and on second search query, fixes #5 (#8) 2020-05-08 23:59:14 +02:00
Rok Garbas f25b287926
make request to the right search page, fixes #4 (#7) 2020-05-08 16:56:14 +02:00
Rok Garbas 387d70eaa3
somehow in a working starte with bugs and missing features 2020-05-08 15:24:58 +02:00
Rok Garbas 824e37026f
deploy to netlify (#1) 2020-04-10 11:04:03 +02:00
Rok Garbas 40bd247ee9
add style to the search result 2020-04-10 10:13:50 +02:00
Rok Garbas f19216fe5a
make a request to elasticsearch, nothing fancy 2020-04-07 07:05:50 +02:00
Rok Garbas 7ba9487c30
add model for package and option result 2020-03-31 05:22:27 +02:00
Rok Garbas ea09e01c89
init work on search 2020-03-31 02:59:06 +02:00
Rok Garbas 8077030139
intial version of elm+webpack setup 2020-03-28 05:09:01 +01:00