-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Un-hidden columns contain empty fields #1716
Comments
Thanks @mtrezza for detailed instruction to reproduce the issue. But, I still could not reproduce the issue. could you please check below gif & tell me which step I am missing ? Steps I followed -
|
You did it correctly. Could you try to create a new column and repeat it with that? Maybe it only happens for certain columns. |
Still was not able to reproduce the issue. |
This is what I see on Safari. Note that without refreshing, the column contains data after un-hiding it. But after refreshing, it does not contain data when un-hiding it. I am using branch 2a4479a. I think the simple question is, if columns a not fetched when they are hidden, how would the data show in the column after un-hiding it? Or does un-hiding a column trigger a query? Screen.Recording.2021-05-29.at.16.34.39.mov |
I tried to reproduce this on Chrome, Safari browsers but could not reproduce this. I tried the master branch and the commit but can't reproduce this. |
What do you guys think about automatically refreshing the data everytime a new column is marked as visible? |
Yes, that was my previous question:
I tested with current masters of parse server (parse-community/parse-server@0638e5e) and parse dashboard (b044768) with Safari and Chrome (both not in private mode). Server and dashboard run locally and the dashboard runs with If that is the case, then the video in #1716 (comment) does not make sense, because where would the data come from. @sadakchap can you confirm that there is no server request when the column is unhidden? |
@mtrezza, I tried to add a breakpoint before exclude query. Please see the below gif.
From above gif, I think maybe some problem in getting column preference from localstorage as it is always null and Could you please try to reproduce this issue after clearing localstorage. |
I think it is clear from above video, that we are unable to get columns from local storage. Here's the pr #1734 for that. |
Well, I think that is the simple explanation, isn't it? Where would the column data come from if a previous query excluded the field.
The request should exclude the field, so that should not happen. That was the point of #1694. If you cannot reproduce the issue, you may not be using the current |
Yes but, the previous request actually never excluded the field. Please refer the video above once more. You can see the Network tab.
I think I am using latest |
@mtrezza can we close this one? |
Yes, closed with #1734 |
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!
Issue
The PR #1694 excluded hidden columns from being fetched from the server. When showing previously hidden columns, the values for the un-hidden fields are
(undefined)
, because their values have not been fetched. Clicking the "Reset" button loads the fields.Instructions
The text was updated successfully, but these errors were encountered: