prisma / prisma-admin-feedback

Feedback for Prisma Admin (currently in invite-only preview)
6 stars 1 forks source link

UI for managing filters #69

Open kuldar opened 5 years ago

kuldar commented 5 years ago

Why

While reducing focus from the actual GraphQL query, we still need to make it possible for users to filter down the table into a list of results they're interested in.

Changes

screenshot 2019-01-29 at 16 31 50

Questions

FluorescentHallucinogen commented 5 years ago

What about using something similar to OneGraph Explorer (or the Explorer itself) for that? :wink:

I worry about the flexibility of this solution.

It seems Explorer allows to construct as complex queries as possible (including filter combinators OR, AND and NOT) only with mouse clicks. Please correct me if I'm wrong.

Rationale on the OneGraph blog:

Integration to GraphQL Playground:

FluorescentHallucinogen commented 5 years ago

Here's my vision (a slightly modified version of Explorer tab from Playground v2 concept):

explorer-mod