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

Add relational filter conditions #2496

Open
3 tasks done
mtrezza opened this issue Jul 19, 2023 · 1 comment
Open
3 tasks done

Add relational filter conditions #2496

mtrezza opened this issue Jul 19, 2023 · 1 comment
Labels
bounty:$100 Bounty applies for fixing this issue (Parse Bounty Program) type:feature New feature or improvement of existing feature

Comments

@mtrezza
Copy link
Member

mtrezza commented Jul 19, 2023

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

  • purchases in a Purchase class with a _User pointer field
  • transactions in a Transaction class with a _User pointer field

To filter all users who

  • made purchases of shoes (in Purchase class)
  • with a transaction using a credit card (in Transaction class)

The filter dialog could look like this:

image

Alternatives / Workarounds

n/a

@parse-github-assistant
Copy link

parse-github-assistant bot commented Jul 19, 2023

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added type:feature New feature or improvement of existing feature bounty:$100 Bounty applies for fixing this issue (Parse Bounty Program) labels Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$100 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

1 participant