From ff23a151b9188306695ec5e039bcd5cdf537a8ec Mon Sep 17 00:00:00 2001 From: rofe Date: Thu, 12 Sep 2024 19:55:25 +0200 Subject: [PATCH 1/5] feat: add config service releases --- blocks/releases/releases.css | 10 +++++++--- blocks/releases/releases.js | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/blocks/releases/releases.css b/blocks/releases/releases.css index 1c400852..ae26a866 100644 --- a/blocks/releases/releases.css +++ b/blocks/releases/releases.css @@ -22,11 +22,14 @@ background-color: #F4F8CF; } - .releases .release-helix-cli { background-color: #FFEBD4; } +.releases .release-helix-config { + background-color: #EDD1FF; +} + .releases .release { padding: 16px 32px 32px; margin: 16px 0; @@ -63,10 +66,11 @@ } .releases .helix-admin .release-helix-admin, -.releases .helix-pipeline-service .release-helix-pipeline-service, -.releases .helix-importer-ui .release-helix-importer-ui, +.releases .helix-pipeline-service .release-helix-pipeline-service, +.releases .helix-importer-ui .release-helix-importer-ui, .releases .helix-sidekick-extension .release-helix-sidekick-extension, .releases .helix-cli .release-helix-cli, +.releases .helix-config .release-helix-config, .releases .franklin-sidekick-library .release-franklin-sidekick-library { display: block; } \ No newline at end of file diff --git a/blocks/releases/releases.js b/blocks/releases/releases.js index 99c8f92f..148bf50c 100644 --- a/blocks/releases/releases.js +++ b/blocks/releases/releases.js @@ -15,6 +15,7 @@ function mdToHTML(md) { const displayNames = { 'helix-pipeline-service': 'Delivery Pipeline', 'helix-admin': 'Admin API', + 'helix-config': 'Config Service', 'helix-importer-ui': 'Content Importer', 'helix-cli': 'Command Line Interface', 'helix-sidekick-extension': 'Sidekick Extension', @@ -69,7 +70,7 @@ function createRelease(release) { ul.append(li); }); - div.innerHTML = `

${fullDate}

${displayNames[release.repo]} ${release.tag}

`; + div.innerHTML = `

${fullDate}

${displayNames[release.repo] || release.repo} ${release.tag}

