From 9313646eab152e3296cc1601d85f9e14f48ccfff Mon Sep 17 00:00:00 2001 From: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:25:08 +0100 Subject: [PATCH] Fix inconsistent help menu --- .../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