Commit graph

35 commits

Author SHA1 Message Date
Hannu Lyytikainen
0107e9f43f Update filter value resolving function naming 2018-04-18 12:25:57 +03:00
Hannu Lyytikainen
3dec9983d4 Add a prop type for filter config 2018-04-18 12:14:38 +03:00
Hannu Lyytikainen
ae2db17152 Update filters configuration and validation
Changes the way filters are defined and how the filter params are
validated.
2018-04-18 11:38:46 +03:00
Hannu Lyytikainen
649e073773 Add filter param helpers to filters panel 2018-04-13 15:47:25 +03:00
Hannu Lyytikainen
568c1d772f Remove redundant default props 2018-04-10 14:48:26 +03:00
Hannu Lyytikainen
dfd0a04db3 Fix open and close callbacks for mobile filter modal 2018-04-10 13:55:59 +03:00
Vesa Luusua
bd4d31c2a0 SelectMultipleFilterMobile -> SelectMultipleFilterPlain and same for SelectSingleFilterMobile 2018-02-23 17:51:20 +02:00
Vesa Luusua
fd77b9bb0a initialize state properties in constructor (SearchFiltersMobile) 2018-02-23 17:29:01 +02:00
Vesa Luusua
6f897e9a55 SearchFiltersMobile uses amenities as variable name for amenities 2018-02-15 16:22:50 +02:00
Hannu Lyytikainen
0a3a837f9c Rename variable 2018-02-15 15:17:56 +02:00
Hannu Lyytikainen
059aa69a6d Rename amenities url param variable 2018-02-15 14:43:45 +02:00
Hannu Lyytikainen
e18f6c07d5 Use urlParam param instead of variable
In submit handlers for multi select filters, use the url param passed to
the function instead of the amenities url param variable.
2018-02-15 14:34:46 +02:00
Hannu Lyytikainen
bc3df6ad02 Increase filters mobile modal bottom padding
Also takes mobile Safari's bottom bar into consideration.
2018-02-09 16:37:30 +02:00
Hannu Lyytikainen
b473956705 Fix layout and dom structure 2018-02-08 17:29:42 +02:00
Hannu Lyytikainen
7bafc7e071 Clear features filter on reset all
Also add enableReinitialize and keepDirtyOnReinitialize props to the
form to enable filter clear without a destroy call to the form.
2018-02-08 16:09:35 +02:00
Hannu Lyytikainen
a176df4154 Add features filtering to mobile search 2018-02-08 16:09:35 +02:00
Hannu Lyytikainen
485c25384b Change url param validation 2018-02-08 12:53:21 +02:00
Hannu Lyytikainen
8d444b310a Rename mobile select single filter lable prop 2018-02-07 10:20:54 +02:00
Hannu Lyytikainen
ad7a16dbcc Fix filters button styling 2018-02-06 16:10:44 +02:00
Hannu Lyytikainen
01c8136d65 Change SelectSingleFilterMobile props
Pass initialValue instead of all query params.
2018-02-06 16:02:56 +02:00
Kimmo Puputti
74d86dbd24 Change category query param 2018-02-02 15:03:34 +02:00
Kimmo Puputti
f4f7aaa217 Use custom categories instead of custom attributes config 2018-01-26 17:05:20 +02:00
Janne Koivistoinen
3d1e9f0b96 filter dr done 2018-01-18 00:58:28 +02:00
Hannu Lyytikainen
b87c42f762 Use _.toPairs instead of Object.entries() 2018-01-15 15:59:22 +02:00
Hannu Lyytikainen
e328c81509 Change filters button styles if search is filtered 2018-01-15 15:43:54 +02:00
Hannu Lyytikainen
c4abdcf96c Change functions to class methods 2018-01-12 16:21:16 +02:00
Hannu Lyytikainen
91932ced8a Blur clear and reset all buttons after click 2018-01-12 16:06:16 +02:00
Hannu Lyytikainen
085789ac0b Unset topbar z-index while filter modal is open 2018-01-12 15:40:04 +02:00
Hannu Lyytikainen
a7e3537191 fix hide button 2018-01-12 15:16:11 +02:00
Hannu Lyytikainen
294f074bc7 Add reverting to original query params with cancel 2018-01-12 15:16:11 +02:00
Hannu Lyytikainen
c73ab3ba94 Add closeButtonMessage param for ModalInMobile 2018-01-12 15:16:11 +02:00
Hannu Lyytikainen
a4b6b887ab Split select single filter into distinct file 2018-01-12 15:16:11 +02:00
Hannu Lyytikainen
25b088b22f Add show listings button and reset functionality 2018-01-12 15:16:11 +02:00
Hannu Lyytikainen
2fe85ad730 Add category search filter 2018-01-12 15:16:11 +02:00
Hannu Lyytikainen
f831172273 Add mobile search filters component 2018-01-12 15:16:11 +02:00