-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Version 1.26.0 ### Features - Add support for the auth token, with a new global_config `token` field (#976) - Add support for the visitor, which can be set or changed at runtime (#970) - Add support for generic thumbs up/down feedback buttons to all cards (#973, #1005) - Handle page and template names with spaces (#988) ### Changes - Update styling of navigation ‘More’ menu (#989) - Update hover color of search bar buttons (#1000) - Internal repo changes (automate WCAG testing (#987)) ### Bugfixes - Fix console error which would appear on google maps (#955) - Fix extra query when loading in iframe integrations (#986) - Fix bug that displayed links that didn’t exist (#990) - Allow microphone access for voice search in iframe (#991) - Fix issue with custom search icon size (#992) - Fix bug with new prop comments not being added (#1004) - Fix distance alignment on location cards (#1006)
- Loading branch information
Showing
147 changed files
with
19,223 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,25 +6,98 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
build: | ||
nonce: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
result: ${{ steps.nonce.outputs.result }} | ||
steps: | ||
- id: nonce | ||
run: echo "::set-output name=result::${{ github.run_id }}-$(date +%s)" | ||
|
||
default-snapshots: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.18] | ||
needs: nonce | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run setup-test-site | ||
- run: npm run build-test-site | ||
- name: Percy snapshots | ||
run: npx percy exec --parallel -- node tests/percy/index.js | ||
env: | ||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | ||
PERCY_PARALLEL_NONCE: ${{ needs.nonce.outputs.result }} | ||
PERCY_PARALLEL_TOTAL: 4 | ||
|
||
iframe-snapshots: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.18] | ||
needs: nonce | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run setup-test-site | ||
- run: npm run build-test-site | ||
- name: Percy snapshots | ||
run: npx percy exec --parallel -- node tests/percy/index.js iframe | ||
env: | ||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | ||
PERCY_PARALLEL_NONCE: ${{ needs.nonce.outputs.result }} | ||
PERCY_PARALLEL_TOTAL: 4 | ||
|
||
spanish-snapshots: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.18] | ||
needs: nonce | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run setup-test-site | ||
- run: npm run build-test-site | ||
- name: Percy snapshots | ||
run: npx percy exec --parallel -- node tests/percy/index.js spanish | ||
env: | ||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | ||
PERCY_PARALLEL_NONCE: ${{ needs.nonce.outputs.result }} | ||
PERCY_PARALLEL_TOTAL: 4 | ||
|
||
rtl-snapshots: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.18] | ||
needs: nonce | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run setup-test-site | ||
- run: npm run build-test-site | ||
- name: Percy snapshots | ||
uses: percy/exec[email protected] | ||
with: | ||
command: node tests/percy/index.js | ||
env: | ||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run setup-test-site | ||
- run: npm run build-test-site | ||
- name: Percy snapshots | ||
run: npx percy exec --parallel -- node tests/percy/index.js rtl | ||
env: | ||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | ||
PERCY_PARALLEL_NONCE: ${{ needs.nonce.outputs.result }} | ||
PERCY_PARALLEL_TOTAL: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: WCAG tests | ||
|
||
on: | ||
pull_request: | ||
branches: [develop, hotfix/*, release/*, support/*] | ||
|
||
jobs: | ||
WCAG-test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run setup-test-site | ||
- run: npm run build-test-site | ||
- run: npm run wcag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{{#if feedbackEnabled}} | ||
{{#if directAnswerClass}} | ||
{{> feedback className=directAnswerClass cardType='HitchhikerDirectAnswerCard'}} | ||
{{else}} | ||
{{> feedback className='HitchhikerCard' cardType='HitchhikerCard'}} | ||
{{/if}} | ||
{{/if}} | ||
|
||
{{#*inline 'feedback'}} | ||
<div class="{{className}}-feedbackWrapper"> | ||
<div class="{{className}}-feedbackContent"> | ||
{{#if feedbackSubmitted}} | ||
<div class="{{className}}-feedbackText"> | ||
{{feedbackTextOnSubmission}} | ||
</div> | ||
{{else}} | ||
{{#if feedbackText}} | ||
<div class="{{className}}-feedbackText"> | ||
{{feedbackText}} | ||
</div> | ||
{{/if}} | ||
<div class="{{className}}-thumbsWrapper"> | ||
<form class="HitchhikerCard-thumbs js-{{cardType}}-feedbackForm"> | ||
<fieldset class="HitchhikerCard-fieldset"> | ||
<label class="HitchhikerCard-thumb"> | ||
<span class="HitchhikerCard-thumbUpIcon"> | ||
{{> icons/builtInIcon iconName='thumb' }} | ||
</span> | ||
<input type="radio" | ||
name="feedback" | ||
value="true" | ||
class="HitchhikerCard-feedback HitchhikerCard-thumbUpButton js-{{cardType}}-thumbInput"> | ||
<span class="sr-only"> | ||
{{positiveFeedbackSrText}} | ||
</span> | ||
</label> | ||
<label class="HitchhikerCard-thumb"> | ||
<span class="HitchhikerCard-thumbDownIcon"> | ||
{{> icons/builtInIcon iconName='thumb' }} | ||
</span> | ||
<input type="radio" | ||
name="feedback" | ||
value="false" | ||
class="HitchhikerCard-feedback HitchhikerCard-thumbDownButton js-{{cardType}}-thumbInput"> | ||
<span class="sr-only"> | ||
{{negativeFeedbackSrText}} | ||
</span> | ||
</label> | ||
</fieldset> | ||
<button type="submit" class="sr-only sr-only-focusable">Send feedback</button> | ||
</form> | ||
</div> | ||
{{/if}} | ||
</div> | ||
</div> | ||
{{/inline}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.