Commit graph

50 commits

Author SHA1 Message Date
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
2b94a8a721 Make publicData attribute required 2018-01-22 13:45:54 +02:00
Mikko Koski
5051eaf43a Add createOwnListing test data helper, and start using it.
Fixes propType warnings in tests
2018-01-18 16:33:55 +02:00
Kimmo Puputti
4fb2a4ce95 Update image placeholder URLs 2018-01-18 14:08:27 +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
Hannu Lyytikainen
9b603d6899 Change viewport based layout handling 2017-12-15 17:46:41 +02:00
Hannu Lyytikainen
dccf787f13 Add reviews to the ActivityFeed component 2017-11-29 10:06:55 +02:00
Hannu Lyytikainen
981990f773 Add transaction transitions to Messages component 2017-11-17 14:20:52 +02:00
Hannu Lyytikainen
1292484476 Add tx transitions to test data 2017-11-17 14:20:52 +02:00
Kimmo Puputti
f88293da07 Add message type and test helper 2017-11-09 14:05:04 +02:00
sktoiva
9384638e2d Camel case current-user 2017-11-08 11:52:04 +02:00
Kimmo Puputti
8e82e95d9d Add UserCard component 2017-11-07 16:16:37 +02:00
Kimmo Puputti
aa33ec8af6 Add date/time format util 2017-11-06 16:26:28 +02:00
Vesa Luusua
4b85ce658b API returns reversal flag, our tests should give it too 2017-10-19 15:23:13 +03:00
Kimmo Puputti
0c7b8ca355 Use transaction lastTransition instead of state 2017-10-02 15:50:38 +03:00
Kimmo Puputti
25b71eee1d Handle changed listing shape
The API changed the listing `open` attribute to `closed` and added
default values so that the shape is always uniform.
2017-09-28 13:49:52 +03:00
Kimmo Puputti
e614de1906 Add missing attributes to users 2017-09-22 10:39:16 +03:00
Kimmo Puputti
7643d34df1 Remove unneeded sub unit divisor 2017-09-05 15:40:28 +03:00
Kimmo Puputti
157023f9d2 Remove unneeded createOwnListing test helper 2017-09-05 15:40:28 +03:00
Kimmo Puputti
c7f3ea94b9 Clean up booking and listing creation in tests 2017-09-05 15:40:28 +03:00
Kimmo Puputti
fb305e42fe Use the whole tx and booking objects breakdown 2017-09-05 15:40:28 +03:00
Kimmo Puputti
63e06d0701 Add open flag to all listing prop types 2017-09-01 14:28:12 +03:00
Vesa Luusua
c8e6c9901b ManageListingCard test and example 2017-08-28 14:45:56 +03:00
Kimmo Puputti
852d8250f2 Use displayName/abbreviatedName of the user
The API changed from having firstName/lastName in the user object
profile. The displayName/abbreviatedName should be used instead.
2017-08-21 10:18:49 +03:00
Boyan Tabakov
c13c5598b2 Update tests 2017-08-10 14:21:38 +03:00
Mikko Koski
47e9adb85b Update line item code keywords 2017-07-02 10:23:39 +03:00
Mikko Koski
b429c2cda0 Change all commission amount negative in line items 2017-07-02 10:23:38 +03:00
Mikko Koski
096af7c766 Fix merge conflicts and run prettier 2017-07-02 10:23:37 +03:00
Mikko Koski
5ac536a5ae Update tests and test data 2017-07-02 10:22:26 +03:00
Kimmo Puputti
d909843d4f Refactor booking info calculations 2017-06-29 11:25:02 +03:00
Vesa Luusua
d70b1f83cf Showing commission (and calculating subtotal and total) 2017-04-27 16:59:14 +03:00
Vesa Luusua
b0f06f4b9a OrderDetailsPanel updated and related child components too 2017-04-26 20:20:01 +03:00
Vesa Luusua
f51e898453 API changed, no slug in user anymore 2017-04-26 20:11:59 +03:00
Kimmo Puputti
665728f979 Improve test data creation
- Add optional author to listing
 - Separate user and current user creation
2017-04-20 09:34:05 +03:00
Kimmo Puputti
a2c38b903f Use UTC dates in tests and examples 2017-04-13 13:21:22 +03:00
Kimmo Puputti
146b9ef659 Snapshot tests for Inbox sales and orders 2017-04-13 10:10:04 +03:00
Kimmo Puputti
d39973016f Format dates and times as UTC 2017-04-13 10:10:04 +03:00
Vesa Luusua
8aae28c6c8 createImage helper to testData.js 2017-04-12 16:47:43 +03:00
Kimmo Puputti
408159172c Add fakeFormProps to test redux-form-wrapped forms 2017-04-04 13:14:28 +03:00
Kimmo Puputti
f37d5e5d38 Move fakeIntl to test-data to avoid bundling test deps 2017-03-24 10:41:09 +02:00
Vesa Luusua
a31545ad4c Show price on ListingPage and ListingCards 2017-03-23 17:11:36 +02:00
Vesa Luusua
ae7b999774 Rename usePoint (real meaning useComma) and refactoring 2017-03-23 15:32:41 +02:00
Mikko Koski
c50dec0eb9 Implement sdkLoader to either require sdk package or use bundled sdk 2017-03-16 16:39:35 +02:00
Vesa Luusua
e9ba0ac855 Test and styleguide related mock data separated from test-helpers 2017-03-01 13:32:21 +02:00