Skip to content
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

Filter tab disappears #1140

Closed
3 tasks done
mtrezza opened this issue Jul 15, 2019 · 2 comments
Closed
3 tasks done

Filter tab disappears #1140

mtrezza opened this issue Jul 15, 2019 · 2 comments
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mtrezza
Copy link
Member

mtrezza commented Jul 15, 2019

  • You're running version >=1.0.23 of Parse Dashboard.

  • You're running version >=2.3.2 of Parse Server

  • You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

  • Parse Dashboard v1.3.3

Issue

A filter tab (top right corner) that has been opened, automatically disappears in some cases. When the tab is re-opened, any previously set filter settings have disappeared.

The filter tab disappears in the following cases:

  1. A field has been edited and the confirmation dialog in the bottom right corner disappears.
  2. A collection has finished loading.

Steps to reproduce

For case 1):

  1. Double click on a field to edit it
  2. Change the field value
  3. Click the filter tab
  4. Editing confirmation dialog appears and disappears
  5. Filter tap disappears

For case 2):

  1. Open a collection or filter by a field that takes some seconds (e.g. an unindexed field)
  2. Click the filter tab
  3. The collection has finished loading and the table is updated
  4. Filter tab disappears

Expected behavior

Filter tab should stay open and not be automatically closed

Logs/Trace

@davimacedo davimacedo added the type:bug Impaired feature or lacking behavior that is likely assumed label Jul 15, 2019
@davimacedo
Copy link
Member

@mtrezza thanks for reporting. Would you be willed to tackle this one?

@mtrezza
Copy link
Member Author

mtrezza commented Jul 17, 2019

Gave it a shot but I leave this for someone with more React knowledge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

2 participants