Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/2.17.0 #1339

Merged
merged 65 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
c143343
refactor(@dpc-sdp/ripple-ui-core): :recycle: rework breadcrumbs for 4…
waitingallday Aug 14, 2024
611794f
feat(@dpc-sdp/ripple-tide-webform): added support for CAPTCHAs in web…
jeffdowdle Sep 10, 2024
18d2596
fix(@dpc-sdp/ripple-tide-webform): fixed rollup import error
jeffdowdle Sep 10, 2024
19754e8
fix(@dpc-sdp/ripple-ui-forms): fixed issue with util imports in story…
jeffdowdle Sep 10, 2024
15ddd5d
feat(@dpc-sdp/ripple-tide-webform): updated captcha mapping after bac…
jeffdowdle Sep 11, 2024
3831950
feat(@dpc-sdp/ripple-tide-search): set pii value for search listing f…
Sep 13, 2024
ac8d207
feat(@dpc-sdp/ripple-ui-forms): use labels for dataLayer events, add …
Sep 13, 2024
f16fa68
chore: update PR template
Sep 13, 2024
30a0f90
feat(@dpc-sdp/ripple-tide-webform): captchas for content rating and s…
jeffdowdle Sep 16, 2024
6900a3b
Merge branch 'release/2.17.0' into feature/SD-172-captcha-support
jeffdowdle Sep 16, 2024
b615488
fix(@dpc-sdp/ripple-ui-forms): fixed storybook tests
jeffdowdle Sep 16, 2024
e80f274
Merge branch 'feature/SD-172-captcha-support' of https://github.com/d…
jeffdowdle Sep 16, 2024
335e367
fix(@dpc-sdp/ripple-ui-core): update download attribute
Sep 16, 2024
b8decf1
style(@dpc-sdp/ripple-tide-grant): add space between grant downloads
Sep 16, 2024
909f944
fix(@dpc-sdp/ripple-tide-webform): fixed broken test after content ra…
jeffdowdle Sep 16, 2024
edda55e
feat(@dpc-sdp/ripple-ui-core): add aria label to vertical nav toggles
Sep 16, 2024
ca11280
fix(@dpc-sdp/ripple-ui-core): remove un-needed tabindex from vertical…
Sep 16, 2024
91d408c
feat(@dpc-sdp/nuxt-ripple-analytics): add content status to routeChan…
Sep 16, 2024
e9a6148
feat(@dpc-sdp/ripple-ui-core): add back to top event
Sep 16, 2024
88c6274
refactor(@dpc-sdp/ripple-ui-core): :recycle: support slot usage
waitingallday Sep 16, 2024
7dae5cb
Merge branch 'develop' into feat/sd-207-accordion-slots
waitingallday Sep 16, 2024
0466cf5
fix(@dpc-sdp/ripple-ui-core): :bug: remove double render
waitingallday Sep 16, 2024
220219c
docs(@dpc-sdp/ripple-ui-core): :memo: add markup to story
waitingallday Sep 16, 2024
49b6810
Merge pull request #1324 from dpc-sdp/bugfix/grants-download-name
lambry Sep 17, 2024
eb70d22
Merge pull request #1325 from dpc-sdp/feature/vertical-nav-toggles
lambry Sep 17, 2024
61ee41e
Merge pull request #1322 from dpc-sdp/feature/template-update
lambry Sep 17, 2024
405b936
Merge branch 'develop' into feat/breadcrumbs-update
waitingallday Sep 17, 2024
d346213
revert(@dpc-sdp/nuxt-ripple): removed captcha from content rating
jeffdowdle Sep 17, 2024
fa53a47
feat(@dpc-sdp/ripple-tide-webform): change the way captcha is configu…
jeffdowdle Sep 17, 2024
2fc9725
feat(@dpc-sdp/ripple-tide-publication): extend page links event
lambry Sep 16, 2024
f315f55
Merge pull request #1326 from dpc-sdp/feature/page-status-event-data
lambry Sep 17, 2024
621ea1a
refactor(@dpc-sdp/ripple-ui-core): :recycle: use a single collector i…
waitingallday Sep 17, 2024
94f38f1
refactor(@dpc-sdp/ripple-ui-core): :recycle: improve accessibility
waitingallday Sep 17, 2024
9f4a26c
feat(@dpc-sdp/ripple-ui-forms): added form_start analytics event
jeffdowdle Sep 18, 2024
6052ba3
Merge branch 'release/2.17.0' into feature/SD-172-captcha-support
jeffdowdle Sep 18, 2024
345bdee
feat(@dpc-sdp/ripple-tide-webform): handle recaptcha v2 quota exceedi…
jeffdowdle Sep 18, 2024
fb045c1
Merge branch 'feature/SD-172-captcha-support' of https://github.com/d…
jeffdowdle Sep 18, 2024
cdc702e
feat(@dpc-sdp/ripple-tide-publication): add count and index to page l…
lambry Sep 17, 2024
2ecb481
feat(@dpc-sdp/ripple-tide-webform): logged captcha success with form id
jeffdowdle Sep 18, 2024
a66b177
feat(@dpc-sdp/ripple-tide-webform): only load captcha scripts when ca…
jeffdowdle Sep 18, 2024
2cc23d2
refactor(@dpc-sdp/ripple-ui-forms): use input instead of change event…
jeffdowdle Sep 18, 2024
8f8b2f8
fix(@dpc-sdp/ripple-ui-core): update tabs story so tabs can be clicked
lambry Sep 23, 2024
2e23ba8
fix(@dpc-sdp/ripple-tide-api): update getLinkFromField to account for…
lambry Sep 23, 2024
372885a
feat(@dpc-sdp/ripple-tide-search): add prop for map height to match r…
lambry Sep 23, 2024
d4dc8c3
feat(@dpc-sdp/ripple-ui-forms): added form abandon analytics event
jeffdowdle Sep 23, 2024
e749444
fix(@dpc-sdp/ripple-ui-forms): fixed missing import for rplform
jeffdowdle Sep 23, 2024
4b28c33
Merge pull request #1335 from dpc-sdp/feature/custom-collection-map-h…
dylankelly Sep 23, 2024
0243bda
Merge pull request #1334 from dpc-sdp/bugfix/internal-links
dylankelly Sep 23, 2024
c09ca7d
Merge pull request #1333 from dpc-sdp/bugfix/tab-story
dylankelly Sep 23, 2024
e2bf386
Merge pull request #1330 from dpc-sdp/feature/SD-257-form-start-event
dylankelly Sep 24, 2024
f9760a1
Merge pull request #1328 from dpc-sdp/feature/back-to-top-event
dylankelly Sep 24, 2024
70628af
Merge pull request #1323 from dpc-sdp/feature/dropdown-dl
dylankelly Sep 24, 2024
7e70014
Merge branch 'release/2.17.0' into feature/publication-events
lambry Sep 24, 2024
1d9fc1d
Merge pull request #1336 from dpc-sdp/feature/SD-256-form-abandon-event
dylankelly Sep 24, 2024
6693cf4
Merge pull request #1332 from dpc-sdp/feature/publication-events
dylankelly Sep 24, 2024
1b84e0d
Merge pull request #1320 from dpc-sdp/feature/SD-172-captcha-support
dylankelly Sep 24, 2024
14f31aa
refactor(@dpc-sdp/ripple-ui-core): :recycle: use prop and featureflag
waitingallday Sep 25, 2024
3d775ce
Merge pull request #1329 from dpc-sdp/feat/breadcrumbs-update
waitingallday Sep 25, 2024
da64827
fix(@dpc-sdp/ripple-tide-search): add full stop to the end of sentence
lambry Sep 26, 2024
805e569
Merge pull request #1337 from dpc-sdp/bugfix/location-message
dylankelly Sep 26, 2024
60830c6
chore: :arrow_up: update nuxt to 3.13.2
dylankelly Sep 26, 2024
8f1390a
Merge pull request #1327 from dpc-sdp/feat/sd-207-accordion-slots
waitingallday Sep 26, 2024
0db8132
chore: :arrow_up: fix formkit version and typescript error on test utils
dylankelly Sep 26, 2024
9722047
Merge pull request #1338 from dpc-sdp/feature/update-nuxt-2.13.2
dylankelly Sep 26, 2024
c0c3913
chore: 🔖 release ripple 2.17.0
dylankelly Sep 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!-- Add Jira ID Eg: SDPA-1234 or GitHub Issue Number eg: #123 -->
<!-- Add Jira ID Eg: SD-1234 or GitHub Issue Number eg: #123 -->

