From feaff082a9e363f2c820d70d04b3cad142ec8688 Mon Sep 17 00:00:00 2001 From: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:21:59 -0300 Subject: [PATCH] Fix inconsistent help menu (#139) --- .../src/integration_tests/build.test.ts | 12 + src/core/public/chrome/chrome_service.tsx | 1 + src/core/public/chrome/constants.ts | 5 + .../header/__snapshots__/header.test.tsx.snap | 6 + .../header_help_menu.test.tsx.snap | 234 +++++++++++++----- .../public/chrome/ui/header/header.test.tsx | 1 + src/core/public/chrome/ui/header/header.tsx | 2 + .../ui/header/header_help_menu.test.tsx | 1 + .../chrome/ui/header/header_help_menu.tsx | 43 +++- .../core_app/assets/logos/google_groups.svg | 29 +++ .../core_app/assets/logos/icon_dark.svg | 17 ++ .../core_app/assets/logos/icon_light.svg | 13 + src/core/tsconfig.json | 10 +- 13 files changed, 295 insertions(+), 79 deletions(-) create mode 100644 src/core/server/core_app/assets/logos/google_groups.svg create mode 100644 src/core/server/core_app/assets/logos/icon_dark.svg create mode 100644 src/core/server/core_app/assets/logos/icon_light.svg diff --git a/packages/osd-plugin-helpers/src/integration_tests/build.test.ts b/packages/osd-plugin-helpers/src/integration_tests/build.test.ts index 780682d27658..37e5b3aacd98 100644 --- a/packages/osd-plugin-helpers/src/integration_tests/build.test.ts +++ b/packages/osd-plugin-helpers/src/integration_tests/build.test.ts @@ -101,9 +101,15 @@ it('builds a generated plugin into a viable archive', async () => { info running @osd/optimizer │ info initialized, 0 bundles cached │ info starting worker [1 bundle] + │ warn worker stderr Browserslist: caniuse-lite is outdated. Please run: + │ warn worker stderr npx update-browserslist-db@latest + │ warn worker stderr Why you should do it regularly: https://github.com/browserslist/update-db#readme │ succ 1 bundles compiled successfully after