Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clean up block config #70

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

Merged
merged 2 commits into from
Dec 6, 2022
Merged

Clean up block config #70

merged 2 commits into from
Dec 6, 2022

Conversation

Wattenberger
Copy link
Contributor

Just a little bit of cleanup:

  • removed hacky demos
  • removed block from block names
  • removed block from block ids (other than code & markdown blocks, to prevent breakage)
  • made the descriptions more consistent
  • remove vestigial sandbox config params

Copy link

@jaked jaked left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"title": "Drawing block",
"description": "A whiteboard tool",
"sandbox": false,
"id": "excalidraw",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should leave the ids alone? they don't matter much in the UI, and there is metadata that references them that would need updating.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we're okay for these really specific use cases - Blocks will default to the next most specific block if it can't find the one specified, so things like https://blocks.githubnext.com/githubnext/blocks/blob/main/examples/drawing.excalidraw?blockKey=githubnext__blocks-examples__excalidraw2&fileRef= will still work. More than gappy to revert if you feel strongly, though!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

er, happy, not gappy

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not feel strongly, garry on

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

Successfully merging this pull request may close these issues.

3 participants