Commit graph

147 commits

Author SHA1 Message Date
Vesa Luusua
a063733564 SearchPage: add price filter 2018-10-31 10:53:53 +02:00
Vesa Luusua
ab6cac9edc Rename onIdle to onMapMoveEnd and remove unnecessary mobile map opened info. 2018-09-14 15:15:21 +03:00
Vesa Luusua
d4393a6395 Refactor search-by-map-viewport to SearchMapWithGoogleMap component: 2018-09-14 15:15:20 +03:00
Vesa Luusua
0fff68b9a3 Google related bounds tied to SearchMapWithGoogleMap implementation 2018-09-14 15:15:15 +03:00
Hannu Lyytikainen
330eb2b8b0 Improve window availability check 2018-08-21 16:12:55 +03:00
Hannu Lyytikainen
e14cd98903 Add path check for search page 2018-08-21 12:00:01 +03:00
Kimmo Puputti
675135a7f2 Remove Google Maps fullscreen control 2018-08-16 11:41:14 +03:00
Kimmo Puputti
5927ac7fe4 Remove unneeded country from search params and place objects 2018-08-09 10:57:52 +03:00
Vesa Luusua
7f0966165e Use ReusableMapContainer 2018-08-02 23:59:33 +03:00
Vesa Luusua
bb4a47d970 Fix: render only when mountNode is present 2018-08-02 00:11:48 +03:00
Vesa Luusua
5a6f2361cd Reusable map container 2018-08-01 14:49:38 +03:00
Vesa Luusua
049f6a7f37 import lodash per file to reduce bundle size 2018-05-18 15:24:09 +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
2ba05aa8f1 Change filter param validation checks
Prefer validURLParamsForExtendedData over multiple calls to validURLParamForExtendedData when validating search filter query parameters.
2018-04-13 10:31:07 +03:00
Hannu Lyytikainen
fc38342f75 Remove redundant function params 2018-04-13 10:14:52 +03:00
Hannu Lyytikainen
87ca9e1df3 Remove secondary filters param 2018-04-10 18:29:03 +03:00
Hannu Lyytikainen
e36c99dc6b Remove unused secondary filter params 2018-04-10 18:02:05 +03:00
Hannu Lyytikainen
dfd0a04db3 Fix open and close callbacks for mobile filter modal 2018-04-10 13:55:59 +03:00
Vesa Luusua
465c8eb857 Fix tests 2018-04-06 11:55:02 +03:00
Vesa Luusua
922b38a37d Move schema building to helper function. 2018-04-06 11:55:01 +03:00
Vesa Luusua
88070377e0 Gather Map related JSX inside render return 2018-04-06 11:55:01 +03:00
Vesa Luusua
d4a41af446 Main column stuff to separate MainPanel component 2018-04-06 11:55:01 +03:00
Vesa Luusua
3a65a56d32 Gather JSX usage inside left panel/container 2018-04-06 11:55:01 +03:00
Vesa Luusua
cd01d694e7 Remove unused fetchMoreListingsToMap 2018-04-06 11:55:00 +03:00
Vesa Luusua
207728fbde Move helper functions away from SearchPage main file. 2018-04-06 11:55:00 +03:00
Vesa Luusua
fcdb7767bf Refactor helper functions 2018-04-06 11:54:54 +03:00
Mikko Koski
1fdc8d404d Highlight hovered listing on map 2018-03-09 14:47:26 +02:00
Vesa Luusua
4cb1a6f80b SearchPage: fix undefined origin 2018-03-09 13:23:03 +02:00
Mikko Koski
635e660af6
Merge pull request #742 from sharetribe/map-search
Synchronize search page list and map
2018-03-09 08:50:28 +02:00
Mikko Koski
40f18eb3bf Increase the page size to 24 2018-03-08 16:32:34 +02:00
Mikko Koski
b93eb15f1c Don't fetch additional listings to map 2018-03-08 16:32:34 +02:00
Mikko Koski
c301562b13 Limit the number of images to 1 2018-03-08 13:48:56 +02:00
Vesa Luusua
348dda6cb6 Fix search params handling with Topbar 2018-03-07 15:35:44 +02:00
Vesa Luusua
3a0f202e50 Sort search by distance (send origin to API) 2018-03-07 12:52:59 +02:00
Kimmo Puputti
d1b768dfd9
Merge pull request #736 from sharetribe/keep-filters-when-editing-topbar-location
Keep other filter values when submitting another location in the search page
2018-03-07 08:58:07 +02:00
Vesa Luusua
702a4f5e2c Remove unnecessary url param check from onIdle 2018-03-06 19:21:03 +02:00
Vesa Luusua
ee8c376751 Fix: somehow map was moved twice after location search triggering mapSearch 2018-03-06 19:21:02 +02:00
Kimmo Puputti
399d966ee0 Merge Topbar location search with existing search filters
If the user is on the SearchPage, submitting a new location should
also keep the existing query params and merge the new location params
with those.
2018-03-06 10:11:40 +02:00
Mikko Koski
acaae80bc5 Use sparse fieldsets to fetch only required image variants 2018-03-02 12:00:42 +02:00
Vesa Luusua
d2abaecb3a Search only 80 result for the map, 500 was too much for scrolling performance. 2018-02-26 15:43:16 +02:00
Vesa Luusua
63fe488301 SearchPage supports SearchFiltersPanel 2018-02-23 17:29:02 +02:00
Vesa Luusua
4f8f6c61d3 Remove unused prop / function 2018-02-20 11:56:30 +02:00
Hannu Lyytikainen
99370008fd Add validation for filtering query params 2018-02-16 16:38:30 +02:00
Hannu Lyytikainen
012462729d Remove unnecessary listing query params 2018-02-16 12:56:16 +02:00
Hannu Lyytikainen
23958657ec Add country to search params 2018-02-15 17:02:48 +02:00
Vesa Luusua
dac4005390 SearchPage uses amenities as variable name for amenities 2018-02-15 16:21:27 +02:00
Vesa Luusua
44db724f03 Validate url params 2018-02-15 16:20:16 +02:00
Hannu Lyytikainen
a176df4154 Add features filtering to mobile search 2018-02-08 16:09:35 +02:00
Hannu Lyytikainen
82487f0daa Rename amenities url param name const 2018-02-06 13:16:50 +02:00
Hannu Lyytikainen
528b6b593d Add urlParam param to SelectMultipleFilter
Also rename amenities url param.
2018-02-05 15:01:53 +02:00