`; addAnchorLink(div.querySelector('h2')); div.append(releaseBody); From 5c0eeb0692c57652782923e793db29925acf053e Mon Sep 17 00:00:00 2001 From: rofe Date: Thu, 12 Sep 2024 20:48:21 +0200 Subject: [PATCH 2/5] chore: add aem-lib releases --- blocks/releases/releases.css | 5 +++++ blocks/releases/releases.js | 1 + 2 files changed, 6 insertions(+) diff --git a/blocks/releases/releases.css b/blocks/releases/releases.css index ae26a866..52d9865e 100644 --- a/blocks/releases/releases.css +++ b/blocks/releases/releases.css @@ -26,6 +26,10 @@ background-color: #FFEBD4; } +.releases .release-aem-lib { + background-color: #CFEBF8; +} + .releases .release-helix-config { background-color: #EDD1FF; } @@ -71,6 +75,7 @@ .releases .helix-sidekick-extension .release-helix-sidekick-extension, .releases .helix-cli .release-helix-cli, .releases .helix-config .release-helix-config, +.releases .aem-lib .release-aem-lib, .releases .franklin-sidekick-library .release-franklin-sidekick-library { display: block; } \ No newline at end of file diff --git a/blocks/releases/releases.js b/blocks/releases/releases.js index 148bf50c..d57bd52a 100644 --- a/blocks/releases/releases.js +++ b/blocks/releases/releases.js @@ -20,6 +20,7 @@ const displayNames = { 'helix-cli': 'Command Line Interface', 'helix-sidekick-extension': 'Sidekick Extension', 'franklin-sidekick-library': 'Sidekick Library', + 'aem-lib': 'AEM Library', }; function createRelease(release) { From 90897e5e1a610136d4ba0f32d12b41b849b9aa6b Mon Sep 17 00:00:00 2001 From: rofe Date: Thu, 12 Sep 2024 21:30:05 +0200 Subject: [PATCH 3/5] chore: switch to helix-config-service --- blocks/releases/releases.css | 4 ++-- blocks/releases/releases.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks/releases/releases.css b/blocks/releases/releases.css index 52d9865e..9ab1eb98 100644 --- a/blocks/releases/releases.css +++ b/blocks/releases/releases.css @@ -30,7 +30,7 @@ background-color: #CFEBF8; } -.releases .release-helix-config { +.releases .release-helix-config-service { background-color: #EDD1FF; } @@ -74,7 +74,7 @@ .releases .helix-importer-ui .release-helix-importer-ui, .releases .helix-sidekick-extension .release-helix-sidekick-extension, .releases .helix-cli .release-helix-cli, -.releases .helix-config .release-helix-config, +.releases .helix-config-service .release-helix-config-service, .releases .aem-lib .release-aem-lib, .releases .franklin-sidekick-library .release-franklin-sidekick-library { display: block; diff --git a/blocks/releases/releases.js b/blocks/releases/releases.js index d57bd52a..517f8683 100644 --- a/blocks/releases/releases.js +++ b/blocks/releases/releases.js @@ -15,7 +15,7 @@ function mdToHTML(md) { const displayNames = { 'helix-pipeline-service': 'Delivery Pipeline', 'helix-admin': 'Admin API', - 'helix-config': 'Config Service', + 'helix-config-service': 'Configuration Service', 'helix-importer-ui': 'Content Importer', 'helix-cli': 'Command Line Interface', 'helix-sidekick-extension': 'Sidekick Extension', From b6f0760e4666ecdd82aaf362a41eb6f2be71d60c Mon Sep 17 00:00:00 2001 From: rofe Date: Thu, 12 Sep 2024 22:25:15 +0200 Subject: [PATCH 4/5] chore: remove config service again --- blocks/releases/releases.css | 1 - blocks/releases/releases.js | 1 - 2 files changed, 2 deletions(-) diff --git a/blocks/releases/releases.css b/blocks/releases/releases.css index 9ab1eb98..0e06c389 100644 --- a/blocks/releases/releases.css +++ b/blocks/releases/releases.css @@ -74,7 +74,6 @@ .releases .helix-importer-ui .release-helix-importer-ui, .releases .helix-sidekick-extension .release-helix-sidekick-extension, .releases .helix-cli .release-helix-cli, -.releases .helix-config-service .release-helix-config-service, .releases .aem-lib .release-aem-lib, .releases .franklin-sidekick-library .release-franklin-sidekick-library { display: block; diff --git a/blocks/releases/releases.js b/blocks/releases/releases.js index 517f8683..02b26ee8 100644 --- a/blocks/releases/releases.js +++ b/blocks/releases/releases.js @@ -15,7 +15,6 @@ function mdToHTML(md) { const displayNames = { 'helix-pipeline-service': 'Delivery Pipeline', 'helix-admin': 'Admin API', - 'helix-config-service': 'Configuration Service', 'helix-importer-ui': 'Content Importer', 'helix-cli': 'Command Line Interface', 'helix-sidekick-extension': 'Sidekick Extension', From f357f5a13aed87a119a37b6aeb4bdd789a7e0449 Mon Sep 17 00:00:00 2001 From: rofe Date: Thu, 12 Sep 2024 22:26:04 +0200 Subject: [PATCH 5/5] chore: remove config service again --- blocks/releases/releases.css | 1 + 1 file changed, 1 insertion(+) diff --git a/blocks/releases/releases.css b/blocks/releases/releases.css index 0e06c389..9ab1eb98 100644 --- a/blocks/releases/releases.css +++ b/blocks/releases/releases.css @@ -74,6 +74,7 @@ .releases .helix-importer-ui .release-helix-importer-ui, .releases .helix-sidekick-extension .release-helix-sidekick-extension, .releases .helix-cli .release-helix-cli, +.releases .helix-config-service .release-helix-config-service, .releases .aem-lib .release-aem-lib, .releases .franklin-sidekick-library .release-franklin-sidekick-library { display: block;