Commit graph

57 commits

Author SHA1 Message Date
Hannu Lyytikainen
4be615c352 Add ensure function for time slots
Also fixes time slots test data creation by setting the date time
correctly to UTC.
2018-07-26 14:39:36 +03:00
Hannu Lyytikainen
d2a5f3f5f8 Show available time slots in date input 2018-07-23 19:56:31 +03:00
Vesa Luusua
33c1abfcee Update test-data due to changes in Redux Form v7 2018-04-20 13:05:15 +03:00
Kimmo Puputti
565a32f3c9 Rename transition/review/message attribute at to createdAt 2018-04-18 15:45:10 +03:00
Kimmo Puputti
946cf7f53c Use Image variants instead of sizes 2018-04-16 12:28:43 +03:00
Kimmo Puputti
949873ac15 Add payment settings as a tab under account 2018-02-26 16:13:05 +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
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