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

Unify structure options with native form builder #39

Open
ricokahler opened this issue Sep 23, 2021 · 1 comment
Open

Unify structure options with native form builder #39

ricokahler opened this issue Sep 23, 2021 · 1 comment

Comments

@ricokahler
Copy link
Owner

Hey @ricokahler I went to try this out in my project - what I'd like to see is the same formatting - or at least the same options - for functions that configure the results super pane. In this case using a GROQ with existing $id parameter.

S.listItem(id)
    .title('Normal List per Band')
    .child(
      createSuperPane(S)
      .schemaType('product')
      .title('Product List')
      .filter(`_type == "product" && references($id)`)
      .params({ id })
      ),

vs

S.listItem(id)
    .title('Normal List per Band')
    .child(
      createSuperPane('product', S)
      ),

I could also make great use of exposing the bulk actions menu to custom document actions as you've mentioned above!

Originally posted by @BenjaminWalsh in #2 (comment)

@ricokahler
Copy link
Owner Author

hi @BenjaminWalsh 👋

I think this is a great idea! I'm slightly busy atm but we're happily accepting PRs if you want to propose something and/or implement anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant