Commit graph

1673 commits

Author SHA1 Message Date
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
Vesa Luusua
0238dd38f8 Add images on EditListingForm (form does not yet handle image state) 2017-03-10 11:29:51 +02:00
Kimmo Puputti
e15614877e LocationAutocompleteInput 2017-03-10 09:01:18 +02:00
Kimmo Puputti
b70bda169e Show separate auth error messages 2017-03-07 11:03:45 +02:00
Kimmo Puputti
5cb3146e85 Remove default messages from translations 2017-03-07 10:37:07 +02:00
Vesa Luusua
74cbd822ea Simple ListingCard example to styleguide 2017-03-01 13:32:27 +02:00
Vesa Luusua
e9ba0ac855 Test and styleguide related mock data separated from test-helpers 2017-03-01 13:32:21 +02:00
Vesa Luusua
580b58dd3b NamedLink: simple example to test styleguide 2017-03-01 13:32:16 +02:00
Kimmo Puputti
1cfbd46913 Handle missing attributes for listing or its author 2017-02-23 13:55:29 +02:00
Kimmo Puputti
081e56c99f Use proper listing and user shapes in card components 2017-02-23 13:39:17 +02:00
Kimmo Puputti
78cfe3d75f Add push prop to NamedRedirect to pass on to Redirect 2017-02-16 17:16:12 +02:00
Kimmo Puputti
4045146364 Add support for activeClassName for the NamedLink component 2017-02-16 17:15:27 +02:00
Kimmo Puputti
28da28cf05 Use withFlattenedRoutes HOC instead of context 2017-02-16 11:45:23 +02:00
Kimmo Puputti
4020c36215 Use withRouter helper instead of context 2017-02-15 16:36:54 +02:00
Kimmo Puputti
1e9e72a841 Provide flattened routes in the context 2017-02-15 16:18:01 +02:00
Kimmo Puputti
e656b4098a Use flattened routes in route helpers 2017-02-15 15:47:56 +02:00
Kimmo Puputti
d56a00a316 Move route util functions to a separate module 2017-02-15 15:31:39 +02:00
Kimmo Puputti
32bff31672 Remove unneeded RouterProvider component 2017-02-15 14:04:22 +02:00
Kimmo Puputti
ea2c7b78e6 Rename pattern to path as in react-router Route props 2017-02-15 13:54:37 +02:00
Kimmo Puputti
b9cdb17576 Fix id type in test 2017-02-15 10:51:01 +02:00
Kimmo Puputti
d41eb61be8 Merge pull request #42 from sharetribe/update-react-router2
Update React Router
2017-02-15 10:41:20 +02:00
Kimmo Puputti
763db75553 Listen to history changes only when possible 2017-02-14 14:19:14 +02:00
Kimmo Puputti
4a7269e71b Update snapshots with Link and Redirect prop changes 2017-02-14 10:47:33 +02:00
Kimmo Puputti
b426af7b95 Fix changed Link and Redirect props 2017-02-14 10:47:33 +02:00
Kimmo Puputti
be2fcdf793 Import from react-router-dom instead of react-router 2017-02-14 09:43:37 +02:00
Mikko Koski
f9724f3c8e Integration SDK: Search listings from SDK and API 2017-02-14 09:42:44 +02:00
Kimmo Puputti
8f92ec2855 Use render helper in tests 2017-02-07 16:14:28 +02:00
Kimmo Puputti
2b0238f151 Update snapshots 2017-02-07 16:05:02 +02:00
Kimmo Puputti
f142f31291 Separate shallow and deep render for snapshot tests 2017-02-07 16:00:40 +02:00
Kimmo Puputti
fc568292a9 Extract snapshot rendering into a helper function 2017-02-07 16:00:24 +02:00
Kimmo Puputti
519ec102af User one auth in-progress prop and one error prop in store 2017-02-07 15:47:36 +02:00
Kimmo Puputti
dfbe65fe47 Mock login and show possible errors 2017-02-07 15:44:57 +02:00
Kimmo Puputti
50e22d0d1e Format JS with Prettier 0.13.1 2017-01-30 10:57:27 +02:00
Kimmo Puputti
680c10c93f Add OrderPage contents 2017-01-26 21:34:38 +02:00
Kimmo Puputti
76e94101fb Extract BookingInfo component from CheckoutPage 2017-01-26 19:28:52 +02:00
Vesa Luusua
39aa660832 Add wireframes for SearchPage 2017-01-26 17:17:57 +02:00
Vesa Luusua
1fdccf7f71 ListingCard for SearchResultsPanel and ListingCardSmall for MapPanel 2017-01-26 17:16:57 +02:00