From 6c8bb4bc8069a6a58593d9a920e2946a7067768b Mon Sep 17 00:00:00 2001 From: Arti M Date: Fri, 2 Dec 2022 14:21:27 +0000 Subject: [PATCH 1/3] feat: Renames Meganav section to Solutions --- cypress/integration/core/meganav/parity.spec.js | 4 ++-- src/core/Meganav/component.json | 2 +- src/core/Meganav/component.rb | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cypress/integration/core/meganav/parity.spec.js b/cypress/integration/core/meganav/parity.spec.js index 47f1a821f..fe2dd9cf3 100644 --- a/cypress/integration/core/meganav/parity.spec.js +++ b/cypress/integration/core/meganav/parity.spec.js @@ -128,10 +128,10 @@ describe("Panels", () => { describe("UseCasesPanel", () => { it("looks the same on desktop", () => - cy.compareComponents(config("Use Cases", "desktop"))); + cy.compareComponents(config("Solutions", "desktop"))); it("looks the same on mobile", () => - cy.compareComponents(config("Use Cases", "mobile"))); + cy.compareComponents(config("Solutions", "mobile"))); }); describe("AccountPanel", () => { diff --git a/src/core/Meganav/component.json b/src/core/Meganav/component.json index 1c2ac7566..8d515acdb 100644 --- a/src/core/Meganav/component.json +++ b/src/core/Meganav/component.json @@ -30,7 +30,7 @@ }, "panels": [ { "label": "Platform", "shortLabel": "Platform", "id": "platform-panel", "component": "MeganavContentPlatform" }, - { "label": "Use Cases & Solutions", "shortLabel": "Use Cases", "id": "use-cases-panel", "component": "MeganavContentUseCases" }, + { "label": "Solutions", "shortLabel": "Solutions", "id": "use-cases-panel", "component": "MeganavContentUseCases" }, { "label": "Company", "shortLabel": "Company", "id": "company-panel", "component": "MeganavContentCompany" }, { "label": "Developers", "shortLabel": "Developers", "id": "developers-panel", "component": "MeganavContentDevelopers" } ] diff --git a/src/core/Meganav/component.rb b/src/core/Meganav/component.rb index 7a1b437bc..a781316a9 100644 --- a/src/core/Meganav/component.rb +++ b/src/core/Meganav/component.rb @@ -36,8 +36,8 @@ def panels class: 'AblyUi::Core::MeganavContentPlatform' }, { - label: 'Use Cases & Solutions', - short_label: 'Use Cases', + label: 'Solutions', + short_label: 'Solutions', id: 'use-cases-panel', class: 'AblyUi::Core::MeganavContentUseCases' }, From 8f988e97df281d8e25ffdb7174d54665d6cdc5e7 Mon Sep 17 00:00:00 2001 From: Arti M Date: Fri, 2 Dec 2022 14:26:33 +0000 Subject: [PATCH 2/3] Publish v8.7.0-dev.6c8bb4b and update preview app --- Gemfile.lock | 2 +- lib/ably_ui/version.rb | 2 +- package.json | 2 +- preview/Gemfile | 2 +- preview/Gemfile.lock | 4 ++-- preview/package.json | 2 +- preview/yarn.lock | 8 ++++---- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f652ad39c..864c7c9a3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - ably-ui (8.7.0.dev.0ce5893) + ably-ui (8.7.0.dev.6c8bb4b) view_component (>= 2.33, < 2.50) GEM diff --git a/lib/ably_ui/version.rb b/lib/ably_ui/version.rb index 4c279dffc..e98787457 100644 --- a/lib/ably_ui/version.rb +++ b/lib/ably_ui/version.rb @@ -1,3 +1,3 @@ module AblyUi - VERSION = '8.7.0.dev.0ce5893' + VERSION = '8.7.0.dev.6c8bb4b' end diff --git a/package.json b/package.json index 121225cc0..aba165257 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ably/ui", - "version": "8.7.0-dev.0ce5893", + "version": "8.7.0-dev.6c8bb4b", "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.", "repository": { "type": "git", diff --git a/preview/Gemfile b/preview/Gemfile index 1f5b91104..715ed5993 100644 --- a/preview/Gemfile +++ b/preview/Gemfile @@ -37,7 +37,7 @@ gem 'view_component', '~> 2.33.0', require: 'view_component/engine' gem 'responders' -gem 'ably-ui', '8.7.0.dev.0ce5893', require: 'ably_ui' +gem 'ably-ui', '8.7.0.dev.6c8bb4b', require: 'ably_ui' # https://stackoverflow.com/questions/71191685/visit-psych-nodes-alias-unknown-alias-default-psychbadalias gem 'psych', '< 4' diff --git a/preview/Gemfile.lock b/preview/Gemfile.lock index a1a2fc724..16658ca89 100644 --- a/preview/Gemfile.lock +++ b/preview/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - ably-ui (8.7.0.dev.0ce5893) + ably-ui (8.7.0.dev.6c8bb4b) view_component (>= 2.33, < 2.50) actioncable (6.0.5.1) actionpack (= 6.0.5.1) @@ -175,7 +175,7 @@ PLATFORMS x86_64-linux DEPENDENCIES - ably-ui (= 8.7.0.dev.0ce5893) + ably-ui (= 8.7.0.dev.6c8bb4b) bootsnap (>= 1.4.2) byebug dotenv-rails diff --git a/preview/package.json b/preview/package.json index 1f3c57286..a42d18a4d 100644 --- a/preview/package.json +++ b/preview/package.json @@ -2,7 +2,7 @@ "name": "preview", "private": true, "dependencies": { - "@ably/ui": "8.7.0-dev.0ce5893", + "@ably/ui": "8.7.0-dev.6c8bb4b", "@babel/preset-react": "^7.12.5", "@rails/ujs": "^6.0.0", "@rails/webpacker": "4.3.0", diff --git a/preview/yarn.lock b/preview/yarn.lock index 2f59b3bfc..773be78b2 100644 --- a/preview/yarn.lock +++ b/preview/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@ably/ui@8.7.0-dev.0ce5893": - version "8.7.0-dev.0ce5893" - resolved "https://registry.yarnpkg.com/@ably/ui/-/ui-8.7.0-dev.0ce5893.tgz#655da6a848a4018001ac0cb60d4a797559469bd5" - integrity sha512-4MJeSSzLFK+diPDdUCyO+rcTnvyJIaxkSdmrHiLJE9lUE58Z7zxSwS3nN3BwPmcyYddWtF63kcFU1tnCaZaZNQ== +"@ably/ui@8.7.0-dev.6c8bb4b": + version "8.7.0-dev.6c8bb4b" + resolved "https://registry.yarnpkg.com/@ably/ui/-/ui-8.7.0-dev.6c8bb4b.tgz#015daf0a1097cfa451331dc5be4d377f58321a7f" + integrity sha512-5BctlTNLwuQegXChq/3z0S1pzB2ntfjrbYZFC55kKLlv89LCFlWkTaZ1HYw4CPa/3SIxZxHXpyJXcDm0WX4eGw== dependencies: addsearch-js-client "^0.7.0" array-flat-polyfill "^1.0.1" From 0f339e0ebdacc37f718be00b1c3a13168137655d Mon Sep 17 00:00:00 2001 From: Arti M Date: Fri, 2 Dec 2022 14:40:38 +0000 Subject: [PATCH 3/3] tests: Updates tests for Solutions & Usecases --- cypress/integration/core/meganav/parity.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/core/meganav/parity.spec.js b/cypress/integration/core/meganav/parity.spec.js index fe2dd9cf3..47f1a821f 100644 --- a/cypress/integration/core/meganav/parity.spec.js +++ b/cypress/integration/core/meganav/parity.spec.js @@ -128,10 +128,10 @@ describe("Panels", () => { describe("UseCasesPanel", () => { it("looks the same on desktop", () => - cy.compareComponents(config("Solutions", "desktop"))); + cy.compareComponents(config("Use Cases", "desktop"))); it("looks the same on mobile", () => - cy.compareComponents(config("Solutions", "mobile"))); + cy.compareComponents(config("Use Cases", "mobile"))); }); describe("AccountPanel", () => {