Skip to content

Commit f66bc52

Browse files
authored
Merge pull request #670 from PrestaShop/develop
Release v1.0.1
2 parents f80683a + 1da8227 commit f66bc52

File tree

155 files changed

+27507
-53992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+27507
-53992
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup node env
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 20
2020

2121
- name: Install dependencies
2222
run: npm ci
@@ -52,7 +52,7 @@ jobs:
5252
rm webpack.config.js
5353
5454
- name: Create & Upload artifact
55-
uses: actions/upload-artifact@v1
55+
uses: actions/upload-artifact@v4
5656
with:
5757
name: ${{ github.event.repository.name }}
5858
path: ./
@@ -62,7 +62,7 @@ jobs:
6262
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
6363
steps:
6464
- name: Download artifact
65-
uses: actions/download-artifact@v1
65+
uses: actions/download-artifact@v4
6666
with:
6767
name: ${{ github.event.repository.name }}
6868

@@ -96,4 +96,4 @@ jobs:
9696
upload_url: ${{ steps.release_info.outputs.upload_url }}
9797
asset_path: ./${{ github.event.repository.name }}/${{ github.event.repository.name }}.zip
9898
asset_name: ${{ github.event.repository.name }}.zip
99-
asset_content_type: application/zip
99+
asset_content_type: application/zip

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
node: [16]
15+
node: [20]
1616

1717
steps:
1818
- name: Checkout

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Setup Node
1111
uses: actions/setup-node@v3
1212
with:
13-
node-version: 16
13+
node-version: 20
1414

1515
- name: Lint scss
1616
run: npm ci && npm run scss-lint
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Node
2424
uses: actions/setup-node@v3
2525
with:
26-
node-version: 16
26+
node-version: 20
2727

2828
- name: Lint js
2929
run: touch ./webpack/.env && npm ci && npm run lint

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: Run unit tests
77
strategy:
88
matrix:
9-
js: [ '16' ]
9+
js: [ '20' ]
1010
steps:
1111
- name: Setup Node
1212
uses: actions/setup-node@v3

.github/workflows/typecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Setup Node
1111
uses: actions/setup-node@v3
1212
with:
13-
node-version: 16
13+
node-version: 20
1414

1515
- name: Build and check types
1616
run: touch ./webpack/.env && npm ci && npm run build

.stylelintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
],
55
"customSyntax": "postcss-scss",
66
"rules": {
7+
"selector-id-pattern": null,
78
"selector-max-id": null,
89
"selector-max-class": null,
910
"selector-max-type": null,
1011
"selector-max-compound-selectors": null,
1112
"selector-no-qualifying-type": null,
1213
"selector-max-combinators": null,
1314
"selector-class-pattern": null,
14-
"selector-descendant-combinator-no-non-space": null,
1515
"function-disallowed-list": null,
1616
"scss/dollar-variable-default": null,
1717
"property-disallowed-list": null

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is a PrestaShop's theme we are working on. Please, if you work on this them
99

1010
## How to build assets
1111

12-
Same as the PrestaShop project, you need at least **NodeJS 16.x** and **NPM 8** in order to build the project.
12+
Same as the PrestaShop project, you need at least **NodeJS 20.x** and **NPM 8** in order to build the project.
1313

1414
First you need to install every node module:
1515

composer.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "prestashop/hummingbird",
3+
"description": "Hummingbird theme for develop PrestaShop version",
4+
"type": "prestashop-theme",
5+
"license": "AFL-3.0",
6+
"authors": [
7+
{
8+
"name": "PrestaShop SA",
9+
"email": "contact@prestashop.com"
10+
},
11+
{
12+
"name": "PrestaShop Community",
13+
"homepage": "https://contributors.prestashop-project.org/"
14+
}
15+
],
16+
"minimum-stability": "dev",
17+
"require-dev": {
18+
"symfony/yaml": "~4.4 || ^5.0 || ^6.4",
19+
"symfony/console": "~4.4 || ^5.0 || ^6.4"
20+
}
21+
}

config/theme.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: hummingbird
22
display_name: Hummingbird
3-
version: 0.2.0
3+
version: 1.0.1
44
author:
55
name: "PrestaShop Team"
66
email: "pub@prestashop.com"
@@ -10,6 +10,7 @@ meta:
1010
compatibility:
1111
from: 8.1.0
1212
to: ~
13+
framework: 'bootstrap-v5.2.0'
1314

1415
available_layouts:
1516
layout-full-width:
@@ -87,6 +88,8 @@ global_settings:
8788
- ps_customeraccountlinks
8889
- ps_contactinfo
8990
- blockwishlist
91+
displayFooterProduct:
92+
- productcomments
9093
displayLeftColumn:
9194
- ps_categorytree
9295
- ps_facetedsearch
@@ -100,6 +103,9 @@ global_settings:
100103
- ps_searchbar
101104
displayProductAdditionalInfo:
102105
- ps_sharebuttons
106+
- productcomments
107+
displayProductListReviews:
108+
- productcomments
103109
displayOrderConfirmation2:
104110
- ps_featuredproducts
105111
displayCrossSellingShoppingCart:

modules/productcomments/views/templates/hook/alert-modal.tpl

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* file that was distributed with this source code.
44
*}
55

6-
{assign var='icon' value=$icon|default:'check_circle'}
6+
{assign var='icon' value=$icon|default:'check'}
77
{assign var='modal_message' value=$modal_message|default:''}
88

99
<script type="text/javascript">
@@ -19,22 +19,24 @@
1919
<div class="modal-dialog" role="document">
2020
<div class="modal-content">
2121
<div class="modal-header">
22-
<p class="h2">
22+
<p class="h2 mb-0">
2323
<i class="material-icons {$icon}" data-icon="{$icon}"></i>
2424
{$modal_title}
2525
</p>
2626
</div>
27+
2728
<div class="modal-body">
2829
<div class="row">
2930
<div class="col-md-12 col-sm-12" id="{$modal_id}-message">
3031
{$modal_message}
3132
</div>
3233
</div>
33-
<div class="modal-footer post-comment-buttons">
34-
<button type="button" class="btn btn-primary" data-bs-dismiss="modal" aria-label="{l s='OK' d='Modules.Productcomments.Shop'}">
35-
{l s='OK' d='Modules.Productcomments.Shop'}
36-
</button>
37-
</div>
34+
</div>
35+
36+
<div class="modal-footer">
37+
<button type="button" class="btn btn-primary" data-bs-dismiss="modal" aria-label="{l s='OK' d='Modules.Productcomments.Shop'}">
38+
{l s='OK' d='Modules.Productcomments.Shop'}
39+
</button>
3840
</div>
3941
</div>
4042
</div>

0 commit comments

Comments
 (0)