Commit graph

52 commits

Author SHA1 Message Date
Vesa Luusua
f9dae4bac4 TransactionPanel: has correct next transition for enquiry 2019-07-05 17:51:58 +03:00
Vesa Luusua
a3898f6341 TransactionPage.duck: Fetch process transitions on loadData 2019-07-05 17:50:24 +03:00
Vesa Luusua
e91eaa3866 Update TransactionPage container: use SCA process
(Redirect tx with payment-pending to checkout page and
clear card paymenterrors from store.)
2019-06-28 13:36:04 +03:00
Vesa Luusua
e5e972dc7d Update snapshots after flex-sdk-js version bump 2019-05-08 12:25:24 +03:00
Vesa Luusua
e2159de9f3 Reserve use* function naming pattern for React Hooks
Eslint-plugin rules of hooks assumed that useInitialValues was actually
a wrongly called hook
2019-05-08 12:25:23 +03:00
Jenni Nurmi
339676a2eb Check that lineItems exists in attributes 2019-05-07 17:55:20 +03:00
Vesa Luusua
63c9d73a3d Removed stripeConnected attributes in favor of stripeAccount entity 2019-03-26 22:20:16 +02:00
Vesa Luusua
3ff963192a Update tests 2019-03-25 15:47:14 +02:00
Jenni Nurmi
099dd6bd9e Add handling for deleted and banned user to types.js 2019-02-12 10:22:44 +02:00
Vesa Luusua
caad06353e Add state graph description and refactor transaction.js functions to use it. 2019-01-30 18:31:05 +02:00
Vesa Luusua
538faf945d Add tx helpers related to sending a review 2019-01-30 14:21:00 +02:00
Vesa Luusua
a7b7c58d80 Extract transaction related code to its own util file
from types.js
2019-01-30 14:20:59 +02:00
Jenni Nurmi
72e20dfb56 Rename variable fetchAvailableTimeSlots to enableAvailability 2019-01-16 12:46:56 +02:00
Hannu Lyytikainen
7cc30ee3ef Pass booking data from tx page to checkout 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
5fe0ac3d47 Add onManageDisableScrolling to BookingPanel 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
a053a6c81a Fetch time slots on tx page 2018-12-20 18:02:29 +02:00
Jenni Nurmi
0aca4567c2 Update Prettier to 1.15.3 2018-12-05 11:07:47 +02:00
Hannu Lyytikainen
13c02ccb6e Change state initialization in loadData
Also override empty arrays and objects with values from initialState.
2018-07-11 09:52:38 +03:00
Hannu Lyytikainen
ebeb100e4b Check tx ref when initializing state 2018-07-10 15:53:50 +03:00
Hannu Lyytikainen
bca98e52ef Change clearErrors action to resetState 2018-07-10 11:05:21 +03:00
Hannu Lyytikainen
3a4fee049a Add clear errors action
Add an action that can be used to clear errors on load data instead of
clearing the whole state.
2018-07-09 15:54:24 +03:00
Hannu Lyytikainen
2a305cf456 Migrate SendMessageForm to Final Form 2018-06-01 00:43:24 +03:00
Vesa Luusua
049f6a7f37 import lodash per file to reduce bundle size 2018-05-18 15:24:09 +03:00
Kimmo Puputti
65c94183cd Update snapshots with at->createdAt attribute change 2018-04-18 15:45:36 +03:00
Kimmo Puputti
946cf7f53c Use Image variants instead of sizes 2018-04-16 12:28:43 +03:00
Vesa Luusua
0ed1d879a5 Always add error info to Sentry logging 2018-03-16 12:10:07 +02:00
Kimmo Puputti
3877ef83f0 Log more info in tx handling errors 2018-03-05 10:08:26 +02:00
Kimmo Puputti
3b15497006 Remove customAttribute config and data 2018-01-29 10:08:26 +02:00
Kimmo Puputti
5fd0c39dc1 Remove listing closed attribute 2018-01-26 10:28:37 +02:00
Kimmo Puputti
470bdb029b Add listing state attribute 2018-01-24 15:32:20 +02:00
Kimmo Puputti
7fc3f2847b Stop using address attribute 2018-01-22 15:43:43 +02:00
Kimmo Puputti
4b8c6a1cbd
Merge pull request #661 from sharetribe/address-to-public-data
Use extended data for listing address
2018-01-22 14:51:35 +02:00
Kimmo Puputti
2b94a8a721 Make publicData attribute required 2018-01-22 13:45:54 +02:00
Kimmo Puputti
abb2d16def Improve data denormalisation
- Use resource refs (id, type) instead of separate type and ids
- Throw an error only when it makes sense
2018-01-19 15:30:12 +02:00
Kimmo Puputti
ed2319e781 Add helper to get denormalised entities from an SDK response 2018-01-19 15:30:12 +02:00
Kimmo Puputti
bdd9c18bc3 Update snapshots with the new transition label values 2018-01-16 12:32:55 +02:00
Kimmo Puputti
5a52ccbc1f Improve transition docs 2018-01-12 09:04:34 +02:00
Kimmo Puputti
3210cd8938 Transition ref rename: review by customer second -> review 2 by customer 2018-01-11 15:35:35 +02:00
Kimmo Puputti
217bd92bfc Transition ref rename: review by customer first -> review 1 by customer 2018-01-11 15:30:52 +02:00
Kimmo Puputti
f58ccf6a72 Transition ref rename: review by provider second -> review 2 by provider 2018-01-11 15:26:17 +02:00
Kimmo Puputti
0f94ef1625 Transition ref rename: review by provider first -> review 1 by provider 2018-01-11 15:19:33 +02:00
Kimmo Puputti
6a84e89459 Transition ref rename: remove TX_ prefix 2018-01-11 14:56:47 +02:00
Kimmo Puputti
135a6dab7e Transition ref rename: preauthorize -> request 2018-01-11 14:43:43 +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
Kimmo Puputti
7a1e589af3 Validate lien items more strictly 2018-01-02 15:34:11 +02:00
Kimmo Puputti
0c73dfcba4 Add customAttributes as an empty object 2017-12-20 15:37:52 +02:00
Vesa Luusua
2e935266ff Bug fix: merging sendReview was missing from TransactionPage refactoring 2017-12-20 02:13:06 +02:00
Vesa Luusua
3a315ad23d Review changes 2017-12-18 15:20:17 +02:00
Vesa Luusua
817cc992f3 TransactionPage uses TransactionPanel 2017-12-18 15:10:09 +02:00
Vesa Luusua
fcfc069df7 TransactionPage can handle deleted listing 2017-12-18 15:10:08 +02:00