Skip to content

refactor: fix examples not recognizing webcontainer stackblitz instances #23901

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

Conversation

devversion
Copy link
Member

Fixes that examples do not properly recognize webcontainer Stackblitz
instances. This causes some sidenav examples to not even work within
Stackblitz as a message Please open on Stackblitz is displayed.

Fixes #23895.

Fixes that examples do not properly recognize webcontainer Stackblitz
instances. This causes some sidenav examples to not even work within
Stackblitz as a message `Please open on Stackblitz` is displayed.

Fixes angular#23895.
@devversion devversion added P2 The issue is important to a large percentage of users, with a workaround merge safe target: patch This PR is targeted for the next patch release labels Nov 4, 2021
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 4, 2021
@devversion
Copy link
Member Author

devversion commented Nov 4, 2021

In the future, we could technically embed Stackblitz projects for these examples, so that users would not need to go to Stackblitz at all.. Not exactly sure about the problem sidenav examples though..

@devversion
Copy link
Member Author

devversion commented Nov 4, 2021

Just a note: From some brief experiments, it looks like we could serve these examples directly in the docs by forming a new containing block (i.e. by using a transform: translate3d(0, 0, 0)).. Might be worth looking into that in the future.

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn added the action: merge The PR is ready for merge by the caretaker label Nov 4, 2021
@amysorto amysorto merged commit e7a3f68 into angular:master Nov 4, 2021
amysorto pushed a commit that referenced this pull request Nov 4, 2021
…ces (#23901)

Fixes that examples do not properly recognize webcontainer Stackblitz
instances. This causes some sidenav examples to not even work within
Stackblitz as a message `Please open on Stackblitz` is displayed.

Fixes #23895.

(cherry picked from commit e7a3f68)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement P2 The issue is important to a large percentage of users, with a workaround target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(stackblitz samples demo): stackblitz URL invalid in regex, unable to view result
3 participants