parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

Keep cell selected after data browser refresh

Open mtrezza opened this issue 1 year ago • 1 comments

New Feature / Enhancement Checklist

Current Limitation

When clicking "Refresh" in the data browser, the cell stays selected in the same row / column position, even if the document moved to a different row. The user may mistake the selected cell as being the previously selected cell which can lead to user errors.

Feature / Enhancement Description

  • Remember the objectId and selected field of the document and select the same cell even if its position has moved. Also the field name should be explicitly remembered, instead of just the row / column coordinates.
  • If the specific document and field are not in the data browser anymore after a refresh, no cell should be selected to avoid confusion.

Example Use Case

  1. Browse to _User class.
  2. Sort ordered by createdAt.
  3. Select a cell in row 1 (document A).
  4. Refresh the data browser.
  5. Assuming that a new document B has been created in the meantime, that is now in row 1.
  6. The selected cell is now of document B instead of document A, but it should be in row 2 of document A.

Alternatives / Workarounds

None.

mtrezza avatar Dec 11 '24 13:12 mtrezza

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!