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

BAPI for inspector / advanced settings #672

Closed
mtias opened this issue May 5, 2017 · 4 comments
Closed

BAPI for inspector / advanced settings #672

mtias opened this issue May 5, 2017 · 4 comments
Assignees
Labels
[Feature] Block API API that allows to express the block paradigm. General Interface Parts of the UI which don't fall neatly under other labels. [Type] Task Issues or PRs that have been broken down into an individual action to take
Milestone

Comments

@mtias
Copy link
Member

mtias commented May 5, 2017

I think it could maybe be an optional inspector() function in registerBlock that leverages Fill behind the scenes. I think we should not be prescriptive about what you can render in the sidebar, but provide basic form components eventually.

Examples for this use case:

  • Advanced embed settings (youtube settings, tweet settings, etc).
  • Query-like controls for blocks like "latest-posts".
@mtias mtias added [Feature] Block API API that allows to express the block paradigm. General Interface Parts of the UI which don't fall neatly under other labels. [Type] Task Issues or PRs that have been broken down into an individual action to take labels May 5, 2017
@mtias
Copy link
Member Author

mtias commented May 5, 2017

Somewhat related to #609.

@jasmussen
Copy link
Contributor

jasmussen commented May 5, 2017

Here are mockups of how the inspector could work.

When no block is selected, you see the normal sidebar:

image

As soon as you select a block, the sidebar shows the inspector:

image inspector

To get post settings back, just click anywhere to deselect a block. Or you can click the "Post" breadcrumb in the sidebar. Clicking the breadcrumb would also deselect any selected blocks.

@jasmussen
Copy link
Contributor

Also possibly related, #352

@jasmussen
Copy link
Contributor

See also #952

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block API API that allows to express the block paradigm. General Interface Parts of the UI which don't fall neatly under other labels. [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
None yet
Development

No branches or pull requests

3 participants