Skip to content

Some tabs appearing as blank after switching to v5 #269

@elliotmatson

Description

@elliotmatson

Describe the bug
After migrating to v5, 2 of the 4 custom tabs on my ESP-DASH instance load as empty, and occasionally the default tab doesn't load in the sidebar. I've tried forcing a refresh with dashboard.sendUpdates(true), but that doesn't seem to resolve the issue. I inspected the websocket traffic and the ESP32 appears to be sending the correct data for widgets on those pages, but I admittedly don't have a ton of JS experience, so I'm not completely sure.

To Reproduce
Unfortunately I can't provide the full codebase I'm seeing this issue on, but I'm working on a minimal example to reproduce this consistently

Expected behavior
Widgets should be showing up on those tabs

Screenshots

Image Image

Additional context
One of these tabs is occasionally updated from another FreeRTOS task. I haven't gotten a chance to inspect the source code of this library yet, but maybe some of the methods aren't thread safe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions