Skip to content

Refreshing browser removes widget data until next data push #176

Description

@qthatswho

Describe the bug
Refreshing the browser window removes widget data until the next data push from the jobs. This did not occur in Dashing.

To Reproduce
Steps to reproduce the behavior:

  1. smashing start
  2. load the dashboard in a browser
  3. post data to the widgets from a dashing job
  4. Refresh the browser page
  5. Note that data no longer shows in widget (specifically in my case, the Number widget)

Expected behavior
Previously data posted to a widget should persist through a browser refresh

Desktop (please complete the following information):

  • OS: macOS Big Sur
  • Browser Safari
  • Version 14.0.2
  • Ruby: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]

Additional context
it''s common during development to need to refresh the dashboard HTML a lot, and often times the jobs will not run for quite a while, and it can be unnecessarily taxing to re-run some of the jobs just to fill back in the data to test the changes to the view.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions