Skip to content

Commit

Permalink
merge release
Browse files Browse the repository at this point in the history
  • Loading branch information
patzick committed Jun 28, 2019
2 parents 1f08de4 + 0c52471 commit bb45ea1
Show file tree
Hide file tree
Showing 14 changed files with 69 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Shipping address is saved as default when not logged in user chooses to create account during checkout - @iwonapiotrowska (#2636)
- Can set transition style for Modal content - @grimasod (#3146)

## [1.10.0-rc.2] - UNRELEASED

### Fixed
- Fixed wrong meta description attribute by page overwrite - @przspa (#3091)

## [1.10.0-rc.1] - 2019.06.19

### Added
Expand Down
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,53 @@ Vue Storefront is a Community effort brought to You by our great Core Team and s
</a>
</td>
<td align="center" valign="middle">
<a href="https://www.novusweb.com/">
<img
src="https://divante.co/partners/Vue-Storefront/blue_novusweb.png"
alt="Novusweb"
height="30"
>
</a>
</td>
<td align="center" valign="middle">
<a href="www.trellis.co">
<img
src="https://divante.co/partners/Vue-Storefront/trellis.png"
alt="Trellis"
height="30"
>
</a>
</td>
</tr>
<tr>
<td align="center" valign="middle">
<a href="https://ittweb.net/it?utm_source=referral&utm_medium=vsf&utm_campaign=partners">
<img
src="https://divante.co/partners/Vue-Storefront/ITTweb.png"
alt="ITT Web"
height="40"
>
</a>
</td>
<td align="center" valign="middle">
<a href="https://www.yireo.com/">
<img
src="https://divante.co/partners/Vue-Storefront/yireo-logo-trans-520x520.png"
alt="Yireo"
height="40"
>
</a>
</td>
<td align="center" valign="middle">
<a href="">
<img
src=""
alt=""
height="40"
>
</a>
</td>
<td align="center" valign="middle">
<a href="">
<img
src=""
Expand Down
2 changes: 1 addition & 1 deletion core/pages/Category.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export default {
}
],
title: htmlDecode(this.category.meta_title || this.categoryName),
meta: this.category.meta_description ? [{ vmid: 'description', description: htmlDecode(this.category.meta_description) }] : []
meta: this.category.meta_description ? [{ vmid: 'description', name: 'description', content: htmlDecode(this.category.meta_description) }] : []
}
}
}
2 changes: 1 addition & 1 deletion core/pages/Checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export default {
metaInfo () {
return {
title: this.$route.meta.title || i18n.t('Checkout'),
meta: this.$route.meta.description ? [{ vmid: 'description', description: this.$route.meta.description }] : []
meta: this.$route.meta.description ? [{ vmid: 'description', name: 'description', content: this.$route.meta.description }] : []
}
},
asyncData ({ store, route, context }) { // this is for SSR purposes to prefetch data
Expand Down
2 changes: 1 addition & 1 deletion core/pages/CmsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default {
metaInfo () {
return {
title: htmlDecode(this.pageTitle || this.$route.meta.title),
meta: this.$route.meta.description ? [{ vmid: 'description', description: htmlDecode(this.$route.meta.description) }] : []
meta: this.$route.meta.description ? [{ vmid: 'description', name: 'description', content: htmlDecode(this.$route.meta.description) }] : []
}
}
}
2 changes: 1 addition & 1 deletion core/pages/Error.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
metaInfo () {
return {
title: this.$route.meta.title || i18n.t('Internal Server Error 500'),
meta: this.$route.meta.description ? [{ vmid: 'description', description: this.$route.meta.description }] : []
meta: this.$route.meta.description ? [{ vmid: 'description', name: 'description', content: this.$route.meta.description }] : []
}
}
}
2 changes: 1 addition & 1 deletion core/pages/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
metaInfo () {
return {
title: this.$route.meta.title || i18n.t('Home Page'),
meta: this.$route.meta.description ? [{ vmid: 'description', description: this.$route.meta.description }] : []
meta: this.$route.meta.description ? [{ vmid: 'description', name: 'description', content: this.$route.meta.description }] : []
}
}
}
2 changes: 1 addition & 1 deletion core/pages/MyAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
metaInfo () {
return {
title: this.$route.meta.title || i18n.t('My Account'),
meta: this.$route.meta.description ? [{ vmid: 'description', description: this.$route.meta.description }] : []
meta: this.$route.meta.description ? [{ vmid: 'description', name: 'description', content: this.$route.meta.description }] : []
}
},
asyncData ({ store, route, context }) { // this is for SSR purposes to prefetch data
Expand Down
2 changes: 1 addition & 1 deletion core/pages/PageNotFound.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default {
metaInfo () {
return {
title: this.$route.meta.title || i18n.t('404 Page Not Found'),
meta: this.$route.meta.description ? [{ vmid: 'description', description: this.$route.meta.description }] : []
meta: this.$route.meta.description ? [{ vmid: 'description', name: 'description', content: this.$route.meta.description }] : []
}
}
}
2 changes: 1 addition & 1 deletion core/pages/Product.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export default {
}
],
title: htmlDecode(this.product.meta_title || this.productName),
meta: this.product.meta_description ? [{ vmid: 'description', description: htmlDecode(this.product.meta_description) }] : []
meta: this.product.meta_description ? [{ vmid: 'description', name: 'description', content: htmlDecode(this.product.meta_description) }] : []
}
}
}
6 changes: 5 additions & 1 deletion docs/guide/basics/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ With all `product/list` Vuex action calls the `url/registerMapping` action is be

