Vesa Luusua
caad06353e
Add state graph description and refactor transaction.js functions to use it.
2019-01-30 18:31:05 +02:00
Jenni Nurmi
6d6ebbffc1
Refactor InboxPage:
...
use txHasBeenDelivered function,
rename css classes,
add txIsRequested check and handle unknown transition separately,
filter unknown transitions when fetching data,
don't render InboxItem if latest transition is unknown,
update InboxPage tests.
2019-01-30 15:35:20 +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
0aca4567c2
Update Prettier to 1.15.3
2018-12-05 11:07:47 +02:00
Vesa Luusua
b2fd6db90a
convert dates to relevant API date / UTC moment
2018-03-27 01:47:30 -11:00
Vesa Luusua
49e1530527
InboxPage: add loading spinner
2018-03-20 13:29:51 +02:00
Vesa Luusua
647222d065
InboxPage: ensure currentUser
2018-03-20 13:29:31 +02:00
Vesa Luusua
cfd50fe701
InboxPage: check that user is available
2018-03-16 12:10:06 +02:00
Hannu Lyytikainen
a3e9562f88
Apply inclusive end date also for unit type units
2018-03-13 13:53:02 +02:00
Kimmo Puputti
343864e174
Render NotFoundPage instead of redirect for invalid inbox tab
2018-02-09 10:32:07 +02:00
Vesa Luusua
9a62881e42
BookingInfoMaybe as a helper component
2018-01-16 13:31:23 +02:00
Kimmo Puputti
0032c7645b
Rename txIsDeclinedOrAutodeclined to txIsDeclinedOrExpired
2018-01-11 15:12:46 +02:00
Kimmo Puputti
0b77b9070b
Transition ref rename: mark delivered -> complete
2018-01-11 15:05:41 +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
86b7543546
Name the unit type config prop
2018-01-10 14:43:30 +02:00
Kimmo Puputti
80daea8319
Fix daily booking dates in Inbox
2018-01-10 14:37:30 +02:00
Vesa Luusua
aaa4cd216f
Enquiry flag on InboxPage
2017-12-18 14:12:51 +02:00
Vesa Luusua
4673579c4e
InboxPage transition/enquiry fix
2017-12-18 14:12:50 +02:00
Kimmo Puputti
7e19474bf9
Avoid breaking Inbox with enquiry transactions
2017-12-15 15:48:03 +02:00
Hannu Lyytikainen
f401482891
Fix booking states in inbox
2017-11-29 16:28:38 +02:00
Kimmo Puputti
0c318806b3
Make inbox item avatar into a separate profile link
2017-11-07 11:28:41 +02:00
Kimmo Puputti
807c5005ed
Make avatars into links to the user profile page
2017-11-07 11:18:23 +02:00
Kimmo Puputti
007e140afb
Remove logoutError prop from Page component
...
The logout error will be a flash message that the Auth duck sets for
the component that will be responsible for rendering the flash
messages.
2017-11-03 11:36:44 +02:00
Kimmo Puputti
ee51d0d9b2
Remove passing the removed authInfoError prop to Page
2017-10-23 16:27:06 +03:00
Vesa Luusua
8e704edcbb
Footer to InboxPage
2017-10-23 13:33:11 +03:00
Vesa Luusua
a2dc539022
InboxPage uses storableError func and correct proptype validation.
2017-10-18 18:13:11 +03:00
Kimmo Puputti
a996f154d1
Import PropTypes from the prop-types package
2017-10-17 09:50:22 +03:00
Kimmo Puputti
90ab9c9a69
Format with latest Prettier
2017-10-13 10:11:51 +03:00
Sampo Toiva
64f8bcaf88
Transactions can be declined not rejected
2017-10-12 19:04:13 +03:00
Kimmo Puputti
78de6d9d69
Disable deprecated proptype import lint error
2017-10-12 14:09:02 +03:00
Vesa Luusua
cecb9a0375
InboxPage uses TopbarContainer
2017-10-11 20:12:43 +03:00
Vesa Luusua
7518750328
Prettier run was forgotten in previous PR
2017-10-05 12:37:02 +03:00
Vesa Luusua
d329afffd7
txIsCanceled checked and rendered correctly on InboxPage
2017-10-04 15:18:46 +03:00
Kimmo Puputti
df9bd83e80
Use tx state helpers in Inbox
2017-10-02 15:50:38 +03:00
Kimmo Puputti
0c7b8ca355
Use transaction lastTransition instead of state
2017-10-02 15:50:38 +03:00
Vesa Luusua
30578a65bc
Rename PageLayout to Page
2017-09-29 15:15:32 +03:00
Janne Koivistoinen
85592a4e9c
various fine-tuning fixes
2017-09-27 16:58:33 +03:00
Kimmo Puputti
a1611fad91
Handle banned providers and customers in Inbox
2017-09-15 15:24:11 +03:00
Vesa Luusua
a6be31ccff
Add currentUserHasOrders info to InboxPage
...
Verification props to InboxPage
2017-09-14 12:52:42 +03:00
Vesa Luusua
65b12d4633
Unused params (probably copy-pasted to wrong place)
2017-09-12 19:11:07 +03:00
Kimmo Puputti
bb2b229f81
Merge pull request #364 from sharetribe/clean-up-money-handling
...
Clean up money handling
2017-08-28 13:50:12 +03:00
Vesa Luusua
f3e0b4a954
Empty ManageListingsPage with secondary navigation bar
2017-08-25 15:24:50 +03:00
Kimmo Puputti
cb41d90d7b
Remove currencyConfig from formatMoney params
2017-08-25 10:09:52 +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
Kimmo Puputti
30197024e1
Responsive Inbox page styles
2017-08-02 11:24:18 +03:00
Vesa Luusua
bc09bea368
InboxPage: pass PageLayout props
2017-07-11 19:37:19 +03:00
Vesa Luusua
015a4b5e76
InboxPage: pass Topbar props
2017-07-11 17:14:44 +03:00
Vesa Luusua
879b0ccacc
Update pages that need Topbar
2017-07-11 15:26:52 +03:00
Vesa Luusua
c832c7584b
InboxPage uses NotificationBadge
2017-07-11 12:41:05 +03:00