From f24b335fbed5f694ccca95d2fd2f14f4c3ade071 Mon Sep 17 00:00:00 2001
From: Edward Lu <36934022+edlu77@users.noreply.github.com>
Date: Wed, 23 Oct 2024 17:01:56 -0400
Subject: [PATCH] Cde nav header updates (#778)
* Update app logos component
* Add sidenav to nav header and update landing page
* Add product logos to design system
* Update nav header with product logo DS component
* Rename App Logos to Nav Header Buttons
* Add software status indicator
* Updates to nav header components
* Small changes to nav header styles
* Adjust header styling
* Remove duplication
* Software status indicator updates
* Updates to sidenav demo
* Sidenav updates
* Tweaks
* Testing and documentation
* Fix testing
---
.../create-visualization-page.component.html | 5 +-
.../create-visualization-page.component.scss | 3 +-
.../create-visualization-page.component.ts | 102 +++++++++-
.../landing-page/landing-page.component.html | 8 +-
.../landing-page/landing-page.component.scss | 2 +
.../landing-page.component.spec.ts | 2 +
.../landing-page/landing-page.component.ts | 10 +-
libs/design-system/app-logos/src/index.ts | 1 -
.../src/lib/app-logos.component.html | 19 --
.../src/lib/app-logos.component.scss | 93 ---------
.../src/lib/app-logos.component.spec.ts | 39 ----
.../src/lib/app-logos.component.stories.ts | 47 -----
.../app-logos/src/lib/app-logos.component.ts | 33 ---
.../assets/icons/products/3d_organ_models.svg | 22 ++
.../icons/products/3d_organ_models_large.svg | 22 ++
.../assets/icons/products/api.svg | 12 ++
.../assets/icons/products/api_large.svg | 12 ++
.../assets/icons/products/app_library.svg | 24 +++
.../icons/products/app_library_large.svg | 24 +++
.../assets/icons/products/asctb_reporter.svg | 21 ++
.../products/asctb_reporter_large.svg} | 0
.../assets/icons/products/cde.svg | 20 ++
.../products/cde_large.svg} | 0
.../icons/products/cell_population_graphs.svg | 13 ++
.../products/cell_population_graphs_large.svg | 13 ++
.../assets/icons/products/cpp.svg | 20 ++
.../assets/icons/products/cpp_large.svg | 20 ++
.../assets/icons/products/dashboards.svg | 12 ++
.../products/dashboards_large.svg} | 0
.../assets/icons/products/design_system.svg | 18 ++
.../icons/products/design_system_large.svg | 18 ++
.../assets/icons/products/dev_portal.svg | 18 ++
.../icons/products/dev_portal_large.svg | 18 ++
.../assets/icons/products/eui.svg | 16 ++
.../eui.svg => icons/products/eui_large.svg} | 0
.../assets/icons/products/ftu.svg | 14 ++
.../products/ftu_large.svg} | 0
.../icons/products/human_atlas_stories.svg | 18 ++
.../products/human_atlas_stories_large.svg | 18 ++
.../assets/icons/products/millitome.svg | 21 ++
.../assets/icons/products/millitome_large.svg | 21 ++
.../assets/icons/products/omaps.svg | 14 ++
.../assets/icons/products/omaps_large.svg | 14 ++
.../assets/icons/products/organ_gallery.svg | 13 ++
.../icons/products/organ_gallery_large.svg | 13 ++
.../assets/icons/products/rui.svg | 12 ++
.../products/rui_large.svg} | 0
.../assets/icons/products/top.svg | 23 +++
.../assets/icons/products/top_large.svg | 23 +++
.../assets/icons/products/vccf.svg | 37 ++++
.../assets/icons/products/vccf_large.svg | 37 ++++
.../assets/icons/products/web_components.svg | 21 ++
.../icons/products/web_components_large.svg | 21 ++
.../{app-logos => brandmark}/ng-package.json | 0
.../src/lib/brandmark.component.scss | 9 +
.../nav-header-buttons/ng-package.json | 5 +
.../nav-header-buttons/src/index.ts | 1 +
.../src/lib/nav-header-buttons.component.html | 29 +++
.../src/lib/nav-header-buttons.component.scss | 50 +++++
.../lib/nav-header-buttons.component.spec.ts | 28 +++
.../nav-header-buttons.component.stories.ts | 66 ++++++
.../src/lib/nav-header-buttons.component.ts | 45 +++++
.../src/lib/nav-header.component.html | 53 ++++-
.../src/lib/nav-header.component.scss | 91 ++++++++-
.../src/lib/nav-header.component.spec.ts | 17 +-
.../src/lib/nav-header.component.stories.ts | 164 +++++++++++++--
.../src/lib/nav-header.component.ts | 48 ++++-
.../product-logo/ng-package.json | 5 +
libs/design-system/product-logo/src/index.ts | 1 +
.../src/lib/product-logo.component.html | 1 +
.../src/lib/product-logo.component.scss | 11 +
.../src/lib/product-logo.component.ts | 28 +++
.../src/lib/product-logo.stories.ts | 61 ++++++
.../software-status-indicator/ng-package.json | 5 +
.../software-status-indicator/src/index.ts | 1 +
...oftware-status-indicator-size.directive.ts | 29 +++
.../software-status-indicator.component.html | 8 +
.../software-status-indicator.component.scss | 12 ++
...ware-status-indicator.component.stories.ts | 38 ++++
.../software-status-indicator.component.ts | 36 ++++
.../apps-sidenav-demo.component.html | 37 ++--
.../apps-sidenav-demo.component.scss | 71 +++++--
.../apps-sidenav-demo.component.ts | 190 +++++++++---------
libs/design-system/styles/_typography.scss | 8 +
tsconfig.base.json | 15 +-
85 files changed, 1739 insertions(+), 431 deletions(-)
delete mode 100644 libs/design-system/app-logos/src/index.ts
delete mode 100644 libs/design-system/app-logos/src/lib/app-logos.component.html
delete mode 100644 libs/design-system/app-logos/src/lib/app-logos.component.scss
delete mode 100644 libs/design-system/app-logos/src/lib/app-logos.component.spec.ts
delete mode 100644 libs/design-system/app-logos/src/lib/app-logos.component.stories.ts
delete mode 100644 libs/design-system/app-logos/src/lib/app-logos.component.ts
create mode 100644 libs/design-system/assets/icons/products/3d_organ_models.svg
create mode 100644 libs/design-system/assets/icons/products/3d_organ_models_large.svg
create mode 100644 libs/design-system/assets/icons/products/api.svg
create mode 100644 libs/design-system/assets/icons/products/api_large.svg
create mode 100644 libs/design-system/assets/icons/products/app_library.svg
create mode 100644 libs/design-system/assets/icons/products/app_library_large.svg
create mode 100644 libs/design-system/assets/icons/products/asctb_reporter.svg
rename libs/design-system/assets/{logo/asctb-reporter.svg => icons/products/asctb_reporter_large.svg} (100%)
create mode 100644 libs/design-system/assets/icons/products/cde.svg
rename libs/design-system/assets/{logo/cde_logo.svg => icons/products/cde_large.svg} (100%)
create mode 100644 libs/design-system/assets/icons/products/cell_population_graphs.svg
create mode 100644 libs/design-system/assets/icons/products/cell_population_graphs_large.svg
create mode 100644 libs/design-system/assets/icons/products/cpp.svg
create mode 100644 libs/design-system/assets/icons/products/cpp_large.svg
create mode 100644 libs/design-system/assets/icons/products/dashboards.svg
rename libs/design-system/assets/{logo/dashboards_logo.svg => icons/products/dashboards_large.svg} (100%)
create mode 100644 libs/design-system/assets/icons/products/design_system.svg
create mode 100644 libs/design-system/assets/icons/products/design_system_large.svg
create mode 100644 libs/design-system/assets/icons/products/dev_portal.svg
create mode 100644 libs/design-system/assets/icons/products/dev_portal_large.svg
create mode 100644 libs/design-system/assets/icons/products/eui.svg
rename libs/design-system/assets/{logo/eui.svg => icons/products/eui_large.svg} (100%)
create mode 100644 libs/design-system/assets/icons/products/ftu.svg
rename libs/design-system/assets/{logo/ftu_logo.svg => icons/products/ftu_large.svg} (100%)
create mode 100644 libs/design-system/assets/icons/products/human_atlas_stories.svg
create mode 100644 libs/design-system/assets/icons/products/human_atlas_stories_large.svg
create mode 100644 libs/design-system/assets/icons/products/millitome.svg
create mode 100644 libs/design-system/assets/icons/products/millitome_large.svg
create mode 100644 libs/design-system/assets/icons/products/omaps.svg
create mode 100644 libs/design-system/assets/icons/products/omaps_large.svg
create mode 100644 libs/design-system/assets/icons/products/organ_gallery.svg
create mode 100644 libs/design-system/assets/icons/products/organ_gallery_large.svg
create mode 100644 libs/design-system/assets/icons/products/rui.svg
rename libs/design-system/assets/{logo/atlas_apps.svg => icons/products/rui_large.svg} (100%)
create mode 100644 libs/design-system/assets/icons/products/top.svg
create mode 100644 libs/design-system/assets/icons/products/top_large.svg
create mode 100644 libs/design-system/assets/icons/products/vccf.svg
create mode 100644 libs/design-system/assets/icons/products/vccf_large.svg
create mode 100644 libs/design-system/assets/icons/products/web_components.svg
create mode 100644 libs/design-system/assets/icons/products/web_components_large.svg
rename libs/design-system/{app-logos => brandmark}/ng-package.json (100%)
create mode 100644 libs/design-system/nav-header-buttons/ng-package.json
create mode 100644 libs/design-system/nav-header-buttons/src/index.ts
create mode 100644 libs/design-system/nav-header-buttons/src/lib/nav-header-buttons.component.html
create mode 100644 libs/design-system/nav-header-buttons/src/lib/nav-header-buttons.component.scss
create mode 100644 libs/design-system/nav-header-buttons/src/lib/nav-header-buttons.component.spec.ts
create mode 100644 libs/design-system/nav-header-buttons/src/lib/nav-header-buttons.component.stories.ts
create mode 100644 libs/design-system/nav-header-buttons/src/lib/nav-header-buttons.component.ts
create mode 100644 libs/design-system/product-logo/ng-package.json
create mode 100644 libs/design-system/product-logo/src/index.ts
create mode 100644 libs/design-system/product-logo/src/lib/product-logo.component.html
create mode 100644 libs/design-system/product-logo/src/lib/product-logo.component.scss
create mode 100644 libs/design-system/product-logo/src/lib/product-logo.component.ts
create mode 100644 libs/design-system/product-logo/src/lib/product-logo.stories.ts
create mode 100644 libs/design-system/software-status-indicator/ng-package.json
create mode 100644 libs/design-system/software-status-indicator/src/index.ts
create mode 100644 libs/design-system/software-status-indicator/src/lib/software-status-indicator-size.directive.ts
create mode 100644 libs/design-system/software-status-indicator/src/lib/software-status-indicator.component.html
create mode 100644 libs/design-system/software-status-indicator/src/lib/software-status-indicator.component.scss
create mode 100644 libs/design-system/software-status-indicator/src/lib/software-status-indicator.component.stories.ts
create mode 100644 libs/design-system/software-status-indicator/src/lib/software-status-indicator.component.ts
diff --git a/apps/cde-ui/src/app/pages/create-visualization-page/create-visualization-page.component.html b/apps/cde-ui/src/app/pages/create-visualization-page/create-visualization-page.component.html
index 52bebf107..974426d74 100644
--- a/apps/cde-ui/src/app/pages/create-visualization-page/create-visualization-page.component.html
+++ b/apps/cde-ui/src/app/pages/create-visualization-page/create-visualization-page.component.html
@@ -1,8 +1,9 @@