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

Refactor Redirect Dialog for Open Block #29076

Merged
merged 2 commits into from Jun 12, 2019
Merged

Conversation

epeach
Copy link

@epeach epeach commented Jun 11, 2019

There are two RedirectDialog components. This PR renames one as ExternalRedirectDialog - this is the dialog that is called when a student uses the open block in AppLab. This PR also updates the ExternalRedirectDialog story and wraps the url of very long links.

wordWrap

Copy link
Contributor

@joshlory joshlory left a comment

Choose a reason for hiding this comment

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

What is the other RedirectDialog used for?

const styles = {
title: {
display: 'inline',
wordWrap: 'break-word'
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@epeach
Copy link
Author

epeach commented Jun 12, 2019

From what I can tell, the other redirect dialog is used for redirecting students to different versions of scripts, so only redirecting within the code.org world, where as this one redirects folks outside of code.org.

@epeach epeach merged commit 8892dc3 into staging Jun 12, 2019
@epeach epeach deleted the refactor-redirect-dialog branch July 2, 2019 20:51
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.

None yet

2 participants