parse-community / parse-dashboard

A dashboard for managing Parse Server
https://parseplatform.org
Other
3.73k stars 1.38k forks source link

Add relational filter conditions #2496

Closed mtrezza closed 2 weeks ago

mtrezza commented 1 year ago

New Feature / Enhancement Checklist

Current Limitation

The filter dialog in the data browser currently only allows to filter for fields in the current class. It's not possible to add a filter condition that relates to another class.

Feature / Enhancement Description

Add filter conditions that relate to other classes. Since Parse Dashboard knows the entire schema, it also knows which other classes have a pointer to the currently displayed class; it can use that information to allow for filtering by fields of these related classes.

The filter dialog could be extended with a drop-down for related classes and its fields.

Example Use Case

A user in the _User class may have

To filter all users who

The filter dialog could look like this:

image

Alternatives / Workarounds

n/a

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

vardhan0604 commented 1 month ago

@mtrezza, is bounty still available for this issue?

mtrezza commented 1 month ago

@vardhan0604 sure, please feel free to go ahead and submit a PR

parseplatformorg commented 2 weeks ago

🎉 This change has been released in version 6.0.0-alpha.9