Commit graph

243 commits

Author SHA1 Message Date
Vesa Luusua
b59404ed25 Prettier was not executed for TopbarDesktop 2017-05-30 16:56:01 +03:00
Vesa Luusua
fc636b5860 MobileMenu to more informative TopbarMobileMenu 2017-05-30 16:10:14 +03:00
Vesa Luusua
357dbe08c4 TopbarDesktop should get visibility factor from Topbar. 2017-05-30 15:52:35 +03:00
Vesa Luusua
2b0a57c390 TopbarDesktop as separate component 2017-05-30 15:12:41 +03:00
Vesa Luusua
458fd20cba Add rough styling to Styleguide 2017-05-30 13:26:57 +03:00
Kimmo Puputti
7d6950b127 Add group to examples 2017-05-29 14:31:06 +03:00
Kimmo Puputti
d009b3993c Fix UTC Date handling
When selecting a date, if the user's timezone was less that UTC, the
created date object always rolled over to the previous day from the
UTC date created from the selected year/month/day values.

The solution was to check the UTC year/month/day of the day object
against the selected values, not the year/month/day of the local
timezone.
2017-05-26 16:17:36 +03:00
Kimmo Puputti
5781c79ff7 Remove MobileFrame and related hacks 2017-05-22 16:32:51 +03:00
Mikko Koski
bf0e933f7c Move toggleBasedOnWindowSize to componentDidMount 2017-05-22 14:24:01 +03:00
Mikko Koski
f2270077f6 Run prettier 2017-05-19 11:01:49 +03:00
Mikko Koski
98fd29f92a Fix autocomplete click issue. Listen mouse down instead of click
This commit fixes click issue in the autocomplete predictions list. The previous implementation relied on two event: blur event from the input and click even from the predictions list. Blur event happens before click event and because of this there was a listener to listen the current hover status. However, this strategy doesn't work in touch devices where there's no hovers.

The fix is to listen mousedown/mouseup (and touchstart/touchend) events and save the current "in progress" state to the component state.
2017-05-19 10:52:03 +03:00
Mikko Koski
04780644de Hotfix: window is not defined in server rendering 2017-05-18 14:10:51 +03:00
Mikko Koski
e4d4fdd828 Fixes an issue with modal in mobile menu, which sets display to block
- Causes issues, if the display should be flex or something else than block
2017-05-18 13:27:01 +03:00
Mikko Koski
1c6652f288 Run prettier 2017-05-18 10:42:37 +03:00
Mikko Koski
da11d9c78e Remove unused SortableElement to fix tests 2017-05-18 10:42:11 +03:00
Mikko Koski
d10a3bcab4 Remove mobile frame if the screen is smaller than 615
Also, fix some hard-coded max-width 375px sizes.
2017-05-18 10:29:43 +03:00
Mikko Koski
920e204b9e Disable image sorting 2017-05-18 09:34:23 +03:00
Mikko Koski
c119d67f78 Fixes modal scrolling issue by changing height 100vh to bottom 0 2017-05-18 09:21:31 +03:00
Mikko Koski
1cb5f5d574 Fix Flexbox cross-browser issues
- Fixes Flexbox cross-browser issues (Safari) that prevents moving on in the listing wizard if user adds many images to the listing
2017-05-17 14:10:51 +03:00
Mikko Koski
8af1d23f9f Make SVG backgroud image to scale to the whole page
- Add preserveAspectRatio none
2017-05-17 09:49:12 +03:00
Vesa Luusua
67f8bd92e4 format with prettier 2017-05-16 23:00:36 +02:00
Vesa Luusua
abdff325c8 Forms decide which of their child element take extra space. 2017-05-16 22:53:51 +02:00
Vesa Luusua
b3d63162d9 actual panels let their form grow 2017-05-16 22:52:42 +02:00
Vesa Luusua
90f6b47f3b wizard panels grow with the screen 2017-05-16 22:48:10 +02:00
Boyan Tabakov
226572709c Change to 3:2 image sizes 2017-05-16 16:18:33 +03:00
Mikko Koski
f00f8e8335 iOS fixes
- Remove default border radius from input elements
- Textarea should inherit the font
2017-05-16 15:10:50 +03:00
Vesa Luusua
fcb94b0327 Merge pull request #161 from sharetribe/new-listing-payout-details
Payout details in the new listing wizard
2017-05-16 13:27:03 +03:00
Vesa Luusua
64303b37e7 Fetch in progress handling for payout form 2017-05-16 13:22:36 +03:00
Vesa Luusua
1e53ce5c64 Remove 'Booking period:' label and add margin between date inputs and booking info 2017-05-16 00:22:25 +03:00
Vesa Luusua
a415b96e70 ListingPage 'per night' text 2017-05-16 00:17:21 +03:00
Vesa Luusua
3a9ab85a1f ListingCard clickable 2017-05-16 00:04:58 +03:00
Vesa Luusua
bdfb9d73c8 Prettier formatting 2017-05-15 23:58:56 +03:00
Vesa Luusua
c6a601d160 SaleDetailsPanel 'you accepted/rejected/delivered on' 2017-05-15 23:58:00 +03:00
Vesa Luusua
b9d407e32f Field for building number (overloading address field with that data)
Using address as field name instead of location
2017-05-15 18:01:56 +03:00
Kimmo Puputti
10ad7a02c8 Create Stripe account will full details 2017-05-15 16:54:30 +03:00
Kimmo Puputti
4128195502 Wizard styles 2017-05-15 16:49:33 +03:00
Olli Vanhapiha
691067493d Order and Sale details page to support delivered state 2017-05-15 15:55:51 +03:00
Kimmo Puputti
8f96c869c8 Toggle payout details modal when submitting 2017-05-15 12:51:34 +03:00
Kimmo Puputti
62409c3f48 Provide togglePageClassNames 2017-05-15 12:51:06 +03:00
Kimmo Puputti
b5c03f572d Pass currentUser instead of stripeConnected flag 2017-05-15 10:55:52 +03:00
Kimmo Puputti
36bc69a45b Remove old Stripe payout info fields 2017-05-15 10:43:13 +03:00
Kimmo Puputti
ee1cdd859c Change StripeBankAccountToken styles
- Display routing number and account number on top of each other
 - Use ValidationError to show error messages
2017-05-15 09:52:20 +03:00
Kimmo Puputti
f599e0f299 Change Stripe country config format 2017-05-15 09:47:18 +03:00
Kimmo Puputti
dde84cb3be Use Select component in BirthdayInput 2017-05-15 09:47:18 +03:00
Kimmo Puputti
34b6873e18 Add Select component 2017-05-15 09:47:18 +03:00
Vesa Luusua
aa538a2eae Add autoFocus to wizard input fields 2017-05-12 17:10:30 +03:00
Vesa Luusua
abd11255d0 File input is taking thumbnail's form factor in current MVP design 2017-05-12 16:37:10 +03:00
Vesa Luusua
587a06e3af Thumbnails are taking full width and 5:2 aspect ratio on mobile 2017-05-12 16:37:09 +03:00
Vesa Luusua
de487d9cff Use splitted edit-listing-form in wizard and pass needed functions from EditListingPage 2017-05-12 16:15:41 +03:00
Vesa Luusua
73d98b5689 EditListingPhotosPanel and form within 2017-05-12 16:09:32 +03:00