Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue3: Spurious warnings on load of dashboard (global formatters + formatters) #11786

Open
Tracked by #11773
rak-phillip opened this issue Aug 30, 2024 · 0 comments
Open
Tracked by #11773
Labels
area/vue3 kind/bug priority/2 QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Milestone

Comments

@rak-phillip
Copy link
Member

rak-phillip commented Aug 30, 2024

Rancher Dashboard produces several warnings related to installing global formatters on first login:

Skipping AppSummaryGraph install. Component already exists. [global-formatters.js:12](webpack://dashboard/shell/plugins/global-formatters.js)
Skipping BadgeStateFormatter install. Component already exists. [global-formatters.js:12](webpack://dashboard/shell/plugins/global-formatters.js)
Skipping Capitalize install. Component already exists. [global-formatters.js:12](webpack://dashboard/shell/plugins/global-formatters.js)
Skipping Checked install. Component already exists. [global-formatters.js:12](webpack://dashboard/shell/plugins/global-formatters.js)
Skipping CloudCredPublicData install. Component already exists. [global-formatters.js:12](webpack://dashboard/shell/plugins/global-formatters.js)
Skipping ClusterLink install. Component already exists. [global-formatters.js:12](webpack://dashboard/shell/plugins/global-formatters.js)

Steps to reproduce

  • Refresh on any page
  • Review logs in browser console

Additional info

  • Skipping X install. Component already exists.
  • see shell/plugins/global-formatters.js and shell/plugins/formatters.js
  • example const components = require.context('@shell/components/formatter', false, /[A-Z]\w+.(vue)$/);
  • Low Impact - code handles duplicates, warning is only in debug
@rak-phillip rak-phillip changed the title Case 1 - Spurious warnings on load of dashboard (global formatters + formatters) Vue3: Spurious warnings on load of dashboard (global formatters + formatters) Aug 30, 2024
@rak-phillip rak-phillip added this to the v2.10.0 milestone Aug 30, 2024
@github-actions github-actions bot added QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this and removed area/vue3 labels Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vue3 kind/bug priority/2 QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Projects
None yet
Development

No branches or pull requests

3 participants