ryanwelcher / block-developer-cookbook

31 stars 6 forks source link

Block variations #7

Open ryanwelcher opened 1 year ago

troychaplin commented 1 year ago

Adding a variation to embed PowerBi would be a nice one too see

ryanwelcher commented 6 days ago

I'm thinking that I can combine this block bindings to create a paragraph block variation that is connected to some post meta.

troychaplin commented 6 days ago

I'm thinking that I can combine this block bindings to create a paragraph block variation that is connected to some post meta.

What about a table variations with auto-populated data? Would that be a good use case for block bindings?

ryanwelcher commented 6 days ago

What about a table variations with auto-populated data? Would that be a good use case for block bindings?

Great idea but the table block currently doesn't support block bindings. Just paragraph, header, button and image blocks are supported for now.

troychaplin commented 6 days ago

What about a table variations with auto-populated data? Would that be a good use case for block bindings?

That's much better idea! Maybe fake product data or something

Too much to consider an actual endpoint and show that kind of example? Is that something that would fall under the intention of block bindings? If so, there's a fun superhero endpoint that I've used for dev tests in the past that would add an extra layer of fun to the task

troychaplin commented 6 days ago

What about a table variations with auto-populated data? Would that be a good use case for block bindings?

Great idea but the table block currently doesn't support block bindings. Just paragraph, header, button and image blocks are supported for now.

Boo, that makes my follow up comment useless

ryanwelcher commented 6 days ago

Sorry! I really did love the idea and then remembered... :)

troychaplin commented 6 days ago

Sorry! I really did love the idea and then remembered... :)

All good, woulda been neat. Perhaps in the near future, data in a table sounds like an ideal example