-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into studio/all-minor-upgrade-1990
- Loading branch information
Showing
52 changed files
with
671 additions
and
145 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 |
---|---|---|
@@ -1,5 +1,44 @@ | ||
# Changelog | ||
|
||
## v2.4.9 | ||
|
||
[compare changes](https://github.com/dpc-sdp/ripple-framework/compare/v2.4.8...v2.4.9) | ||
|
||
|
||
### 🩹 Fixes | ||
|
||
- **@dpc-sdp/nuxt-ripple:** 🐛 ensure favicon generator uses correct site ([c627b5a3](https://github.com/dpc-sdp/ripple-framework/commit/c627b5a3)) | ||
|
||
### ❤️ Contributors | ||
|
||
- Dylan Kelly <[email protected]> | ||
|
||
## v2.4.8 | ||
|
||
[compare changes](https://github.com/dpc-sdp/ripple-framework/compare/v2.4.7...v2.4.8) | ||
|
||
|
||
### 🩹 Fixes | ||
|
||
- **@dpc-sdp/nuxt-ripple:** 🐛 move favicon generate to before build ([869482b0](https://github.com/dpc-sdp/ripple-framework/commit/869482b0)) | ||
|
||
### ❤️ Contributors | ||
|
||
- Dylan Kelly <[email protected]> | ||
|
||
## v2.4.7 | ||
|
||
[compare changes](https://github.com/dpc-sdp/ripple-framework/compare/v2.4.6...v2.4.7) | ||
|
||
|
||
### 🩹 Fixes | ||
|
||
- **@dpc-sdp/nuxt-ripple:** 🐛 fix for favicon generator not waiting ([0c2b37d8](https://github.com/dpc-sdp/ripple-framework/commit/0c2b37d8)) | ||
|
||
### ❤️ Contributors | ||
|
||
- Dylan Kelly <[email protected]> | ||
|
||
## v2.4.6 | ||
|
||
[compare changes](https://github.com/dpc-sdp/ripple-framework/compare/v2.4.5...v2.4.6) | ||
|
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
.nuxt | ||
nuxt.d.ts | ||
.output | ||
public |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Feature: RTL form page | ||
|
||
Example of mocked page | ||
Background: | ||
Given the page endpoint for path "/rtl-form" returns fixture "/rtl/form" with status 200 | ||
And the site endpoint returns fixture "/site/reference" with status 200 | ||
Given I visit the page "/rtl-form" | ||
|
||
@mockserver | ||
Scenario: RTL form page renders non-text elements correctly | ||
Then the section ".rpl-header" should be display "rtl" in "fa" with the font "Noto Naskh Arabic" | ||
And the section "#rpl-main" should be display "rtl" in "fa" with the font "Noto Naskh Arabic" |
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,12 @@ | ||
Feature: RTL complete page | ||
|
||
Example of mocked page | ||
Background: | ||
Given the page endpoint for path "/rtl" returns fixture "/rtl/page" with status 200 | ||
And the site endpoint returns fixture "/site/reference" with status 200 | ||
Given I visit the page "/rtl" | ||
|
||
@mockserver | ||
Scenario: RTL page renders non-text elements correctly | ||
Then the section ".rpl-header" should be display "rtl" in "fa" with the font "Noto Naskh Arabic" | ||
And the section "#rpl-main" should be display "rtl" in "fa" with the font "Noto Naskh Arabic" |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "2.4.6", | ||
"version": "2.4.9", | ||
"npmClient": "pnpm", | ||
"exact": true, | ||
"command": { | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"packageManager": "[email protected]", | ||
"name": "@dpc-sdp/eslint-config-ripple", | ||
"description": "ESLint config for Ripple projects", | ||
"version": "2.4.6", | ||
"version": "2.4.9", | ||
"license": "Apache-2.0", | ||
"repository": "https://github.com/dpc-sdp/ripple-framework", | ||
"main": "index.js", | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"packageManager": "[email protected]", | ||
"name": "@dpc-sdp/nuxt-ripple-analytics", | ||
"description": "Nuxt module for handling event tracking.", | ||
"version": "2.4.6", | ||
"version": "2.4.9", | ||
"license": "Apache-2.0", | ||
"main": "./nuxt.config.ts", | ||
"repository": "https://github.com/dpc-sdp/ripple-framework", | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"packageManager": "[email protected]", | ||
"name": "@dpc-sdp/nuxt-ripple-cli", | ||
"description": "A CLI for simplifying common setup and scaffolding tasks", | ||
"version": "2.4.6", | ||
"version": "2.4.9", | ||
"license": "Apache-2.0", | ||
"repository": "https://github.com/dpc-sdp/ripple-framework", | ||
"main": "./dist/index.js", | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"packageManager": "[email protected]", | ||
"name": "@dpc-sdp/nuxt-ripple-preview", | ||
"description": "Adds support for drupal preview links in Ripple frontend sites", | ||
"version": "2.4.6", | ||
"version": "2.4.9", | ||
"license": "Apache-2.0", | ||
"main": "./nuxt.config.ts", | ||
"repository": "https://github.com/dpc-sdp/ripple-framework", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"packageManager": "[email protected]", | ||
"name": "@dpc-sdp/nuxt-ripple", | ||
"description": "Nuxt module for integrating Ripple and Tide", | ||
"version": "2.4.6", | ||
"version": "2.4.9", | ||
"license": "Apache-2.0", | ||
"main": "./nuxt.config.ts", | ||
"repository": "https://github.com/dpc-sdp/ripple-framework", | ||
|
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,34 @@ | ||
//@ts-nocheck runtime imports | ||
import { defineEventHandler, H3Event } from 'h3' | ||
import { createHandler } from '@dpc-sdp/ripple-tide-api' | ||
|
||
export const createTideApiHandler = async (event: H3Event) => { | ||
return createHandler(event, 'TideApiHandler', async () => { | ||
const appConfig = useAppConfig() | ||
const runtimeConfig = useRuntimeConfig() | ||
if (appConfig?.ripple && appConfig.project && runtimeConfig.public?.tide) { | ||
const { packages, theme, featureFlags } = appConfig.ripple | ||
const { version, sdpVersion } = appConfig.project | ||
const { baseUrl, site } = runtimeConfig.public.tide | ||
return { | ||
project: { | ||
version, | ||
sdpVersion | ||
}, | ||
tide: { | ||
baseUrl, | ||
site | ||
}, | ||
ripple: { | ||
packages, | ||
featureFlags, | ||
theme | ||
} | ||
} | ||
} | ||
}) | ||
} | ||
|
||
export default defineEventHandler(async (event: H3Event) => { | ||
return createTideApiHandler(event) | ||
}) |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"packageManager": "[email protected]", | ||
"name": "ripple-storybook", | ||
"description": "Ripple Storybook instance", | ||
"version": "2.4.6", | ||
"version": "2.4.9", | ||
"license": "Apache-2.0", | ||
"private": true, | ||
"repository": "https://github.com/dpc-sdp/ripple-framework", | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"packageManager": "[email protected]", | ||
"name": "@dpc-sdp/ripple-test-utils", | ||
"description": "Test utils for Ripple sites", | ||
"version": "2.4.6", | ||
"version": "2.4.9", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"main": "./dist/config/index.js", | ||
|
Oops, something went wrong.