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

Update how to generate Block Kit Builder URL in demo page #172

Merged
merged 2 commits into from
Jun 26, 2020

Conversation

yhatt
Copy link
Owner

@yhatt yhatt commented Jun 26, 2020

Resolves #168. We will remove a limitation of the length for preview URL.

The classic URL query could not preview the huge generated JSON in jsx-slack demo because Slack returns 414 error. (e.g. https://speee-jsx-slack.netlify.app/#modalListOfInformationTicketApp)

limitation

New Block Kit Builder allows passing JSON through hash (#xxx) as same as our demo. It won't be prevented preview even if to pass too long URI.

By this change we can remove a limitation of the length for preview URL.
@yhatt
Copy link
Owner Author

yhatt commented Jun 26, 2020

Confirmed that https://deploy-preview-172--speee-jsx-slack.netlify.app/#modalListOfInformationTicketApp lets preview button work completely 😄

@yhatt yhatt merged commit b6ba2d2 into master Jun 26, 2020
@yhatt yhatt deleted the new-url-generation-for-bkb branch June 26, 2020 08:23
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.

Remove a limitation of preview button in too long JSON payload on REPL demo
1 participant