## Custom URLs for CMS pages and other content types

You can use the Url Dispatcher feature with all content types. The only thing You need to change is to customize the `url/mappingFallback` Vuex action to properly query other content sources.
You can use the Url Dispatcher feature with all content types. The only thing You need to change is to customize the `url/mappingFallback` Vuex action to properly query other content sources.

## Modules

* [vsf-mapping-fallback](https://github.com/kodbruket/vsf-mapping-fallback) simplifies the process of adding URL mappings
4 changes: 2 additions & 2 deletions docs/guide/core-themes/translations.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For all helper methods and directives, along with available parameters, please d

## Working with translations

Translations are provided in `i18n/resource/i18n/en-US.csv` file and can be extended / overridden in `theme/resource/i18n/en-US.csv` accordingly.
Translations are provided in `core/i18n/resource/i18n/en-US.csv` file and can be extended / overridden in `src/themes/{themename}/resource/i18n/en-US.csv` accordingly.

Here's an example of `en-US.csv` for `en-US` locale:

Expand All @@ -45,7 +45,7 @@ Here's an example of `en-US.csv` for `en-US` locale:
"Vue Storefront Logo", "Vue Storefront Logo"
```

when you create the `en-US.csv` file within your `theme/resource/i18n/` folder and override some messages like:
when you create the `en-US.csv` file within your `src/themes/{themename}/resource/i18n/` folder and override some messages like:

```csv
"customMessage","You can define or override translation messages here."
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/core-themes/ui-store.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Working with UI Store (Interface state)

We are using Vuex to store the application interface state. The [ui-store file](https://github.com/DivanteLtd/vue-storefront/blob/master/core/store/modules/ui-store/index.ts) contains the information about the state of different pieces of UI, such as overlay visibility, wishlist visibility, etc. Of course, you are not forced to make use of it in your theme, but keep in mind that many core components are using the UI store.
We are using Vuex to store the application interface state. The [store file](https://github.com/DivanteLtd/vue-storefront/blob/master/core/store/index.ts) contains the information about the state of different pieces of UI, such as overlay visibility, wishlist visibility, etc. Of course, you are not forced to make use of it in your theme, but keep in mind that many core components are using the UI store.

## State object

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</ul>
<ul
v-if="myAccountLinks && !path.length"
class="sidebar-submenu fixed w-100 p0 bg-cl-primary"
class="sidebar-submenu absolute w-100 p0 bg-cl-primary"
:style="styles"
>
<li
Expand Down

0 comments on commit bb45ea1

Please sign in to comment.