Commit graph

49 commits

Author SHA1 Message Date
Vesa Luusua
9e48a1fca7 EditListingWizard: use onCreateListingDraft and onPublishListingDraft
instead of plain createListing.
2018-11-07 16:32:32 +02:00
Vesa Luusua
5aa2ed306c Call stripe.createAccount always before sending tokens to Flex API 2018-05-18 12:08:44 +03:00
Vesa Luusua
af088fff8f Fix form references after moving them to different location 2018-05-02 15:56:30 +03:00
Kimmo Puputti
c7e522a51a
Merge pull request #734 from sharetribe/form-autofill
Ensure proper form prefill values
2018-03-06 11:54:01 +02:00
Kimmo Puputti
47f8cfffb8 Ensure proper form prefill values 2018-03-05 16:43:55 +02:00
Kimmo Puputti
7cf93b0d12 Allow accessing wizard tabs in edit more with missing data 2018-03-05 15:09:36 +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 Lyytikäinen
88fbebadbd
Merge pull request #676 from sharetribe/edit-listing-features
Edit listing features
2018-01-30 15:38:50 +02:00
Vesa Luusua
bcfae370d2 Move PayoutDetailForm modal to wizard from photos panel 2018-01-30 13:57:23 +02:00
Kimmo Puputti
071b46c540
Merge pull request #671 from sharetribe/category-config
Categories in publicData
2018-01-30 10:00:44 +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
Vesa Luusua
fb8b28341c Create listing flow: smooth scrolling polyfill to scroll to correct tab 2018-01-26 15:49:25 +02:00
Vesa Luusua
3f0d3b5790 Review changes 2018-01-25 14:56:51 +02:00
Vesa Luusua
0718ebc663 EditListingWizard: tabs are configurable (except photos panel) 2018-01-24 22:53:15 +02:00
Vesa Luusua
de71c95327 Refactor panel props on EditListingWizard 2018-01-23 18:07:41 +02:00
Vesa Luusua
335b15da80 EditListingPoliciesPanel 2018-01-23 17:18:19 +02:00
Vesa Luusua
3b8c698959 EditListingWizard: smooth scroll to visible tab on mobile 2018-01-23 16:35:12 +02:00
Kimmo Puputti
97308e5029 Format JS 2018-01-22 16:03:59 +02:00
Kimmo Puputti
7fc3f2847b Stop using address attribute 2018-01-22 15:43:43 +02:00
Kimmo Puputti
059a161872 Use publicData attribute for custom metadata
- Store location in publicData
- Read location from publicData
- Store category to publicData
2018-01-22 13:47:10 +02:00
Kimmo Puputti
f0b955dc5b Refactor propTypes module
- Rename types
- Collect propTypes within a named propTypes export
- Use named imports for easier refactoring and customisation later
- Rename sdk types to sdkTypes in imports to avoid confusion
2018-01-11 11:40:03 +02:00
Vesa Luusua
5c37ecdccd Custom attributes: EditListingPage can handle customAttributes 2017-12-20 15:17:47 +02:00
Kimmo Puputti
e4a1e64b52 Remove unused inner component 2017-10-23 15:07:03 +03:00
Kimmo Puputti
d07fd9f63d Make TODOs about draft listings into generic comments
The API might not ever support saving unpublished/draft listings, so
no need to keep the TODO comments as tasks in the code.
2017-10-23 15:05:52 +03:00
Kimmo Puputti
a996f154d1 Import PropTypes from the prop-types package 2017-10-17 09:50:22 +03:00
Kimmo Puputti
78de6d9d69 Disable deprecated proptype import lint error 2017-10-12 14:09:02 +03:00
Vesa Luusua
7261d21d2a EditListingWizard: import routeConfiguration and remove context.flattenedRoutes 2017-10-11 14:18:31 +03:00
Kimmo Puputti
1814a0d960 Add proper inProgress and ready states for listing creation 2017-09-21 16:35:44 +03:00
Vesa Luusua
cda5042d28 PayoutDetailsForm can handle generic error 2017-09-20 14:08:55 +03:00
Kimmo Puputti
15dad39e53 Merge pull request #351 from sharetribe/translate-wizard-tab-labels
Translate listing wizard tab labels
2017-08-18 08:15:01 +03:00
Kimmo Puputti
8497317dfb Translate listing wizard tab labels 2017-08-17 15:30:05 +03:00
Kimmo Puputti
a381f15432 Implement deleting listing images 2017-08-17 12:51:03 +03:00
Kimmo Puputti
7434e1d887 Disable save button while update is in progress 2017-08-15 11:25:48 +03:00
Kimmo Puputti
d827128703 Implement listing editing 2017-08-15 10:47:03 +03:00
Kimmo Puputti
e5f5995dbb Translate button texts 2017-08-15 10:47:03 +03:00
Kimmo Puputti
f0ca0564dd New URL schema for creating a listing
The URL will now always have an id and a slug so that new/edit listing
wizards can be generalised. When creating a new listing, temporary id
and slug are put to the URL.
2017-08-10 12:29:39 +03:00
Kimmo Puputti
a42af34853 Responsive new listing wizard 2017-08-07 16:05:59 +03:00
Vesa Luusua
2991b484d5 Errors shown on form. 2017-07-10 14:18:05 +03:00
Vesa Luusua
9f19f2bc66 EditListingWizard: manage scrolling 2017-07-04 21:34:31 +03:00
Vesa Luusua
90f6b47f3b wizard panels grow with the screen 2017-05-16 22:48:10 +02:00
Vesa Luusua
fcb94b0327 Merge pull request #161 from sharetribe/new-listing-payout-details
Payout details in the new listing wizard
2017-05-16 13:27:03 +03:00
Vesa Luusua
64303b37e7 Fetch in progress handling for payout form 2017-05-16 13:22:36 +03:00
Vesa Luusua
b9d407e32f Field for building number (overloading address field with that data)
Using address as field name instead of location
2017-05-15 18:01:56 +03:00
Kimmo Puputti
4128195502 Wizard styles 2017-05-15 16:49:33 +03:00
Kimmo Puputti
62409c3f48 Provide togglePageClassNames 2017-05-15 12:51:06 +03:00
Kimmo Puputti
b5c03f572d Pass currentUser instead of stripeConnected flag 2017-05-15 10:55:52 +03:00
Vesa Luusua
de487d9cff Use splitted edit-listing-form in wizard and pass needed functions from EditListingPage 2017-05-12 16:15:41 +03:00
Vesa Luusua
5cf36aaef0 EditListingWizard 2017-05-12 16:09:07 +03:00