Skip to content

Saving a filter overwrites unloaded filters #2711

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

Open
4 tasks done
mtrezza opened this issue Mar 31, 2025 · 1 comment · May be fixed by #2769
Open
4 tasks done

Saving a filter overwrites unloaded filters #2711

mtrezza opened this issue Mar 31, 2025 · 1 comment · May be fixed by #2769
Labels
bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mtrezza
Copy link
Member

mtrezza commented Mar 31, 2025

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
Copy link

parse-github-assistant bot commented Mar 31, 2025

🚀 Thanks for opening this issue!

ℹ️ You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added type:bug Impaired feature or lacking behavior that is likely assumed bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) labels Mar 31, 2025
@mtrezza mtrezza changed the title Saving a filter overwrites other filters Saving a filter overwrites unloaded filters Mar 31, 2025
@dblythy dblythy linked a pull request Apr 27, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant