From a7495bb886a41d372304fa29a9446b3cc96c7381 Mon Sep 17 00:00:00 2001 From: Teodor Date: Fri, 26 Apr 2024 19:43:58 +0300 Subject: [PATCH 1/6] Fix Vertical Spacing and Alignment of Title and Publish Date of News and Publications --- theme/globals/site.overrides | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/globals/site.overrides b/theme/globals/site.overrides index 350a55d..4850504 100644 --- a/theme/globals/site.overrides +++ b/theme/globals/site.overrides @@ -236,7 +236,7 @@ svg.tertiary > g { } .ui.fluid.cards .ui.fluid.card div.content { - padding: 1em; + padding: 1.5em; margin-bottom: 1.5em; } From 21ba9ec47e63f4f1de3b48eb464cb023156601a5 Mon Sep 17 00:00:00 2001 From: Teodor Date: Mon, 29 Apr 2024 13:34:33 +0300 Subject: [PATCH 2/6] fix prettier in cypress file --- cypress/e2e/01-block-basics.cy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/01-block-basics.cy.js b/cypress/e2e/01-block-basics.cy.js index e004e87..b56522b 100644 --- a/cypress/e2e/01-block-basics.cy.js +++ b/cypress/e2e/01-block-basics.cy.js @@ -35,7 +35,9 @@ describe('Blocks Tests', () => { // Add block cy.get('.ui.basic.icon.button.block-add-button').first().click(); cy.get('.blocks-chooser .title').contains('Common').click(); - cy.get('.content.active.common .button.hero').contains('Hero').click({ force: true }); + cy.get('.content.active.common .button.hero') + .contains('Hero') + .click({ force: true }); // Configure block cy.getSlate().click().type('Hero Block'); From 7d8e56d9a2adcbf7d520231cac4c6b93b662f25e Mon Sep 17 00:00:00 2001 From: Teodor Date: Mon, 29 Apr 2024 14:22:29 +0300 Subject: [PATCH 3/6] add cypress version --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8684cbb..9bde122 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "url": "git@github.com:eea/volto-climate-advisory-board-policy.git" }, "devDependencies": { + "cypress": "13.1.0", "@cypress/code-coverage": "^3.10.0", "@plone/scripts": "*", "babel-plugin-transform-class-properties": "^6.24.1", @@ -80,4 +81,4 @@ "cypress:open": "make cypress-open", "prepare": "husky install" } -} +} \ No newline at end of file From 43bfc0b1d5e21877eb5e3a99934d16fdb068947f Mon Sep 17 00:00:00 2001 From: Teodor Date: Mon, 29 Apr 2024 14:59:25 +0300 Subject: [PATCH 4/6] fix integration tests --- cypress/support/e2e.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cypress/support/e2e.js b/cypress/support/e2e.js index fd5978a..b351da5 100644 --- a/cypress/support/e2e.js +++ b/cypress/support/e2e.js @@ -39,13 +39,6 @@ export const slateBeforeEach = (contentType = 'Document') => { path: 'cypress', }); cy.visit('/cypress/my-page'); - // cy.waitForResourceToLoad('@navigation'); - // The breadcrumb is auto-expanded. - // cy.waitForResourceToLoad('@breadcrumbs'); - // cy.waitForResourceToLoad('@actions'); - // cy.waitForResourceToLoad('@types'); - // cy.waitForResourceToLoad('my-page'); - cy.wait('@content'); cy.navigate('/cypress/my-page/edit'); }; From ab58521592ad6b62a3d0c50f279255936a968070 Mon Sep 17 00:00:00 2001 From: Teodor Date: Mon, 29 Apr 2024 15:58:37 +0300 Subject: [PATCH 5/6] fix alignment of title and publish date --- theme/globals/site.overrides | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/theme/globals/site.overrides b/theme/globals/site.overrides index 4850504..b1e5c19 100644 --- a/theme/globals/site.overrides +++ b/theme/globals/site.overrides @@ -236,7 +236,8 @@ svg.tertiary > g { } .ui.fluid.cards .ui.fluid.card div.content { - padding: 1.5em; + padding-top: 0.75em !important; + padding-left: 0.2em !important; margin-bottom: 1.5em; } @@ -247,7 +248,7 @@ svg.tertiary > g { .ui.fluid.cards .ui.fluid.card div.content div.meta { position: absolute; - bottom: 1em; + bottom: 0.25em; width: 50%; padding-top: 1em; color: #a3a3a3; From 095b4ce94b4523f7e7d3ef21d35c9fefcdbccf5e Mon Sep 17 00:00:00 2001 From: EEA Jenkins <@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:08:01 +0000 Subject: [PATCH 6/6] Automated release 0.1.46 --- CHANGELOG.md | 9 +++++++++ package.json | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c619855..3f113bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +### [0.1.46](https://github.com/eea/volto-climate-advisory-board-policy/compare/0.1.45...0.1.46) - 29 April 2024 + +#### :hammer_and_wrench: Others + +- fix alignment of title and publish date [Teodor - [`ab58521`](https://github.com/eea/volto-climate-advisory-board-policy/commit/ab58521592ad6b62a3d0c50f279255936a968070)] +- fix integration tests [Teodor - [`43bfc0b`](https://github.com/eea/volto-climate-advisory-board-policy/commit/43bfc0b1d5e21877eb5e3a99934d16fdb068947f)] +- add cypress version [Teodor - [`7d8e56d`](https://github.com/eea/volto-climate-advisory-board-policy/commit/7d8e56d9a2adcbf7d520231cac4c6b93b662f25e)] +- fix prettier in cypress file [Teodor - [`21ba9ec`](https://github.com/eea/volto-climate-advisory-board-policy/commit/21ba9ec47e63f4f1de3b48eb464cb023156601a5)] +- Fix Vertical Spacing and Alignment of Title and Publish Date of News and Publications [Teodor - [`a7495bb`](https://github.com/eea/volto-climate-advisory-board-policy/commit/a7495bb886a41d372304fa29a9446b3cc96c7381)] ### [0.1.45](https://github.com/eea/volto-climate-advisory-board-policy/compare/0.1.44...0.1.45) - 20 March 2024 #### :house: Internal changes diff --git a/package.json b/package.json index 9bde122..a9f8193 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-climate-advisory-board-policy", - "version": "0.1.45", + "version": "0.1.46", "description": "@eeacms/volto-climate-advisory-board-policy: Volto add-on", "main": "src/index.js", "author": "European Environment Agency", @@ -81,4 +81,4 @@ "cypress:open": "make cypress-open", "prepare": "husky install" } -} \ No newline at end of file +}