Skip to content

Saving a filter overwrites unloaded filters #2711

Closed
@mtrezza

Description

@mtrezza

New Issue Checklist

Issue Description

When saving a filter, the filters that are currently loaded in the dashboard are stored, overwriting any other filters that may have been added by other dashboard instances but not yet loaded by the current dashboard instance.

Steps to reproduce

  1. Open browser tab A to load dashboard.
  2. Open browser tab B to load dashboard.
  3. Save a filter a in tab A.
  4. Save a filter b in same class in tab B.
  5. Reload tab A --> only filter b is loaded, filter a has been overwritten by the save op in tab B.

Expected Outcome

Saving a filter appears to be storing all filters, but only a new filter should be added. This will prevent any overwrites of filters that have been added but are not loaded yet in the current dashboard.

Environment

Dashboard

  • Parse Dashboard version: 7.0.0-alpha.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionstate:released-alphaReleased as alpha versiontype:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions