Commit graph

2600 commits

Author SHA1 Message Date
Hannu Lyytikainen
8469611aa4 Fix mobile baseline alignment on ProfilePage 2017-12-18 17:25:43 +02:00
Hannu Lyytikainen
7b2ad119de User initialState for resetting profile page data 2017-12-18 16:51:28 +02:00
Hannu Lyytikainen
984f38aba5 Fix two typos 2017-12-18 16:51:28 +02:00
Hannu Lyytikainen
b8499c5b90 Add hover styles for focus in tab content
This enables navigating the tabs with the tab key.
2017-12-18 16:51:28 +02:00
Hannu Lyytikainen
934d8de733 Add author include to listing query on ProfilePage
This fixes missing host display name.
2017-12-15 17:52:31 +02:00
Hannu Lyytikainen
c143af22f2 Move button styles to component css file 2017-12-15 17:48:16 +02:00
Hannu Lyytikainen
f392218526 Clear ProfilePage state on loadData 2017-12-15 17:46:41 +02:00
Hannu Lyytikainen
9b603d6899 Change viewport based layout handling 2017-12-15 17:46:41 +02:00
Hannu Lyytikainen
2376646c7d Update review tab state field name 2017-12-15 17:46:41 +02:00
Hannu Lyytikainen
4395e9ee6a Break TabNavHorizontal into two components 2017-12-15 17:46:35 +02:00
Hannu Lyytikainen
c0a8190a40 Fix no op function 2017-12-14 17:08:32 +02:00
Hannu Lyytikainen
893427a78e Add reviews to ProfilePage 2017-12-13 22:01:13 +02:00
Hannu Lyytikainen
a7125173c5 Add review fetching for profile page duck 2017-12-12 16:48:44 +02:00
Hannu Lyytikainen
b41c2f43c1 Add type parameter for TabNavHorizontal
The type indicates if tabs are links or buttons.
2017-12-12 15:50:33 +02:00
Hannu Lyytikainen
1a800e5fbf Override Chrome's button styles 2017-12-12 15:10:03 +02:00
Hannu Lyytikainen
22e4da0b65 Add TabNavHorizontal component to styleguide 2017-12-12 11:34:41 +02:00
Hannu Lyytikäinen
13e7a9b199
Merge pull request #585 from sharetribe/reviews-in-listing-page
Show reviews on listing page
2017-12-12 11:29:37 +02:00
Hannu Lyytikainen
15d5e11f86 Show error for failed review fetching 2017-12-12 11:22:20 +02:00
Hannu Lyytikainen
a5f232ea51 User flex-basis instead of max-width 2017-12-12 11:21:04 +02:00
Hannu Lyytikainen
ac9094fd5a Add Reviews component to ListingPage 2017-12-12 11:21:04 +02:00
Hannu Lyytikainen
ed49548e1d Add Reviews component 2017-12-12 11:21:04 +02:00
Hannu Lyytikainen
b3e123a544 Change ReviewRating containing element into a span
This way the component can also be used for inline purposes.
2017-12-12 11:21:04 +02:00
Hannu Lyytikainen
828b7223f3 Add reviews fetching 2017-12-12 11:21:04 +02:00
Vesa Luusua
9750a4ff56
Merge pull request #591 from sharetribe/modal-fixes
Modal fixes
2017-12-11 16:41:09 +02:00
Vesa Luusua
21505aea88 backgroundImage and modals are two different things 2017-12-11 16:33:43 +02:00
Vesa Luusua
5be7a989a4 Maintain Page's scroll position when scrolling is disabled. 2017-12-11 16:33:38 +02:00
Vesa Luusua
2f779bafcf Don't let layout's main content shrink when scrolling is disabled 2017-12-11 16:28:43 +02:00
Kimmo Puputti
9d32898741
Merge pull request #592 from sharetribe/image-dimensions-in-file-names
Use image dimensions in file names for easier customisation
2017-12-11 16:03:13 +02:00
Kimmo Puputti
41a371e0c7 Use image dimensions in file names for easier customisation 2017-12-11 15:56:01 +02:00
Kimmo Puputti
a911872d43
Merge pull request #590 from sharetribe/improve-format-setup
Improve format setup
2017-12-11 15:39:01 +02:00
Kimmo Puputti
2983b4ecb1 Don't format md files by default
Since markdown files can be easily edited in the Github UI by non-tech
people, we shouldn't fail the CI when they are not formatted with
Prettier.

We still want to format them "manually" form time to time, so a new
command `yarn run format-docs` is added.
2017-12-11 15:28:56 +02:00
Kimmo Puputti
56c23a107b Ignore static content in formatting 2017-12-11 11:51:16 +02:00
Kimmo Puputti
50de197de2 Add .editorconfig file and make Prettier use it 2017-12-11 11:27:24 +02:00
Kimmo Puputti
1f733e3e75 Format markdown files 2017-12-11 11:03:08 +02:00
Kimmo Puputti
9813c974f9 Link to the updated create-react-app fork docs 2017-12-11 11:01:45 +02:00
Kimmo Puputti
77360a7132 Add formatting to markdown files 2017-12-11 10:59:04 +02:00
Kimmo Puputti
eda027065c Format with latest Prettier 2017-12-11 10:51:30 +02:00
Kimmo Puputti
10aa911517 Update packages 2017-12-11 10:50:57 +02:00
Janne Koivistoinen
06630d2654
Merge pull request #584 from sharetribe/review-modal-dr
dr for review modal done
2017-12-08 16:55:34 +02:00
Janne Koivistoinen
9d189f98a1 star empty space 2017-12-08 16:49:40 +02:00
Janne Koivistoinen
d1f22e4c98 dr for review modal done 2017-12-08 16:49:40 +02:00
Janne Koivistoinen
470c93955a
Merge pull request #589 from sharetribe/text-area-fixes
fix textarea's bottom padding
2017-12-08 16:47:20 +02:00
Janne Koivistoinen
695618f536 fix textarea's bottom padding 2017-12-08 16:44:14 +02:00
Janne Koivistoinen
c91097fec3
Merge pull request #587 from sharetribe/ui-fixes
ui fixes, baselines, background image, sticky nav and close modal
2017-12-08 16:18:59 +02:00
Janne Koivistoinen
b5b9caa183 update tests 2017-12-08 15:59:37 +02:00
Kimmo Puputti
851f018b26
Change the original marker icon back 2017-12-08 11:09:24 +02:00
Kimmo Puputti
0967520b27
Test Github editor image upload 2017-12-08 11:07:36 +02:00
Vesa Luusua
1398f80c78
Merge pull request #588 from sharetribe/fix-activityfeed-pagination
Fetch messages fix (maximum page size is 100 on API)
2017-12-05 16:20:16 +02:00
Vesa Luusua
cf7497d820 Refetch first page if totalItems has changed between pagination calls. 2017-12-05 14:58:29 +02:00
Vesa Luusua
01eff1ef3e Fetch messages fix (maximum page size is 100 on API) 2017-12-05 14:58:28 +02:00