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

Arrays of Pointers dont render correctly #275

Open
r2DoesInc opened this issue Apr 18, 2016 · 7 comments
Open

Arrays of Pointers dont render correctly #275

r2DoesInc opened this issue Apr 18, 2016 · 7 comments
Labels
bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) type:feature New feature or improvement of existing feature

Comments

@r2DoesInc
Copy link

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • [x ] You're running version >=2.1.4 of Parse Server.
  • [x ] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Steps to reproduce

Pointers render with a link to the object its pointer to, unless that pointer is in an array.

[{"__type":"Pointer","className":"Connection","objectId":"8vCiwc7J1T"},{"__type":"Pointer","className":"Connection","objectId":"HHv9Oa6qFE"},{"__type":"Pointer","className":"Connection","objectId":"LTRsJIYBIH"}]

It would be nice if the pointers in an array rendered and linked to the object its pointing to as well.

Logs/Trace

Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.

@MobileVet
Copy link

Could the same parsing that is done on 'pointer' columns be applied when __type:Pointer is identified in the array?

@AntonelloCherry
Copy link

Any news about this? It could be very useful

@r2DoesInc
Copy link
Author

Therr is rreally no point to be using Parse these days.

@AntonelloCherry
Copy link

Therr is rreally no point to be using Parse these days.

Why? Any valid alternative to suggest?

@r2DoesInc
Copy link
Author

r2DoesInc commented Dec 9, 2019 via email

@dplewis
Copy link
Member

dplewis commented Dec 9, 2019

@r2DoesInc I believe it was decided to make Array and Object fields to be generic as possible. This fixed a lot of decoding issues from the database.

Your feature request is still up for grabs. Unfortunately we don't have enough React developers in this Dashboard repo.

@AntonelloCherry Would you like to open a PR to addressed this? We are more than welcome to help.

Parse is quite active and better than ever!

@MobileVet
Copy link

Therr is rreally no point to be using Parse these days.

Maybe not for you, but this is a very active community and there are still quite a few people using it. Yes there are alternatives, but some may prefer to avoid 'the great Google in the sky' or other options and Parse is a strong, open source alternative.

davimacedo pushed a commit that referenced this issue Jul 26, 2021
* pointer array

* fix for array

Co-authored-by: Faisal Nadeem <mfaisalnadeem@hotmail.com>
beiguancyc pushed a commit to beiguancyc/parse-dashboard that referenced this issue Aug 24, 2021
* source: (112 commits)
  ci(changelog): add changelog reminder (parse-community#1764)
  Added missing entry to readme toc
  Fix typo in changelog
  Release 2.2.0 (parse-community#1763)
  fixed incorrect row height (related to parse-community#1754)
  Open pointer in new browser tab with [Cmd] click (parse-community#1757)
  Exclude hidden fields  (parse-community#1734)
  fix: upgrade react-ace from 9.4.1 to 9.4.3 (parse-community#1762)
  Sidebar collapse (parse-community#1760)
  cell select height fix (parse-community#1754)
  CSV Export of class data (parse-community#1494)
  fix: upgrade @babel/runtime from 7.14.6 to 7.14.8 (parse-community#1755)
  Cloning Rows (parse-community#1697)
  Improve cell value copying of pointer cell (parse-community#1708)
  Browse as Parse.User (Continuation) (parse-community#1750)
  Delete index.html
  Arrays of Pointers dont render correctly parse-community#275 (parse-community#1727)
  Add option to create a field after creating a class parse-community#1726 (parse-community#1728)
  fixed comment style in issue template
  removing PR test from issue template
  ...

# Conflicts:
#	package-lock.json
#	package.json
#	src/dashboard/Data/Jobs/Jobs.react.js
@mtrezza mtrezza added bounty:$5 Bounty applies for fixing this issue (Parse Bounty Program) and removed pr submitted labels Sep 30, 2021
@mtrezza mtrezza added bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) and removed bounty:$5 Bounty applies for fixing this issue (Parse Bounty Program) labels Nov 6, 2021
@mtrezza mtrezza added type:feature New feature or improvement of existing feature and removed type:improvement labels Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

6 participants