Skip to content

messages flooding console #24

@glimpsedchaos

Description

@glimpsedchaos

Describe the bug
Viewing covid-19 or other dashboards on https://covid-19.splunkforgood.com/dashboard_hub
floods messages to the console, repeating with each autoupdate.js call this increasing memory usage in the browser.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Open dashboard, such as covid-19'
  2. Open whatever development tool in browser
  3. Check the console output
  4. See messages like the following:

main.d14d1855.chunk.js:1 Current version is 92b13f7
16:21:50.411 11.0380a9aa.chunk.js:2 Failed to calculate layout scale: containerWidth= 0 , width= 1800 ; falling back to scale=1
l.warn @ 11.0380a9aa.chunk.js:2
16:21:50.909 static/js/1.2d69059b.chunk.js:2 The option type 'string' for 'seriesColors' has been deprecated.
l.warn @ static/js/1.2d69059b.chunk.js:2
16:21:50.909 static/js/1.2d69059b.chunk.js:2 The option type 'string' for 'data.fieldShowList' has been deprecated.
l.warn @ static/js/1.2d69059b.chunk.js:2
16:21:50.909 static/js/1.2d69059b.chunk.js:2 The option type 'string' for 'data.fieldHideList' has been deprecated.
l.warn @ static/js/1.2d69059b.chunk.js:2
16:21:50.909 static/js/1.2d69059b.chunk.js:2 The option type 'string' for 'legend.labels' has been deprecated.
l.warn @ static/js/1.2d69059b.chunk.js:2
16:21:50.909 static/js/1.2d69059b.chunk.js:2 The option type 'string' for 'fieldColors' has been deprecated.
l.warn @ static/js/1.2d69059b.chunk.js:2
16:21:51.686 static/js/1.2d69059b.chunk.js:2 The option type 'string' for 'seriesColors' has been deprecated.
l.warn @ static/js/1.2d69059b.chunk.js:2
16:21:51.686 static/js/1.2d69059b.chunk.js:2 The option type 'string' for 'fieldColors' has been deprecated.
l.warn @ static/js/1.2d69059b.chunk.js:2
16:21:52.400 static/js/19.28086849.chunk.js:2 Theme property "LEGEND_FONT_COLOR" not available in default theme
16:21:52.400 static/js/19.28086849.chunk.js:2 Theme property "LEGEND_UNHIGHLIGHT_COLOR" not available in default theme
16:21:52.424 static/js/19.28086849.chunk.js:2 drawing a chart with dimensions: Object
16:21:52.424 static/js/19.28086849.chunk.js:2 drawing a chart with properties: Object
16:21:52.425 static/js/19.28086849.chunk.js:2 drawing a chart with data: Object
16:21:52.440 static/js/19.28086849.chunk.js:2 Theme property "AXIS_LABELS_FONT_COLOR" not available in default theme
16:21:52.440 static/js/19.28086849.chunk.js:2 Theme property "AXIS_TITLE_FONT_COLOR" not available in default theme
16:21:52.440 static/js/19.28086849.chunk.js:2 Theme property "AXIS_GRID_LINE_COLOR" not available in default theme
16:21:52.442 static/js/19.28086849.chunk.js:2 Theme property "AXIS_LABELS_FONT_COLOR" not available in default theme
16:21:52.442 static/js/19.28086849.chunk.js:2 Theme property "AXIS_TITLE_FONT_COLOR" not available in default theme
16:21:52.442 static/js/19.28086849.chunk.js:2 Theme property "AXIS_GRID_LINE_COLOR" not available in default theme
16:21:52.454 static/js/19.28086849.chunk.js:2 config object to be sent to highcharts: Object
16:21:53.033 static/js/19.28086849.chunk.js:2 Theme property "LEGEND_FONT_COLOR" not available in default theme
16:21:53.033 static/js/19.28086849.chunk.js:2 Theme property "LEGEND_UNHIGHLIGHT_COLOR" not available in default theme
16:21:53.109 static/js/19.28086849.chunk.js:2 drawing a chart with dimensions: Object
16:21:53.109 static/js/19.28086849.chunk.js:2 drawing a chart with properties: Object
16:21:53.110 static/js/19.28086849.chunk.js:2 drawing a chart with data: Object
16:21:53.113 static/js/19.28086849.chunk.js:2 Theme property "AXIS_LABELS_FONT_COLOR" not available in default theme
16:21:53.113 static/js/19.28086849.chunk.js:2 Theme property "AXIS_TITLE_FONT_COLOR" not available in default theme
16:21:53.113 static/js/19.28086849.chunk.js:2 Theme property "AXIS_GRID_LINE_COLOR" not available in default theme
16:21:53.113 static/js/19.28086849.chunk.js:2 Theme property "AXIS_LABELS_FONT_COLOR" not available in default theme
16:21:53.113 static/js/19.28086849.chunk.js:2 Theme property "AXIS_TITLE_FONT_COLOR" not available in default theme
16:21:53.113 static/js/19.28086849.chunk.js:2 Theme property "AXIS_GRID_LINE_COLOR" not available in default theme
16:21:53.125 static/js/19.28086849.chunk.js:2 config object to be sent to highcharts: Object

Expected behavior
Minimal console logging.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Tried in Chrome and Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions