Commit graph

2322 commits

Author SHA1 Message Date
Kimmo Puputti
12b47968d5 Fix breakdown unit count in daily bookings 2018-02-07 10:51:23 +02:00
Vesa Luusua
c1446cc89b Use FieldArray to add errors to checkbox groups 2018-02-06 16:21:01 +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
Kimmo Puputti
27881755b5 Edit example categories to fit Saunatime 2018-02-02 15:04:33 +02:00
Kimmo Puputti
951d169dc4 Replace listings.search usage with listings.query 2018-02-02 15:04:11 +02:00
Kimmo Puputti
74d86dbd24 Change category query param 2018-02-02 15:03:34 +02:00
Kimmo Puputti
de304394b6 Remove saving category to customAttributes 2018-02-02 15:03:05 +02:00
Kimmo Puputti
3aa1d74e30 Improve config prop types check 2018-02-02 14:07:53 +02:00
Kimmo Puputti
505cafdb7a Improve coordinate obfuscation
Now the obfuscation results are memoized so that the results stay
stable for each listing id.
2018-02-02 12:04:10 +02:00
Kimmo Puputti
b8b8b94375 Obfuscate SearchMap listing coordinates 2018-02-01 16:11:57 +02:00
Kimmo Puputti
cd995ec908 Obfuscated coordinates with a circle on the map 2018-02-01 16:09:09 +02:00
Vesa Luusua
ede0587056 Break long words on (Manage)ListingCards 2018-01-31 17:44:25 +02:00
Vesa Luusua
5532659506
Merge pull request #681 from sharetribe/fix-editlisting
Fix: Images should not be included if they are undefined
2018-01-31 16:45:20 +02:00
Vesa Luusua
f25d4e89c7 Images should not be included if they are undefined 2018-01-31 16:36:18 +02:00
Kimmo Puputti
61daa2e7e9 Fix error when no searchParams were provided 2018-01-31 16:07:07 +02:00
Vesa Luusua
0edd574cf6 Initialize react-dates in index.js 2018-01-31 14:23:35 +02:00
Vesa Luusua
7ad1ea557f Fix dublicate css rule in FieldDateRangeInput 2018-01-31 14:23:35 +02:00
Vesa Luusua
1439ae72d8 FieldDateInput 2018-01-31 14:23:34 +02:00
Kimmo Puputti
b6010beb25 Use a shared var for the listing page variant 2018-01-31 11:22:34 +02:00
Kimmo Puputti
4940b67c17 Use ListingLink in features panel 2018-01-31 10:56:59 +02:00
Kimmo Puputti
c74904b078 Change ownListing author to the updated currentUser type 2018-01-31 10:46:01 +02:00
Kimmo Puputti
db30fcab96 Fix cursor in pending listing card 2018-01-31 10:46:01 +02:00
Kimmo Puputti
30ccb1e85b Redirect to the correct URL if listing is pending approval 2018-01-31 10:46:01 +02:00
Kimmo Puputti
27e6686e8c Use ListingLink component in ManageListingCard 2018-01-31 10:46:01 +02:00
Kimmo Puputti
faf31af6ed Fix missing props in ListingPage tests 2018-01-31 10:46:01 +02:00
Kimmo Puputti
a5456320da Ensure ownListing instead of listing in wizard 2018-01-31 10:46:01 +02:00
Kimmo Puputti
32d83c1733 Use ListingLink in wizard panel titles 2018-01-31 10:46:01 +02:00
Kimmo Puputti
916f63fe29 Add ListingLink component 2018-01-31 10:46:01 +02:00