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

improve IDE iframe injection #2578

Merged
merged 1 commit into from
Sep 28, 2016
Merged

improve IDE iframe injection #2578

merged 1 commit into from
Sep 28, 2016

Conversation

olexii4
Copy link
Contributor

@olexii4 olexii4 commented Sep 23, 2016

What does this PR do?

Improve IDE iframe injection

Signed-off-by: Oleksii Orel oorel@codenvy.com

@codenvy-ci
Copy link

@ashumilova ashumilova added this to the 5.0.0-M4 milestone Sep 26, 2016
@benoitf
Copy link
Contributor

benoitf commented Sep 26, 2016

I don't see what is the improvement or the reason of the change ? except hardcoding some iframe ?

@olexii4
Copy link
Contributor Author

olexii4 commented Sep 26, 2016

Now we have iframe dom injection every time when view content is loaded. Injector service tries to find an existing element with same id and deletes it. Next step - injector adds a new one iframe element. We still have problem with doubled iframe. Earlier I tried to fix it twice, but the problem still exists(hardly ever). @eivantsov showed me the new issue with doubled IDE iframe (I checked the version).
That is why i propose this solution as guaranteed one.

Copy link
Contributor

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

@olexii4 ok thanks for the explanation, PR context is more helpful now

@riuvshin riuvshin modified the milestones: 5.0.0-M5, 5.0.0-M4 Sep 27, 2016
Signed-off-by: Oleksii Orel <oorel@codenvy.com>
@olexii4 olexii4 merged commit e8f95aa into master Sep 28, 2016
@olexii4 olexii4 deleted the iframe_injection branch September 28, 2016 15:28
@bmicklea bmicklea mentioned this pull request Oct 8, 2016
56 tasks
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
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.

6 participants