Commit graph

2965 commits

Author SHA1 Message Date
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
6229a9cecb
Merge pull request #677 from sharetribe/listing-page-pending-fetch
Listing page pending state data handling
2018-01-31 11:32:27 +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
Kimmo Puputti
22129e49d1 Use own listing if the pending-approval variant was in the params 2018-01-31 10:46:01 +02:00
Kimmo Puputti
5eb03350ae Fetch from ownListings if listing is pending approval 2018-01-31 10:46:01 +02:00
Kimmo Puputti
5958d4e0f0 Link to pending-approval variant URL if listing is pending approval 2018-01-31 10:46:01 +02:00
Kimmo Puputti
cba01b9bfb Add ListingPageVariant route 2018-01-31 10:46:01 +02:00
Kimmo Puputti
24a4f19470 Accept user or currentUser 2018-01-31 10:46:01 +02:00
Kimmo Puputti
d07b5ec6ed Make book modal URL handling use search param, not tab/pathname 2018-01-31 10:46:01 +02:00
Hannu Lyytikäinen
88fbebadbd
Merge pull request #676 from sharetribe/edit-listing-features
Edit listing features
2018-01-30 15:38:50 +02:00
Hannu Lyytikainen
9c88a448e2 Fix casing in listing wizard 2018-01-30 15:30:18 +02:00
Hannu Lyytikainen
ccb2ab27f6 Use flex-grow insted of the flex <value> notation 2018-01-30 15:18:28 +02:00
Hannu Lyytikainen
e5c180fcf2 Rename FieldGroupCheckbox legend prop into label 2018-01-30 14:40:03 +02:00
Vesa Luusua
2d85510a62
Merge pull request #674 from sharetribe/payoutdetailsform-relocated
Relocate PayoutDetailsForm (to EditListingWizard)
2018-01-30 14:19:48 +02:00
Vesa Luusua
7cb223d8e9 Add comments about extra data on last wizard tab 2018-01-30 14:14:01 +02:00
Hannu Lyytikäinen
ba1abe53d0
Merge pull request #679 from sharetribe/show-listing-features
Show listing features
2018-01-30 14:03:06 +02:00
Vesa Luusua
bcfae370d2 Move PayoutDetailForm modal to wizard from photos panel 2018-01-30 13:57:23 +02:00
Vesa Luusua
a41f329cf4 bugfix: onUpsertListingDraft was working wrongly 2018-01-30 13:57:23 +02:00
Vesa Luusua
1cbe04f27a
Merge pull request #678 from sharetribe/preparations-for-singledatepicker
Preparations for singledatepicker
2018-01-30 13:55:46 +02:00
Vesa Luusua
607c25b61c Rename: CurrencyInputField -> FieldCurrencyInput 2018-01-30 13:49:29 +02:00
Vesa Luusua
3156963f9e Rename: BirthdayInputField -> FieldBirthdayInput 2018-01-30 13:48:59 +02:00
Vesa Luusua
23faad9146 Rename: DateRangeInputField -> FieldDateRangeInput 2018-01-30 13:48:59 +02:00
Hannu Lyytikainen
65b351aabf Fix ListingPage baseline alignment 2018-01-30 12:17:03 +02:00
Hannu Lyytikainen
b8e4756b96 Fix PropertyGroup baseline alignment 2018-01-30 12:17:03 +02:00
Hannu Lyytikainen
1b74d16969 Rename feature object keys for PropertyGroup 2018-01-30 12:17:03 +02:00
Hannu Lyytikainen
dda0cee88c Show listing features on ListingPage 2018-01-30 11:15:21 +02:00
Kimmo Puputti
071b46c540
Merge pull request #671 from sharetribe/category-config
Categories in publicData
2018-01-30 10:00:44 +02:00
Kimmo Puputti
ffa7fdf196 Move internal field to its own file 2018-01-30 09:50:32 +02:00
Kimmo Puputti
acd01fb372 Use key as the fallback label for an option 2018-01-30 09:41:19 +02:00
Hannu Lyytikainen
20e00522c1 Fix listing feature edit layout and copies 2018-01-29 15:54:55 +02:00
Hannu Lyytikainen
65ef465d05 Override arrays when modifying listings
Adds a customizer function to be used with lodash's mergetWith funtion.
It works like normal merge but always replaces arrays whith the new
value instead of merging the two.
2018-01-29 14:36:20 +02:00
Hannu Lyytikainen
bd598ccc54 Add a wizard tab for editing listing features 2018-01-29 14:36:20 +02:00
Kimmo Puputti
3b15497006 Remove customAttribute config and data 2018-01-29 10:08:26 +02:00
Kimmo Puputti
f4f7aaa217 Use custom categories instead of custom attributes config 2018-01-26 17:05:20 +02:00
Vesa Luusua
7d1ce22d8d
Merge pull request #673 from sharetribe/fix-map-relocated
After editing listing location, map should show that new location
2018-01-26 16:08:58 +02:00
Vesa Luusua
68c80c102a After editing listing location, map should show that new location 2018-01-26 16:07:40 +02:00
Vesa Luusua
496bdb5079
Merge pull request #672 from sharetribe/saunarules
ListingPage: rules and map as maybe components
2018-01-26 16:05:41 +02:00
Vesa Luusua
b9363b9031 ListingPage: rules and map as maybe components 2018-01-26 16:03:22 +02:00
Vesa Luusua
ed7aac088e
Merge pull request #675 from sharetribe/smoothscroll-new-wzrd
Create listing flow: smooth scrolling polyfill to scroll to correct tab
2018-01-26 16:02:45 +02:00