Commit graph

3297 commits

Author SHA1 Message Date
Kimmo Puputti
48095242ba Add name to the location autocomplete input for better snapshots 2017-03-21 10:49:59 +02:00
Kimmo Puputti
513acb8ea2 Remove SearchPage saga from the root saga 2017-03-21 10:47:26 +02:00
Kimmo Puputti
0e47e02add Use .js file suffix 2017-03-21 10:46:23 +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
a97e2739f9 Fix form field focus 2017-03-20 13:05:05 +02:00
Kimmo Puputti
5956a00539 Improve validation copy texts 2017-03-20 11:00:16 +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
21793ff5e8 Use type prop for Field with EnhancedField 2017-03-17 15:03:42 +02:00
Kimmo Puputti
7270cd30a5 Remove default border around select element 2017-03-17 15:03:16 +02:00
Kimmo Puputti
295420868f Show address marker on map 2017-03-17 14:32:06 +02:00
Kimmo Puputti
34d257e3ca Show listing location on a 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
60509c4663 Add location field to new listing form 2017-03-17 10:13:32 +02:00
Kimmo Puputti
3e0d211b3b Add translations for EditListingForm location field errors 2017-03-17 10:13:32 +02:00
Kimmo Puputti
50bd32a248 Add validator helpers for LocationAutocompleteInput 2017-03-17 10:13:32 +02:00
Kimmo Puputti
c5a983d309 Render listing location if it exists 2017-03-17 10:13:32 +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
Mikko Koski
c50dec0eb9 Implement sdkLoader to either require sdk package or use bundled sdk 2017-03-16 16:39:35 +02:00
Kimmo Puputti
e56034348d Remove fake SDK files 2017-03-15 16:00:55 +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
Kimmo Puputti
5a38f6c280 Call loadData of matched routes in the server 2017-03-15 15:51:40 +02:00
Kimmo Puputti
eee6cacff9 Fix route helpers 2017-03-15 15:51:40 +02:00
Vesa Luusua
9b0b8245b2 Upgrade outputs different formatting and different branches probably had diffent versions 2017-03-15 14:19:18 +02:00
Kimmo Puputti
7f3ec7bcd4 Merge pull request #68 from sharetribe/load-data
Data loading: phase 1 in the client
2017-03-15 10:41:28 +02:00
Kimmo Puputti
735adb21d5 Initial client side data loading for ListingPage 2017-03-15 10:37:57 +02:00
Vesa Luusua
6ab901f656 Add images to SearchPage results 2017-03-14 23:04:42 +02:00
Vesa Luusua
ad949f05ad Use rendershallow due to unsupported findDOMNode on react-test-renderer 2017-03-14 14:35:41 +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
4ebd5445b2 First run after prettier upgrade 2017-03-14 13:11:17 +02:00
Vesa Luusua
447943b1bf One image is required. Show validation msg. 2017-03-14 13:08:40 +02:00
Vesa Luusua
f97e9f5a89 Require authentication before creating or editing listing 2017-03-14 13:04:55 +02:00
Kimmo Puputti
e9c3dd284c Format JS with updated Prettier 2017-03-14 12:51:48 +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
Vesa Luusua
128f240c01 Add images to form data
and update snapshot
and refactor
2017-03-10 11:29:59 +02:00
Vesa Luusua
0238dd38f8 Add images on EditListingForm (form does not yet handle image state) 2017-03-10 11:29:51 +02:00
Kimmo Puputti
1bacdf87e7 Format with Prettier 2017-03-10 09:01:18 +02:00
Kimmo Puputti
e15614877e LocationAutocompleteInput 2017-03-10 09:01:18 +02:00
Kimmo Puputti
f137137ce9 Remove pointer cursor from button 2017-03-10 09:01:18 +02:00
Kimmo Puputti
c9fccf82cf Add utils for Google Maps API 2017-03-10 09:01:18 +02:00
Kimmo Puputti
c8a3917d37 Add place prop type helper 2017-03-10 09:01:18 +02:00
Vesa Luusua
5d0e32bcf9 fix: empty array as relationship broke denormalization 2017-03-09 23:15:04 +02:00
Vesa Luusua
e09ea4b837 EditListingForm: show validator errors 2017-03-08 18:59:17 +02:00
Vesa Luusua
0a003f5358 EditListingPage and duck and routing 2017-03-08 14:52:54 +02:00
Vesa Luusua
429f248209 EditListingForm 2017-03-08 14:52:48 +02:00
Vesa Luusua
a75661a12e Refactoring: run prettier 2017-03-08 00:28:19 +02:00
Vesa Luusua
9865fb5762 Handle show listings error. (Needs refactoring after title is extracted from PageLayout) 2017-03-08 00:25:43 +02:00