grist-core
grist-core copied to clipboard
Align with Block Protocol
There seems to be some overlap between widgets support in Grist and "Block Protocol".
It might make sense to get some inspiration from Block Protocol Specification or even align how Grist does the interaction.
Thanks @dumblob for the pointer. I found their FAQ helpful to understand how this relates to other efforts. I'm still having some trouble imagining concrete examples of putting this to work.
This somewhat touched the vision I outlined in https://github.com/gristlabs/grist-core/issues/38#issuecomment-1046794975 . So perhaps Grist users/customers could use the "apps" (I would call them widgets) from the Block Hub. And perhaps also push own apps to the Block Hub (or your Grist Hub or their own company's Hub).
It is one of the ways how to extend the reach of Grist IMHO.
Or maybe if Grist client libraries used primarily Block-inspired (or even Block-compatible) API, it might also be of advantage to all three participants (Grist, Blockprotocol, customer).
IDK, it is just ideas (I admit I didn't look at the Block spec in very detail, so it might be totally off for Grist in which case I am sorry for all the fuss).
Maybe a concrete example to think about the video block I see on their hub https://blockprotocol.org/@hash/blocks/video. @berhalak recently added a custom widget to view videos in Grist https://github.com/gristlabs/grist-widget/pull/28. Might be a starting point to think about how one could have been used in place of the other.