From de758d58ad7d1eeb6311b6568cbd91cb7df74fb1 Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Wed, 4 Sep 2024 20:46:36 +0100 Subject: [PATCH 1/2] Aura Virtual Dedicated Cloud --- preview-src/cheat-sheet.adoc | 6 +++--- preview-src/docs-roles.adoc | 22 +++++++++++----------- preview-src/labels.adoc | 2 +- preview-src/ui-model.yml | 2 +- src/css/labels.css | 3 ++- src/css/neo4j-docs.css | 20 +++++++++++++++++++- src/css/vars-dark.css | 2 ++ src/css/vars.css | 2 ++ src/js/50-cheat-sheet-toggle.js | 2 +- src/js/60-docs-roles.js | 2 +- src/js/data/rolesData.json | 12 +++++++++--- 11 files changed, 52 insertions(+), 23 deletions(-) diff --git a/preview-src/cheat-sheet.adoc b/preview-src/cheat-sheet.adoc index fa6e43f0..0fc724a4 100644 --- a/preview-src/cheat-sheet.adoc +++ b/preview-src/cheat-sheet.adoc @@ -266,7 +266,7 @@ RETURN n.name AS name ---- [.description] -This example is displayed for AuraDB Enterprise (`[.aura-dbe]`) +This example is displayed for AuraDB Virtual Dedicated Cloud (`[.aura-dbe]`) ==== @@ -280,7 +280,7 @@ RETURN n.name AS name ---- [.description] -This example is displayed for both AuraDB Free and AuraDB Enterprise. +This example is displayed for both AuraDB Free and AuraDB Virtual Dedicated Cloud. ==== @@ -310,7 +310,7 @@ When generating a Neo4j (ie not Aura) cheat sheet, we would only add those two v In this example the labels would _not_ be displayed. -If we add any other versions to the playbook, such as AuraDB Enterprise, the labels will be displayed when viewing the examples for Neo4j Community Edition or Neo4j Enterprise Edition, but the content will be hidden entirely when viewing the AuraDB Enterprise examples. +If we add any other versions to the playbook, such as AuraDB Virtual Dedicated Cloud, the labels will be displayed when viewing the examples for Neo4j Community Edition or Neo4j Enterprise Edition, but the content will be hidden entirely when viewing the AuraDB Virtual Dedicated Cloud examples. -- ==== diff --git a/preview-src/docs-roles.adoc b/preview-src/docs-roles.adoc index 7c71c2c8..67694e92 100644 --- a/preview-src/docs-roles.adoc +++ b/preview-src/docs-roles.adoc @@ -1,5 +1,5 @@ = Docs roles with a long title -:page-role: alpha aura-db-enterprise beta deprecated-5.17 invented-label new-5.17 not-on-aura +:page-role: alpha aura-db-dedicated beta deprecated-5.17 invented-label new-5.17 not-on-aura :page-theme: docs :page-banner: warning :page-banner-text: Lorem ipsum dolor sit est. @@ -26,13 +26,13 @@ Blocks with the appropriate roles have labels added. [discrete] [role="label--new-5.17 label--enterprise-edition"] -=== (Discrete) H3 AuraDB Enterprise AND Not on Aura +=== (Discrete) H3 AuraDB Virtual Dedicated Cloud AND Not on Aura Labels are not displayed for discrete headers. -[role=label--aura-db-enterprise label--not-on-aura] -=== H3 AuraDB Enterprise AND Not on Aura +[role=label--aura-db-dedicated label--not-on-aura] +=== H3 AuraDB Virtual Dedicated Cloud AND Not on Aura Lorem ipsum dolor sit @@ -141,14 +141,14 @@ And so does this table |=== -[role=label--aura-db-enterprise] -== AuraDB Enterprise +[role=label--aura-db-dedicated] +== AuraDB Virtual Dedicated Cloud Lorem ipsum dolor sit -[role=label--aura-db-enterprise label--not-on-aura] -== H2 AuraDB Enterprise AND Not on Aura +[role=label--aura-db-dedicated label--not-on-aura] +== H2 AuraDB Virtual Dedicated Cloud AND Not on Aura Lorem ipsum dolor sit @@ -158,12 +158,12 @@ Lorem ipsum dolor sit Lorem ipsum dolor sit -[role=label--aura-db-enterprise label--not-on-aura] -=== H3 AuraDB Enterprise AND Not on Aura +[role=label--aura-db-dedicated label--not-on-aura] +=== H3 AuraDB Virtual Dedicated Cloud AND Not on Aura Lorem ipsum dolor sit -[role=label--aura-db-enterprise label--not-on-aura] +[role=label--aura-db-dedicated label--not-on-aura] === H4 show roles Lorem ipsum dolor sit diff --git a/preview-src/labels.adoc b/preview-src/labels.adoc index 85b4fd10..8b95a69c 100644 --- a/preview-src/labels.adoc +++ b/preview-src/labels.adoc @@ -15,7 +15,7 @@
- AuraDB Enterprise + AuraDB Virtual Dedicated Cloud
diff --git a/preview-src/ui-model.yml b/preview-src/ui-model.yml index 965de4b3..899c9e2a 100644 --- a/preview-src/ui-model.yml +++ b/preview-src/ui-model.yml @@ -293,7 +293,7 @@ page: class: 'aura-dbf' - name: 'AuraDB Professional' class: 'aura-dbp' - - name: 'AuraDB Enterprise' + - name: 'AuraDB Virtual Dedicated Cloud' class: 'aura-dbe' - name: 'AuraDS Professional' class: 'aura-dsp' diff --git a/src/css/labels.css b/src/css/labels.css index 5383edae..b165127d 100644 --- a/src/css/labels.css +++ b/src/css/labels.css @@ -135,7 +135,8 @@ span.label--not-on-aura { color: var(--warning-background-color); } -span.label--aura-db-enterprise { +span.label--aura-db-enterprise, +span.label--aura-db-dedicated { background: rgba(var(--colors-baltic-50)); color: rgba(var(--colors-baltic-10)); } diff --git a/src/css/neo4j-docs.css b/src/css/neo4j-docs.css index 13560a9e..0c66460c 100644 --- a/src/css/neo4j-docs.css +++ b/src/css/neo4j-docs.css @@ -100,6 +100,12 @@ div.aura-db-enterprise > h4::after, p.aura-db-enterprise::before, section.aura-db-enterprise.title::after, span.aura-db-enterprise::after, +div.aura-db-dedicated > h2::after, +div.aura-db-dedicated > h3::after, +div.aura-db-dedicated > h4::after, +p.aura-db-dedicated::before, +section.aura-db-dedicated.title::after, +span.aura-db-dedicated::after, section.enterprise-edition .title::after, div.enterprise-edition > h2::after, div.enterprise-edition > h3::after, @@ -215,12 +221,24 @@ div.aura-db-enterprise > h4::after, p.aura-db-enterprise::before, section.aura-db-enterprise.title::after, span.aura-db-enterprise::after { - content: "AuraDB Enterprise"; + content: "AuraDB Virtual Dedicated Cloud"; background: var(--aura-db-enterprise-background-color); border-color: var(--aura-db-enterprise-background-color); color: var(--aura-db-enterprise-color); } +div.aura-db-dedicated > h2::after, +div.aura-db-dedicated > h3::after, +div.aura-db-dedicated > h4::after, +p.aura-db-dedicated::before, +section.aura-db-dedicated.title::after, +span.aura-db-dedicated::after { + content: "AuraDB Virtual Dedicated Cloud"; + background: var(--aura-db-dedicated-background-color); + border-color: var(--aura-db-dedicated-background-color); + color: var(--aura-db-dedicated-color); +} + div.enterprise-edition > h2::after, div.enterprise-edition > h3::after, div.enterprise-edition > h4::after, diff --git a/src/css/vars-dark.css b/src/css/vars-dark.css index 45b5d38d..30479b45 100644 --- a/src/css/vars-dark.css +++ b/src/css/vars-dark.css @@ -350,6 +350,8 @@ --not-on-aura-background-color: var(--warning-color); --aura-db-enterprise-color: rgba(var(--colors-baltic-10)); --aura-db-enterprise-background-color: rgba(var(--colors-baltic-50)); + --aura-db-dedicated-color: rgba(var(--colors-baltic-10)); + --aura-db-dedicated-background-color: rgba(var(--colors-baltic-50)); --enterprise-edition-color: rgba(var(--colors-baltic-10)); --enterprise-edition-background-color: rgba(var(--colors-baltic-50)); --fabric-color: rgba(var(--colors-baltic-10)); diff --git a/src/css/vars.css b/src/css/vars.css index 76b4208f..e83fca1a 100644 --- a/src/css/vars.css +++ b/src/css/vars.css @@ -359,6 +359,8 @@ --not-on-aura-background-color: var(--warning-color); --aura-db-enterprise-color: rgba(var(--colors-baltic-10)); --aura-db-enterprise-background-color: rgba(var(--colors-baltic-50)); + --aura-db-dedicated-color: rgba(var(--colors-baltic-10)); + --aura-db-dedicated-background-color: rgba(var(--colors-baltic-50)); --enterprise-edition-color: rgba(var(--colors-baltic-10)); --enterprise-edition-background-color: rgba(var(--colors-baltic-50)); --fabric-color: rgba(var(--colors-baltic-10)); diff --git a/src/js/50-cheat-sheet-toggle.js b/src/js/50-cheat-sheet-toggle.js index eb72a47c..07f11188 100644 --- a/src/js/50-cheat-sheet-toggle.js +++ b/src/js/50-cheat-sheet-toggle.js @@ -17,7 +17,7 @@ const optionMap = [...selectorOptions].map((o) => ({ const prodMatrix = { 'auradb-free': 'aura-dbf', 'auradb-professional': 'aura-dbp', - 'auradb-enterprise': 'aura-dbe', + 'auradb-dedicated': 'aura-dbe', 'aurads-professional': 'aura-dsp', 'aurads-enterprise': 'aura-dse', 'neo4j-community': 'neo4j-ce', diff --git a/src/js/60-docs-roles.js b/src/js/60-docs-roles.js index dc5eab26..28674abf 100644 --- a/src/js/60-docs-roles.js +++ b/src/js/60-docs-roles.js @@ -27,7 +27,7 @@ document.addEventListener('DOMContentLoaded', function () { // roles can be single word ie beta - use beta as label class and text from rolesDatee.beta // roles can be single word + version ie new-5.20 - use new as label class and text from rolesData.new + version number - // roles can be multiple words ie aura-db-enterprise - use aura-db-enterprise as label class and text from rolesData.aura-db-enterprise + // roles can be multiple words ie aura-db-dedicated - use aura-db-dedicated as label class and text from rolesData.aura-db-dedicated // roles like deprecated can appear with or without a version number - deprecated-5.20 or deprecated // - use deprecated as label class and text from rolesData.deprecated // - use deprecated as label class and text from rolesData.deprecated + version number diff --git a/src/js/data/rolesData.json b/src/js/data/rolesData.json index 54b6df2d..81d7601e 100644 --- a/src/js/data/rolesData.json +++ b/src/js/data/rolesData.json @@ -59,10 +59,16 @@ "displayText": "AuraDB Free" }, "aura-db-enterprise":{ - "description": "Function available in AuraDB Enterprise", + "description": "Function available in AuraDB Virtual Dedicated Cloud", "labelCategory": "product", - "product": "AuraDB Enterprise", - "displayText": "AuraDB Enterprise" + "product": "AuraDB Virtual Dedicated Cloud", + "displayText": "AuraDB Virtual Dedicated Cloud" + }, + "aura-db-dedicated":{ + "description": "Function available in AuraDB Virtual Dedicated Cloud", + "labelCategory": "product", + "product": "AuraDB Virtual Dedicated Cloud", + "displayText": "AuraDB Virtual Dedicated Cloud" }, "aura-db-professional":{ "description": "Function available in AuraDB Professional", From 3d0775f755cff93f15c0c9cbbfa956e3d3bd9bdd Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Thu, 5 Sep 2024 10:18:02 +0100 Subject: [PATCH 2/2] Update CTA in header --- src/partials/navbar-end.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/partials/navbar-end.hbs b/src/partials/navbar-end.hbs index db4c8bdd..c9f0aa7c 100644 --- a/src/partials/navbar-end.hbs +++ b/src/partials/navbar-end.hbs @@ -264,7 +264,7 @@