**Issue**:

### What I did
<!-- Summary of changes made in the Pull Request -->
<!-- Summary of changes made in the Pull Request -->
-
-

### How to test
<!-- Summary of how to test -->
<!-- Summary of how to test the changes -->
-
-

Expand All @@ -19,13 +19,13 @@

#### For all PR's

- [ ] I've added relevant changes to the project Readme if needed.
- [ ] I've updated the documentation site as needed.
- [ ] I have added unit tests to cover my changes (if not applicable, please state why in a comment)
- [ ] I've added relevant changes to the project Readme if needed
- [ ] I've updated the documentation site as needed
- [ ] I have added tests to cover my changes (if not applicable, please state why in a comment)

#### For new components only
#### For new UI components only

- [ ] I have added a story covering all variants
- [ ] I have added a storybook story covering all variants
- [ ] I have checked a11y tab in storybook passes
- [ ] Any events are emitted on the event bus

- [ ] I have added cypress component tests (if the component is interactive)
- [ ] Any events are emitted on the event bus using `emitRplEvent`
69 changes: 69 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,74 @@
# Changelog

## v2.17.0

[compare changes](https://github.com/dpc-sdp/ripple-framework/compare/2.16.0...v2.17.0)


### 🚀 Enhancements

- **@dpc-sdp/ripple-tide-webform:** Added support for CAPTCHAs in webforms ([611794fcf](https://github.com/dpc-sdp/ripple-framework/commit/611794fcf))
- **@dpc-sdp/ripple-tide-webform:** Updated captcha mapping after backend update ([15ddd5d41](https://github.com/dpc-sdp/ripple-framework/commit/15ddd5d41))
- **@dpc-sdp/ripple-tide-search:** Set pii value for search listing filters ([383195090](https://github.com/dpc-sdp/ripple-framework/commit/383195090))
- **@dpc-sdp/ripple-ui-forms:** Use labels for dataLayer events, add rpl-form-number dataLayer event ([ac8d207af](https://github.com/dpc-sdp/ripple-framework/commit/ac8d207af))
- **@dpc-sdp/ripple-tide-webform:** Captchas for content rating and support multiple on a page ([30a0f90a6](https://github.com/dpc-sdp/ripple-framework/commit/30a0f90a6))
- **@dpc-sdp/ripple-ui-core:** Add aria label to vertical nav toggles ([edda55e8e](https://github.com/dpc-sdp/ripple-framework/commit/edda55e8e))
- **@dpc-sdp/nuxt-ripple-analytics:** Add content status to routeChange event ([91d408c32](https://github.com/dpc-sdp/ripple-framework/commit/91d408c32))
- **@dpc-sdp/ripple-ui-core:** Add back to top event ([e9a6148c2](https://github.com/dpc-sdp/ripple-framework/commit/e9a6148c2))
- **@dpc-sdp/ripple-tide-webform:** Change the way captcha is configured to be less finnicky ([fa53a4719](https://github.com/dpc-sdp/ripple-framework/commit/fa53a4719))
- **@dpc-sdp/ripple-tide-publication:** Extend page links event ([2fc97251a](https://github.com/dpc-sdp/ripple-framework/commit/2fc97251a))
- **@dpc-sdp/ripple-ui-forms:** Added form_start analytics event ([9f4a26c9e](https://github.com/dpc-sdp/ripple-framework/commit/9f4a26c9e))
- **@dpc-sdp/ripple-tide-webform:** Handle recaptcha v2 quota exceeding gracefully ([345bdee4a](https://github.com/dpc-sdp/ripple-framework/commit/345bdee4a))
- **@dpc-sdp/ripple-tide-publication:** Add count and index to page link event ([cdc702e40](https://github.com/dpc-sdp/ripple-framework/commit/cdc702e40))
- **@dpc-sdp/ripple-tide-webform:** Logged captcha success with form id ([2ecb481bb](https://github.com/dpc-sdp/ripple-framework/commit/2ecb481bb))
- **@dpc-sdp/ripple-tide-webform:** Only load captcha scripts when captcha element is rendered ([a66b17710](https://github.com/dpc-sdp/ripple-framework/commit/a66b17710))
- **@dpc-sdp/ripple-tide-search:** Add prop for map height to match rpl-map ([372885a74](https://github.com/dpc-sdp/ripple-framework/commit/372885a74))
- **@dpc-sdp/ripple-ui-forms:** Added form abandon analytics event ([d4dc8c398](https://github.com/dpc-sdp/ripple-framework/commit/d4dc8c398))

### 🩹 Fixes

- **@dpc-sdp/ripple-tide-webform:** Fixed rollup import error ([18d259672](https://github.com/dpc-sdp/ripple-framework/commit/18d259672))
- **@dpc-sdp/ripple-ui-forms:** Fixed issue with util imports in storybook ([19754e807](https://github.com/dpc-sdp/ripple-framework/commit/19754e807))
- **@dpc-sdp/ripple-ui-forms:** Fixed storybook tests ([b61548848](https://github.com/dpc-sdp/ripple-framework/commit/b61548848))
- **@dpc-sdp/ripple-ui-core:** Update download attribute ([335e36792](https://github.com/dpc-sdp/ripple-framework/commit/335e36792))
- **@dpc-sdp/ripple-tide-webform:** Fixed broken test after content rating form changes ([909f94402](https://github.com/dpc-sdp/ripple-framework/commit/909f94402))
- **@dpc-sdp/ripple-ui-core:** Remove un-needed tabindex from vertical nav ([ca11280f8](https://github.com/dpc-sdp/ripple-framework/commit/ca11280f8))
- **@dpc-sdp/ripple-ui-core:** 🐛 remove double render ([0466cf5c0](https://github.com/dpc-sdp/ripple-framework/commit/0466cf5c0))
- **@dpc-sdp/ripple-ui-core:** Update tabs story so tabs can be clicked ([8f8b2f8ae](https://github.com/dpc-sdp/ripple-framework/commit/8f8b2f8ae))
- **@dpc-sdp/ripple-tide-api:** Update getLinkFromField to account for internal: links ([2e23ba81f](https://github.com/dpc-sdp/ripple-framework/commit/2e23ba81f))
- **@dpc-sdp/ripple-ui-forms:** Fixed missing import for rplform ([e749444ca](https://github.com/dpc-sdp/ripple-framework/commit/e749444ca))
- **@dpc-sdp/ripple-tide-search:** Add full stop to the end of sentence ([da648273d](https://github.com/dpc-sdp/ripple-framework/commit/da648273d))

### 💅 Refactors

- **@dpc-sdp/ripple-ui-core:** ♻️ rework breadcrumbs for 4+ terms ([c14334320](https://github.com/dpc-sdp/ripple-framework/commit/c14334320))
- **@dpc-sdp/ripple-ui-core:** ♻️ support slot usage ([88c6274fe](https://github.com/dpc-sdp/ripple-framework/commit/88c6274fe))
- **@dpc-sdp/ripple-ui-core:** ♻️ use a single collector index ([621ea1a9e](https://github.com/dpc-sdp/ripple-framework/commit/621ea1a9e))
- **@dpc-sdp/ripple-ui-core:** ♻️ improve accessibility ([94f38f122](https://github.com/dpc-sdp/ripple-framework/commit/94f38f122))
- **@dpc-sdp/ripple-ui-forms:** Use input instead of change event for form_start event ([2cc23d281](https://github.com/dpc-sdp/ripple-framework/commit/2cc23d281))
- **@dpc-sdp/ripple-ui-core:** ♻️ use prop and featureflag ([14f31aa0d](https://github.com/dpc-sdp/ripple-framework/commit/14f31aa0d))

### 📖 Documentation

- **@dpc-sdp/ripple-ui-core:** 📝 add markup to story ([220219c52](https://github.com/dpc-sdp/ripple-framework/commit/220219c52))

### 🏡 Chore

- Update PR template ([f16fa689d](https://github.com/dpc-sdp/ripple-framework/commit/f16fa689d))
- ⬆️ update nuxt to 3.13.2 ([60830c6b2](https://github.com/dpc-sdp/ripple-framework/commit/60830c6b2))
- ⬆️ fix formkit version and typescript error on test utils ([0db813243](https://github.com/dpc-sdp/ripple-framework/commit/0db813243))

### 🎨 Styles

- **@dpc-sdp/ripple-tide-grant:** Add space between grant downloads ([b8decf191](https://github.com/dpc-sdp/ripple-framework/commit/b8decf191))

### ❤️ Contributors

- Dylan Kelly <[email protected]>
- David Featherston <[email protected]>
- Jason Smith <[email protected]>
- Jeffrey Dowdle <[email protected]>

## v2.16.0

[compare changes](https://github.com/dpc-sdp/ripple-framework/compare/2.15.0...v2.16.0)
Expand Down
2 changes: 1 addition & 1 deletion examples/nuxt-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"@nuxt/devtools": "^0.6.7",
"cypress": "13.6.6",
"node-fetch-native": "^1.4.1",
"nuxt": "3.11.2"
"nuxt": "3.13.2"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Feature: Forms analytics events

@mockserver
Scenario: Form start
Given the mock server has started
And the page endpoint for path "/" returns fixture "/landingpage/full-form" with status 200
And the site endpoint returns fixture "/site/reference" with status 200
Given I visit the page "/"
When I type "Cat" into the input with the label "Last name"
Then the dataLayer should include the following events
| event | form_id | form_name | component | platform_event |
| form_start | full_form | Test form | rpl-form | start |
50 changes: 50 additions & 0 deletions examples/nuxt-app/test/features/landingpage/forms.feature
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ Feature: Forms
| You must accept the terms | /kitchen-sink#i_accept_the_terms |
Then clicking on an error summary link with text "Must choose a favourite colour" should focus on the input with ID "favourite_colour"

And the dataLayer should include the following events
| event | form_id | form_valid | element_text | component |
| form_submit | full_form | false | Submit | rpl-form |

@mockserver
Scenario: Simple validation
Given the mock server has started
Expand Down Expand Up @@ -124,10 +128,56 @@ Feature: Forms
And I click "Green" from the select field with label "Favourite colour"
And I click "Free admission" from the select field with label "Term select"
And I click "Seniors" from the select field with label "Term select"
And I click "Dog person" from the radio group with label "Type of person"
And I click "London" from the checkbox group with label "Favourite Locations"
And I click "Tokyo" from the checkbox group with label "Favourite Locations"
And I toggle the checkbox with label "Terms and conditions"

And I submit the form with ID "full_form"

Then a server message should be displayed above the form
| status | title | description |
| success | Server success | Test success message |

And the dataLayer should include the following events
| event | label | form_id | field_id | type | value | component |
| update_form_field | First name | full_form | first_name | text | [redacted] | rpl-form-input |
| update_form_field | Last name | full_form | last_name | text | [redacted] | rpl-form-input |
| update_form_field | Email | full_form | email | email | [redacted] | rpl-form-input |
| update_form_field | Quantity | full_form | quantity | number | [redacted] | rpl-form-number |
| update_form_field | Website | full_form | website | url | [redacted] | rpl-form-input |
| update_form_field | Mobile phone | full_form | mobile_phone | tel | [redacted] | rpl-form-input |
| update_form_field | Message | full_form | message | textarea | [redacted] | rpl-form-textarea |
| open_form_field | Favourite colour | full_form | favourite_colour | select | | rpl-form-dropdown |
| update_form_field | Favourite colour | full_form | favourite_colour | select | Green | rpl-form-dropdown |
| open_form_field | Term select | full_form | term_select | select | | rpl-form-dropdown |
| update_form_field | Term select | full_form | term_select | select | Free admission | rpl-form-dropdown |
| open_form_field | Term select | full_form | term_select | select | Free admission | rpl-form-dropdown |
| update_form_field | Term select | full_form | term_select | select | Free admission,Seniors | rpl-form-dropdown |
| update_form_field | Type of person | full_form | person_type | radio | Dog person | rpl-form-radio-group |
| update_form_field | Favourite Locations | full_form | favourite_locations | checkbox | London | rpl-form-checkbox-group |
| update_form_field | Favourite Locations | full_form | favourite_locations | checkbox | London,Tokyo | rpl-form-checkbox-group |
| update_form_field | I accept the terms | full_form | i_accept_the_terms__checkbox | checkbox | true | rpl-form-option |

And the dataLayer should include the following events
| event | form_id | form_valid | element_text | component |
| form_submit | full_form | true | Submit | rpl-form |
| form_complete | full_form | | Submit | rpl-form |

And the dataLayer form data for "form_complete" should include the following values
| key | value |
| first_name | [redacted] |
| last_name | [redacted] |
| role | [redacted] |
| email | [redacted] |
| quantity | [redacted] |
| website | [redacted] |
| mobile_phone | [redacted] |
| dob | [redacted] |
| message | [redacted] |
| favourite_colour | Green |
| term_select | Free admission,Seniors |
| person_type | Dog person |
| favourite_locations | London,Tokyo |
| i_accept_the_terms | true |
| site_section | DPC |
8 changes: 8 additions & 0 deletions examples/nuxt-app/test/features/maps/maps.feature
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,11 @@ Feature: Custom collection map component
When I click the exit fullscreen button
And I wait 100 milliseconds
Then the map should not be fullscreen

@mockserver
Scenario: Map height can be customised
Given I load the page fixture with "/maps/basic-page"
And the map height is set to 606
Then the page endpoint for path "/map" returns the loaded fixture
When I visit the page "/map"
Then the map height is 606
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Feature: Publication page

@mockserver
Example: Publication child
Given the page endpoint for path "/victorian-skills-plan-2023-implementation-update/promoting-post-secondary-education-skills-and-career" returns fixture "/publication/sample-publication-page" with status 200
When I visit the page "/victorian-skills-plan-2023-implementation-update/2022-victorian-skills-plan-actions-and-initiatives"
Then the title should be "The Victorian Skills Plan 2022 into 2023 actions and initiatives"
And there should be a page link with a title of "Previous" and description text of "Victorian Skills Plan Implementation Update"
Expand All @@ -41,6 +42,12 @@ Feature: Publication page
| title | url | type | size |
| Victorian Skills Plan Implementation Update October 2023 | /sites/default/files/2023-10/16686-VSA-Implementation-Plan-Section_FA_Digital.pdf | pdf | 4.61 MB |
| Print full document | /victorian-skills-plan-2023-implementation-update/print-all | | |

When I click on the "Next" page link
Then the dataLayer should include the following events
| event | element_text | link_url | name | count | index | component |
| paginate_next | Next | /victorian-skills-plan-2023-implementation-update/promoting-post-secondary-education-skills-and-career | Promoting post-secondary education skills and career pathways | 28 | 2 | rpl-page-links |

When I click on the document "Print full document"
Then the dataLayer should include the following events
| event | element_text | link_url | component |
Expand Down
Loading
Loading