Commit graph

809 commits

Author SHA1 Message Date
Kimmo Puputti
cc40a76c69 Temporarily remove using Input since the ref setting fails 2017-03-24 12:10:00 +02:00
Mikko Koski
69f342443f Merge pull request #91 from sharetribe/input-component
Add Input component
2017-03-24 11:30:14 +02:00
Mikko Koski
4ec267852e Don't use Input component for file inputs 2017-03-24 11:27:32 +02:00
Mikko Koski
d9ec1b880f Update snapshots 2017-03-24 10:59:59 +02:00
Mikko Koski
4c7c1ceeac Add Input component 2017-03-24 10:59:50 +02:00
Kimmo Puputti
27dfb47ea2 Add missing props to example 2017-03-24 10:41:09 +02:00
Kimmo Puputti
f37d5e5d38 Move fakeIntl to test-data to avoid bundling test deps 2017-03-24 10:41:09 +02:00
Kimmo Puputti
fa433264f5 Improve place selection
- Auto-select only when a selection is not started (place id not
   stored)
 - Select place when pressing tab
2017-03-24 10:04:37 +02:00
Kimmo Puputti
eb28f91f02 Don't try to select place in blur event
The blur event is triggered before the click event to the predictions
list, overriding whatever the user selects.
2017-03-24 10:04:37 +02:00
Kimmo Puputti
a501cbde9a Document why predictions hover checking is needed 2017-03-24 10:04:37 +02:00
Kimmo Puputti
748e772173 Remove native autocomplete 2017-03-24 10:04:37 +02:00
Mikko Koski
08f49e6a1d Button fine tuning 2017-03-24 09:59:34 +02:00
Mikko Koski
0509e5f4b7 Merge pull request #86 from sharetribe/mobile-frame-improvements
Mobile frame improvements
2017-03-24 09:58:16 +02:00
Vesa Luusua
a31545ad4c Show price on ListingPage and ListingCards 2017-03-23 17:11:36 +02:00
Mikko Koski
b060986c8a Fix the issue with panels (position: fixed) to take the whole screen 2017-03-23 16:17:43 +02:00
Mikko Koski
6280d2da79 Move MobileFrame to app.js to prevent multiple instances 2017-03-23 16:17:43 +02:00
Mikko Koski
dd67263eb9 Update snapshots 2017-03-23 15:56:35 +02:00
Mikko Koski
7d2fade1aa Clean up and simplify the Button comment according to review comments 2017-03-23 15:56:35 +02:00
Mikko Koski
a1cfb494bd Update snapshots 2017-03-23 15:56:35 +02:00
Mikko Koski
ff0c76dd5b Make a Button component 2017-03-23 15:56:35 +02:00
Mikko Koski
7f20293d70 Landing page styling 2017-03-23 15:55:15 +02:00
Mikko Koski
d6543c95f9 Add SVG background to landing page 2017-03-23 15:55:15 +02:00
Vesa Luusua
2b666f3657 Rename usePoint (real meaning useComma) and refactoring 2017-03-23 15:32:41 +02:00
Vesa Luusua
ae7b999774 Rename usePoint (real meaning useComma) and refactoring 2017-03-23 15:32:41 +02:00
Vesa Luusua
9344bdc00d Pass subUnitDivisor through config to components 2017-03-23 15:32:41 +02:00
Vesa Luusua
15ba34db45 Fix imageId type (it needs to be a uuid)
import SDK types from sdkLoader
2017-03-23 15:32:40 +02:00
Vesa Luusua
0de0ff723d CurrencyInput component and value formatting as strings 2017-03-23 15:32:40 +02:00
Kimmo Puputti
6ed7a6e5a0 Format with Prettier 2017-03-23 12:53:56 +02:00
Mikko Koski
67fe062a3d Merge pull request #83 from sharetribe/mobile-frame
Add mobile frame
2017-03-23 12:32:49 +02:00
Kimmo Puputti
2dbe2a7ed1 Merge pull request #77 from sharetribe/landing-page-form
Proper location search from landing page
2017-03-23 11:26:20 +02:00
Mikko Koski
930bce264c Change width vw -> width % so that stuff keeps inside the frame 2017-03-23 11:13:15 +02:00
Mikko Koski
acd051ff88 Add MobileFrame component 2017-03-23 11:13:15 +02:00
Kimmo Puputti
a8990f0105 Use classnames package 2017-03-23 10:42:37 +02:00
Mikko Koski
7960802332 Remove page title 2017-03-22 17:25:57 +02:00
Kimmo Puputti
a224626fcf Make a proper location search from landing page 2017-03-22 14:46:55 +02:00
Kimmo Puputti
48095242ba Add name to the location autocomplete input for better snapshots 2017-03-21 10:49:59 +02:00
Kimmo Puputti
42b6fcfd96 Improve LocationAutocompleteInput
- call onFocus/onBlur properly to set the `touched` flag correct for
   validation messages
 - Attempt to select a location if the user moves to another field
   within a form
 - Remove special handling for ESC
2017-03-20 14:52:41 +02:00
Kimmo Puputti
d27d7eea8b Define map dimensions in the wrapper, not within the map with props 2017-03-17 15:04:42 +02:00
Kimmo Puputti
295420868f Show address marker on map 2017-03-17 14:32:06 +02:00
Kimmo Puputti
03df7fe9b9 Add Map component 2017-03-17 14:32:06 +02:00
Kimmo Puputti
ef5fca7f56 Remove prediction margins 2017-03-17 10:13:32 +02:00
Kimmo Puputti
3247379725 Add LocationAutocompleteInput to the component index file 2017-03-17 10:13:32 +02:00
Kimmo Puputti
cfab06d813 Don't print trailing comma in fn args since it breaks in Node 2017-03-15 15:54:49 +02:00
Vesa Luusua
9b0b8245b2 Upgrade outputs different formatting and different branches probably had diffent versions 2017-03-15 14:19:18 +02:00
Vesa Luusua
6ab901f656 Add images to SearchPage results 2017-03-14 23:04:42 +02:00
Vesa Luusua
ac4a46b4fb Refactor readImage handling (setting it to state reduces reads between rerendering) 2017-03-14 14:34:48 +02:00
Vesa Luusua
3ff30f4720 Use SortableContainer 2017-03-14 13:39:07 +02:00
Vesa Luusua
c0e3113ce6 Separate images container to a component 2017-03-14 13:39:01 +02:00
Vesa Luusua
f7aa288c19 Merge pull request #64 from sharetribe/add-images
Add images
2017-03-10 11:52:04 +02:00
Vesa Luusua
5e00fa7cc7 Refactor Promised 2017-03-10 11:29:59 +02:00