Commit graph

1612 commits

Author SHA1 Message Date
Jenni Nurmi
099dd6bd9e Add handling for deleted and banned user to types.js 2019-02-12 10:22:44 +02:00
Jenni Nurmi
5f27f2b103 Remove error handling for unverified email from PasswordRecoveryPage 2019-02-06 13:29:46 +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
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
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
Vesa Luusua
fbd26bdfec SearchPage.duck.js: endDate should not expand end date for night
DateRangeController: unittype day should allow 0 night
EditListingPage.duck.js booking state should be passed to query
2019-01-29 14:48:08 +02:00
Jenni Nurmi
94bb6be20a Add availability params to search query 2019-01-29 12:59:48 +02:00
Jenni Nurmi
27a49d1534 Add DateRangeFilter to desktop and mobile versions 2019-01-28 14:37:40 +02:00
Jenni Nurmi
72e20dfb56 Rename variable fetchAvailableTimeSlots to enableAvailability 2019-01-16 12:46:56 +02:00
Jenni Nurmi
ea22f94d43 Synchronize white modal width 2019-01-07 14:04:01 +02:00
Vesa Luusua
fe36cf84cc EditListingPage.js: connect calendar data and functions from Redux setup 2019-01-04 14:53:13 +02:00
Vesa Luusua
c04742e160 EditListingPage.duck.js: add thunk functions for availability calendar
- requestFetchBookings
- requestFetchAvailabilityExceptions
- requestCreateAvailabilityException
- requestDeleteAvailabilityException
2019-01-04 14:53:03 +02:00
Hannu Lyytikainen
2a728a64ad Change layouts to match design
Apply design baseline definitions on BookingDatesForm, BookingPanel and
ListingPage.
2018-12-27 13:57:13 +02:00
Hannu Lyytikainen
2c3bb15355 Fix wrong booking title on listing page 2018-12-27 11:35:36 +02:00
Hannu Lyytikainen
ad6fc6346b Fix session store handling for enquired tx 2018-12-20 18:03:29 +02:00
Hannu Lyytikainen
4663f825a1 Change checkout page booking sub title
Unify the sub title with transaction page.
2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
8d2adf0140 Hide initial message on booking after enquiry 2018-12-20 18:02:29 +02:00
Hannu Lyytikainen
bbac34a0e5 Add initiate order after enquiry
If enquired transaction is avalable transition it to prequthorized on
checkout page.
2018-12-20 18:02:29 +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
Hannu Lyytikainen
f4f67be661 Change formatted title and sub title type
Change formatted title and sub title type to node in BookingPanel.
Also remove FormattedText component which renders a redundant span element.
2018-12-20 17:48:26 +02:00
Hannu Lyytikainen
bee450d786 Change BookingPanel title handling
Use title and sub title provided by a parent component.
2018-12-20 17:48:26 +02:00
Hannu Lyytikainen
167cc2608d Change name and type for richText prop
Rename the prop to title and allow it to be and object or a string. This
way a normal string or a styled html element can be provided.
2018-12-20 17:48:26 +02:00
Hannu Lyytikainen
2a886131c4 Remove some unused props passed to BookingPanel 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
e894dead63 Clean up BookingPanel props
Remove isClosed and price from the BookingPanel props as they can be
resolved from the listing.
2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
9cd3c0c5ad Remove redundant style class definitions 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
d6ed766d1b Fix listing page layout 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
a032d06eea Use page specific message key on CheckoutPage 2018-12-20 17:47:10 +02:00
Hannu Lyytikainen
60d5a44d5d Extract SectionBooking into a distinct component
Extract SectionBooking away from ListingPage to a distinct component
called BookingPanel.
2018-12-20 17:47:10 +02:00
Jenni Nurmi
086963a497 Update translations in ListingPage 2018-12-10 13:58:28 +02:00
Vesa Luusua
fa76ea5051 Formatting docs with newest Prettier.
Related commit  was lost at some point when dependencies were updated.
2018-12-10 13:34:11 +02:00
Jenni Nurmi
0aca4567c2 Update Prettier to 1.15.3 2018-12-05 11:07:47 +02:00
Jenni Nurmi
299358f1d2 Show error if payment amount is zero 2018-11-26 13:34:58 +02:00
Jenni Nurmi
381b6d8191 Show Stripe error message if error contains Stripe error 2018-11-23 12:56:41 +02:00
Vesa Luusua
e86f1a792f fix draft listing. ModalMissingInformation was still shown too early. 2018-11-20 15:27:45 +02:00
Hannu Lyytikainen
aa4ff59618 Pass translations to ReusableMapContainer in props 2018-11-15 10:14:39 +02:00
Jenni Nurmi
75f295cbfc ListingPage: ActionBar links to draft edit mode
if listing is a draft.
2018-11-07 16:32:33 +02:00
Vesa Luusua
f7efde7baf EditListingPage: use draft thunks and check listing draft state 2018-11-07 16:32:12 +02:00
Vesa Luusua
bbb08d75ee EditListingPage.duck: create listing draft, publish listing draft.
Removing requestCreateListing and actions for storing local draft data to redux store.
2018-11-07 16:25:28 +02:00
Vesa Luusua
3a797fc653 ListingPage: handle data loading of draft listings 2018-11-07 13:54:47 +02:00
Vesa Luusua
f7837e3369 Fix API changes: description can be null. 2018-11-06 10:52:28 +02:00
Vesa Luusua
d32a4ba638 SearchPage: *fix* range end is exclusive in Flex API 2018-10-31 10:53:53 +02:00
Vesa Luusua
a063733564 SearchPage: add price filter 2018-10-31 10:53:53 +02:00
Vesa Luusua
6200e7f593 Styleguide cleaning: styleguide links didn't break 2018-10-30 22:54:59 +02:00
Vesa Luusua
64b51a6bca EmailVerificationPage: add referrer policy due tokens in URL 2018-10-17 14:03:10 +03:00
Vesa Luusua
548adf7f33 PasswordResetPage: add referrer policy due tokens in URL 2018-10-17 14:03:09 +03:00
Vesa Luusua
4dd68ef56a AboutPage image: use progressive jpeg and resize it properly 2018-09-28 11:38:37 +03:00
Vesa Luusua
3a3dbf86cc Fix two usage of old pseudoelement syntax 2018-09-26 16:17:06 +03:00