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

Renamed angular root node to avoid name collisions #2657

Merged
merged 9 commits into from
Jan 5, 2018

Conversation

alterx
Copy link
Member

@alterx alterx commented Jan 5, 2018

Angular CLI also uses app-root as the root node name and this could lead to weird bugs.

Issue: #2647

What I did

Renamed the angular root node. This is not directly related to the issue linked (the cause was different) but we should rename the node anyway.

How to test

yarn bootstrap --reset --core
cd examples/angular-cli
yarn storybook
open http://localhost:9009

Angular CLI also uses `app-root` as the root node name and this could lead to weird bugs.

Signed-off-by: Carlos Vega <[email protected]>
@alterx alterx added angular patch:yes Bugfix & documentation PR that need to be picked to main branch labels Jan 5, 2018
@alterx alterx self-assigned this Jan 5, 2018
@alterx alterx requested a review from ralzinov January 5, 2018 16:04
@@ -13,6 +13,6 @@
<%= htmlWebpackPlugin.options.data.previewHead %>
</head>
<body>
<app-root></app-root>
<storybook-dynamic-app-root></storybook-dynamic-app-roott>
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo

@codecov
Copy link

codecov bot commented Jan 5, 2018

Codecov Report

Merging #2657 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2657   +/-   ##
=======================================
  Coverage   34.34%   34.34%           
=======================================
  Files         389      389           
  Lines        8750     8750           
  Branches      898      898           
=======================================
  Hits         3005     3005           
  Misses       5156     5156           
  Partials      589      589
Impacted Files Coverage Δ
app/vue/src/server/config/babel.js 0% <0%> (-100%) ⬇️
app/react/src/server/utils.js 0% <0%> (-53.58%) ⬇️
app/vue/src/server/utils.js 53.57% <0%> (+53.57%) ⬆️
app/react/src/server/config/babel.js 100% <0%> (+100%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 994539d...59559c1. Read the comment docs.

@Hypnosphi Hypnosphi merged commit f74f032 into master Jan 5, 2018
@Hypnosphi Hypnosphi deleted the renaming-angular-root-node branch January 5, 2018 19:43
shilman pushed a commit that referenced this pull request Jan 7, 2018
Renamed angular root node to avoid name collisions
@alterx alterx mentioned this pull request Jan 7, 2018
@Hypnosphi Hypnosphi added the patch:done Patch/release PRs already cherry-picked to main/release branch label Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
angular patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants