Commit graph

3174 commits

Author SHA1 Message Date
Jenni Nurmi
8de2513582 Change the place where to spread the object 2019-05-08 12:43:17 +03:00
Jenni Nurmi
9c84c9761f Don't mutate args in updatedEntities 2019-05-08 12:43:17 +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
Greg Gutkin
55bf312b87 Use proper method for unsetting Sentry user context on logout
Current implementation causes an error popup on logout if Sentry is enabled. This is because `remove_user` is not a valid method on the `scope` object. Changing to use the `setUser` with a `null` parameter as discussed here - https://github.com/getsentry/sentry-docs/issues/500
2019-05-07 15:25:36 +03:00
Vesa Luusua
5a12a1e65f Update snapshots 2019-05-03 22:31:21 +03:00
Vesa Luusua
5cd7ba5afc Mock window.scroll - otherwise JSDOM prints a not-implemented error 2019-05-03 22:31:20 +03:00
Vesa Luusua
20d619df95 Circumvent intentional hash-link usage on example file (jsx-a11y/anchor-is-valid) 2019-05-03 22:31:20 +03:00
Vesa Luusua
a0fe57dfa4 Fix z-index calculation 2019-05-03 22:31:20 +03:00
Tri Nguyen
7a5e77f3be fix dispatch for fetchReviewRequest 2019-05-03 20:10:31 +07:00
Vesa Luusua
41c601784a Improve API errors printing 2019-04-24 14:15:59 +03:00
Vesa Luusua
f1bc1697b6 Month id strig should be generated on utc timezones 2019-04-24 12:25:48 +03:00
Vesa Luusua
be0c8a7cf5 InboxPage: use sparse fields to improve query performance 2019-04-12 16:19:32 +03:00
Vesa Luusua
26e82bcc50 SearchPage: use sparse fields when querying listing data 2019-04-12 13:25:12 +03:00
Vesa Luusua
d926f6b8c6 Make ListingPage to work with sparse listing data
while loadData is in progress
2019-04-12 13:21:09 +03:00
Vesa Luusua
fafefea5ee Make listing and user proptypes to work with sparse fields 2019-04-12 13:19:25 +03:00
Vesa Luusua
405e829554 Add German translations for recent PayoutDetailsForm changes 2019-04-05 14:58:57 +03:00
Vesa Luusua
b6dd976a96 Improve English translations 2019-04-05 14:58:56 +03:00
Vesa Luusua
ea8217a6ab Refactor configs for currency formatting 2019-04-05 14:56:10 +03:00
Vesa Luusua
18348a6955 Relocate currency configuration 2019-04-05 14:56:09 +03:00
Vesa Luusua
8aba4d5b26 Add divisors for NZD and HKD and reorder 2019-04-05 14:56:09 +03:00
Hannu Lyytikäinen
b929493f01
Merge pull request #1062 from sharetribe/custom-pricing-support
Add support for arbitrary line item codes
2019-04-05 14:44:19 +03:00
Hannu Lyytikainen
551dff00ce Change booking breakdown layout
Make the subtotal line stick out a bit more.
2019-04-05 11:47:45 +03:00
Hannu Lyytikainen
1f0938a87c Update booking breakdown styleguide example
Add examples with arbitrary line items.
2019-04-05 11:47:45 +03:00
Hannu Lyytikainen
1fbe92f7e6 Update booking breakdown test
Update line items in test to match those returned from the API.
2019-04-05 11:47:45 +03:00
Hannu Lyytikainen
07f4ad2b3c Add support for arbitrary line items in refund 2019-04-05 11:47:45 +03:00
Hannu Lyytikainen
ec3c74180b Add support for arbitrary line items in sub total 2019-04-05 11:47:45 +03:00
Hannu Lyytikainen
61a9941ce6 Add a component for unknown line items 2019-04-05 11:36:42 +03:00
Hannu Lyytikainen
a15d3d15ab Add a function that humanizes line item codes 2019-04-05 11:30:45 +03:00
Hannu Lyytikainen
d8c614c911 Remove requirement for a known line item
Remove the requirement that a certain kind of line item is found from a transaction.
2019-04-05 11:30:45 +03:00
Vesa Luusua
d45f102940 PayoutDetailsForm: Fix individual account business URL for US 2019-04-02 15:26:57 +03:00
Vesa Luusua
3e2569b693 Add comment about category and amenities filters not working by default 2019-03-29 15:36:35 +02:00
tam.vu
fa9cb85755 Fix bugs crashed when refresh EditListingPage:
Cause: current user is null when the EditListing page got reloaded.
Solve: ensure current user and then pass in ID
2019-03-29 15:18:33 +02:00
Vesa Luusua
88f635337f Update translations: es.json 2019-03-28 16:33:48 +02:00
Vesa Luusua
6c1ab84e1a Update translations: fr.json 2019-03-28 12:33:22 +02:00
Vesa Luusua
7b5823a598 Update translations: en.json 2019-03-28 12:30:08 +02:00
Vesa Luusua
d6545edc25 JPY was configured wrongly: it doesn't use subunits 2019-03-27 17:21:51 +02:00
Vesa Luusua
9ff121c615 Add generic Stripe error messages to PayoutDetailsForm error rendering. 2019-03-27 13:23:29 +02:00
Vesa Luusua
076055f9c2 Add stripe.duck.js to handle Stripe account and person endpoints 2019-03-27 13:23:21 +02:00
Vesa Luusua
63c9d73a3d Removed stripeConnected attributes in favor of stripeAccount entity 2019-03-26 22:20:16 +02:00
Vesa Luusua
b8b919ca11 Add stripeAccount entity to proptypes 2019-03-26 22:20:16 +02:00
Vesa Luusua
905c3ee129 Add currentUser id to components showing individiual Stripe account. 2019-03-26 22:20:15 +02:00
Vesa Luusua
f1b7a2235d Move fname/firstName and lname/lastName renaming in thunk functions 2019-03-26 22:20:15 +02:00
Vesa Luusua
59f5e08897 PayoutDetailsForm: use new individual and company account components 2019-03-26 22:20:15 +02:00
Vesa Luusua
4ffef72a25 Add PayoutDetailsCompanyAccount component 2019-03-26 22:20:14 +02:00
Vesa Luusua
aa35f81b28 Add PayoutDetailsAdditionalPersons component 2019-03-26 22:20:14 +02:00
Vesa Luusua
c0060128f9 Add PayoutDetailsAccountOpener component 2019-03-26 22:20:13 +02:00
Vesa Luusua
84c2894e84 Refactor PayoutDetailsBankDetails 2019-03-26 22:20:13 +02:00
Vesa Luusua
659f2364e6 Refactor PayoutDetailsAddress 2019-03-26 22:20:13 +02:00