Commit graph

2647 commits

Author SHA1 Message Date
Hannu Lyytikainen
3dec9983d4 Add a prop type for filter config 2018-04-18 12:14:38 +03:00
Hannu Lyytikainen
ae2db17152 Update filters configuration and validation
Changes the way filters are defined and how the filter params are
validated.
2018-04-18 11:38:46 +03:00
Kimmo Puputti
946cf7f53c Use Image variants instead of sizes 2018-04-16 12:28:43 +03:00
Hannu Lyytikainen
649e073773 Add filter param helpers to filters panel 2018-04-13 15:47:25 +03:00
Hannu Lyytikainen
58a828a05a Fix resolving number of selected secondary filters 2018-04-13 15:09:54 +03:00
Mikko Koski
f7cc195ecc
Merge pull request #806 from sharetribe/transit-verbose
Transit verbose mode
2018-04-13 14:05:17 +03:00
Hannu Lyytikainen
2ba05aa8f1 Change filter param validation checks
Prefer validURLParamsForExtendedData over multiple calls to validURLParamForExtendedData when validating search filter query parameters.
2018-04-13 10:31:07 +03:00
Hannu Lyytikainen
fc38342f75 Remove redundant function params 2018-04-13 10:14:52 +03:00
Kimmo Puputti
9232b7e059 Fix double content from internal rebase conflict 2018-04-13 09:27:30 +03:00
Mikko Koski
759844112a Use Transit Verbose mode in development 2018-04-12 16:28:16 +03:00
Kimmo Puputti
d933c099e5 Add README.md docs for EditListingPage 2018-04-12 15:30:07 +03:00
Kimmo Puputti
7fbbd727d8 Add README.md for ListingPage 2018-04-12 13:33:34 +03:00
Kimmo Puputti
04db9849af Add README.md for StaticPage 2018-04-12 13:33:23 +03:00
Kimmo Puputti
0b2dcd7846 Format docs 2018-04-12 13:33:12 +03:00
Kimmo Puputti
70cd0c4cf7
Merge pull request #803 from sharetribe/css-property-globalisation
Prepare CSS custom properties for globalisation
2018-04-11 16:23:10 +03:00
Kimmo Puputti
f5fb478166 Add comment about CSS custom properties being global 2018-04-11 15:59:22 +03:00
Kimmo Puputti
df188aa3ea Change search map controls for visibility
- Move zoom controls to top left
- Hide street view button from bottom right
2018-04-11 14:56:07 +03:00
Kimmo Puputti
aa4b3e7fcc Prefix local CSS properties with component name
Since the CSS custom properties are defined in the :root, they will be
global when the variables are preserved in the output bundle. This
changes them to something globally unique.
2018-04-11 14:29:42 +03:00
Hannu Lyytikainen
87ca9e1df3 Remove secondary filters param 2018-04-10 18:29:03 +03:00
Hannu Lyytikainen
e36c99dc6b Remove unused secondary filter params 2018-04-10 18:02:05 +03:00
Kimmo Puputti
7d0e64c078
Merge pull request #800 from sharetribe/refactor-listing-page-contents
Split ListingPage into smaller sections
2018-04-10 16:43:36 +03:00
Kimmo Puputti
4d76e97c6a Cleanup listing page internals based on review comments 2018-04-10 16:35:05 +03:00
Kimmo Puputti
87244c866b Make custom config stable in tests 2018-04-10 15:52:30 +03:00
Kimmo Puputti
80edfd843f Extract avatar section into separate file 2018-04-10 15:45:32 +03:00
Kimmo Puputti
09adef6665 Unify class name usage 2018-04-10 15:40:27 +03:00
Kimmo Puputti
2c24b1a02a Extract booking section into separate file 2018-04-10 15:40:13 +03:00
Kimmo Puputti
ee8f25c162 Extract host section into separate file 2018-04-10 15:19:54 +03:00
Kimmo Puputti
79f599e9a8 Extract reviews section into separate file 2018-04-10 15:19:54 +03:00
Kimmo Puputti
78da3969d8 Extract features section into separate file 2018-04-10 15:19:54 +03:00
Kimmo Puputti
c0137ed602 Extract description section into a separate file 2018-04-10 15:19:54 +03:00
Kimmo Puputti
6f844e9517 Extract heading section into a separate file 2018-04-10 15:19:54 +03:00
Hannu Lyytikäinen
75b75fd0bb
Merge pull request #801 from sharetribe/fix-mobile-filters
Fix mobile filters
2018-04-10 14:50:55 +03:00
Hannu Lyytikainen
568c1d772f Remove redundant default props 2018-04-10 14:48:26 +03:00
Kimmo Puputti
f6507657d4 Extract images section into a separate file 2018-04-10 13:57:49 +03:00
Hannu Lyytikainen
2ca5b73d2c Include secondaryFilters in mobile filter view 2018-04-10 13:57:04 +03:00
Hannu Lyytikainen
dfd0a04db3 Fix open and close callbacks for mobile filter modal 2018-04-10 13:55:59 +03:00
Kimmo Puputti
df9a2b9a39
Merge pull request #799 from sharetribe/refactor-breakdown-estimation
Refactor breakdown estimation
2018-04-10 13:41:04 +03:00
Kimmo Puputti
ec61d0bbe2 Fix typos in docs 2018-04-10 13:37:58 +03:00
Kimmo Puputti
c6ed7b3492 Make breakdown estimation into a separate component 2018-04-10 10:40:48 +03:00
Hannu Lyytikäinen
ee966002d7
Merge pull request #798 from sharetribe/checkbox-validation-message
Fix validation for FieldCheckbox and FieldGroupCheckbox
2018-04-09 16:20:32 +03:00
Hannu Lyytikainen
8cbe50aed4 Improve checkbox value resolveing
Add better props validation and value resolving for FieldCheckbox.
2018-04-09 15:57:26 +03:00
Kimmo Puputti
322e65ef41 Move breakdown estimation to a separate file 2018-04-09 15:34:29 +03:00
Hannu Lyytikainen
6fb43f4aaf Fix FieldGroupCheckbox validation
Fix validation error messages for FieldGroupCheckbox.
2018-04-09 10:46:13 +03:00
Hannu Lyytikainen
16cb103ad5 Refactor FieldCheckbox
Wrap the whole component in redux-form Field instead of just using Field
for the actual input element.
2018-04-09 10:27:04 +03:00
Vesa Luusua
397b9be4b1 Fix test snapshot 2018-04-06 12:08:07 +03:00
Vesa Luusua
27cffb31da Fix back-to-checkoutpage-from-transactionpage bug 2018-04-06 12:08:07 +03:00
Vesa Luusua
148df2ba97 Review changes 2018-04-06 11:55:02 +03:00
Vesa Luusua
465c8eb857 Fix tests 2018-04-06 11:55:02 +03:00
Vesa Luusua
975b7adcfc Add README.md to SearchPage 2018-04-06 11:55:02 +03:00
Vesa Luusua
922b38a37d Move schema building to helper function. 2018-04-06 11:55:01 +03:00