Commit graph

2647 commits

Author SHA1 Message Date
Kimmo Puputti
161a471234 Render NotFoundPage when user is not found 2018-02-09 10:29:33 +02:00
Hannu Lyytikäinen
8237cae379
Merge pull request #698 from sharetribe/mobile-features-filter
Filter search results by listing features
2018-02-09 10:26:01 +02:00
Hannu Lyytikainen
3700bf7bba Pass test features in SearchPage.test.js 2018-02-09 10:20:28 +02:00
Kimmo Puputti
f9e2f45a01 Fix listing page 404
Render NotFoundPage instead of redirect. This fixes the case when an
old error resulted in a redirect for new listing page request.

It is also better to keep the URL so it can be fixed to the correct
one.
2018-02-09 10:20:21 +02:00
Kimmo Puputti
84f6bde9f3 Add not-found error code 2018-02-09 10:20:11 +02:00
Hannu Lyytikainen
03924667e0 Pass redux form name from parent component 2018-02-08 17:51:36 +02:00
Hannu Lyytikainen
b473956705 Fix layout and dom structure 2018-02-08 17:29:42 +02:00
Hannu Lyytikainen
69a1b3790a Move clear button and label out of form 2018-02-08 17:00:21 +02:00
Kimmo Puputti
3c59dddfb5 Add bottom space for payout details form
Fixes UI in iPhone where the submit button was party below the browser
bottom bar.
2018-02-08 16:23:27 +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
Kimmo Puputti
62f07b3eab Fix modal content overflow in FF 2018-02-08 15:57:53 +02:00
Hannu Lyytikainen
8bf94da03e Rename features url param const 2018-02-08 13:31:27 +02:00
Hannu Lyytikainen
5c073d75ba Remove options shape validation
The shape of filtering options is validated in a child component.
2018-02-08 13:10:49 +02:00
Hannu Lyytikäinen
cce2f76872
Merge pull request #691 from sharetribe/mobile-multi-select-filter-component
Select multiple search filter component for mobile
2018-02-08 13:01:27 +02:00
Hannu Lyytikainen
485c25384b Change url param validation 2018-02-08 12:53:21 +02:00
Kimmo Puputti
da22d3a897
Merge pull request #696 from sharetribe/coord-obfuscation-improvements
Improve the coordinate obfuscation
2018-02-08 11:05:00 +02:00
Kimmo Puputti
f401363940 Improve the coordinate obfuscation
- Use a proper algorithm to offset correctly in different latitudes
- Only configure the offset in meters, infer circle radius from that
2018-02-08 10:31:23 +02:00
Hannu Lyytikainen
d3acb253ec Add SelectMultipleFilterMobile component 2018-02-08 10:28:49 +02:00
Hannu Lyytikainen
39bd5866b9 Move redux form value functions to util/data 2018-02-08 10:08:33 +02:00
Vesa Luusua
f4fe2b1b02 Fix Mobile Safari: BookingDates inputs is overflowing 2018-02-07 18:37:55 +02:00
Kimmo Puputti
760d0cc3c2 Improve coordinate obfuscation configuration 2018-02-07 14:52:59 +02:00
Kimmo Puputti
12b47968d5 Fix breakdown unit count in daily bookings 2018-02-07 10:51:23 +02:00
Hannu Lyytikainen
8d444b310a Rename mobile select single filter lable prop 2018-02-07 10:20:54 +02:00
Vesa Luusua
c1446cc89b Use FieldArray to add errors to checkbox groups 2018-02-06 16:21:01 +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
Hannu Lyytikainen
8efed6f043 Change FieldGroupCheckbox field naming 2018-02-06 13:48:34 +02:00
Hannu Lyytikainen
9d4e8ebd45 Rename filter dropdown offset const 2018-02-06 13:33:58 +02:00
Hannu Lyytikainen
82487f0daa Rename amenities url param name const 2018-02-06 13:16:50 +02:00
Hannu Lyytikainen
99ce1f9a01 Unify function naming 2018-02-06 10:22:57 +02:00
Hannu Lyytikainen
161a0268ab Pass initial value to SelectSingleFilter
Pass initial value to SelectSingleFilter instead of full query
parameters object.
2018-02-05 16:01:01 +02:00
Hannu Lyytikainen
623c274781 Pass label as a param to SelectMultipleFilter 2018-02-05 15:51:07 +02:00
Hannu Lyytikainen
528b6b593d Add urlParam param to SelectMultipleFilter
Also rename amenities url param.
2018-02-05 15:01:53 +02:00
Hannu Lyytikainen
8c362b6dca Add features filter 2018-02-05 11:03:25 +02:00
Hannu Lyytikainen
d850bc1286 Pass content offset as param to SelectSingleFilter
Offset is passed in the same way to SelectMultipleFilter.
2018-02-05 11:03:25 +02:00
Hannu Lyytikainen
078d7700b2 Remove shape validation for options
The shape correctness is validated in the child component.
2018-02-05 10:52:42 +02:00
Hannu Lyytikainen
56b67ccb96 Add prop validation for filter offset 2018-02-02 20:07:13 +02:00
Hannu Lyytikainen
a87a83094a Change filter lable styles if values are selected 2018-02-02 19:52:47 +02:00
Hannu Lyytikainen
adec516f87 Add SelectMultipleFilter component 2018-02-02 19:52:47 +02:00
Hannu Lyytikainen
ca410d5c3b Allow ref fucntion to be passed to the form 2018-02-02 19:52:47 +02:00
Hannu Lyytikainen
45358a7d51 Remove FilterPanel as obsolete 2018-02-02 19:52:47 +02:00
Vesa Luusua
cd0c3932bf Review changes 2018-02-02 16:25:18 +02:00
Vesa Luusua
7551fec85e Add notes about missing quantity prop when unitType is line-item/units 2018-02-02 16:20:37 +02:00
Vesa Luusua
789bfbaca2 LineItemUnitsMaybe for BookingBreakdown 2018-02-02 16:20:37 +02:00
Vesa Luusua
b310613017 Refactor fetchSpeculatedTransaction to accommodate booking data easily if needed 2018-02-02 16:20:36 +02:00
Vesa Luusua
239eb1fad2 Enable passing booking data (like quantity, color) in addition to BookingDates 2018-02-02 16:20:36 +02:00
Vesa Luusua
c04dca2df3 Update BookingDatesForm to be ready for changes with LINE_ITEM_UNITS 2018-02-02 16:20:35 +02:00
Vesa Luusua
5f8323cd71 Add new unit type 2018-02-02 16:20:35 +02:00
Vesa Luusua
01c0376a2d Refactor BookingBreakdown to embrace future changes better 2018-02-02 16:20:35 +02:00