-
Notifications
You must be signed in to change notification settings - Fork 1
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
Upgrade add-on to Ember.js v5.8.1 #190
base: master
Are you sure you want to change the base?
Conversation
84c6e31
to
07ee5a3
Compare
07ee5a3
to
3b47671
Compare
3b47671
to
c68d297
Compare
@@ -1,6 +1,6 @@ | |||
{{page-title "ember-reading-time"}} | |||
|
|||
<h1>Welcome to ember-reading-time</h1> | |||
<h2 id="title">Welcome to ember-reading-time</h2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change? I am not aware of a <h1>
already present in the page 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also coming from the blueprint:
https://github.com/ember-cli/ember-addon-output/blob/v5.8.1/tests/dummy/app/templates/application.hbs
More in sync with what's natively generated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to be a very very old line, so I am not sure it's intended. I've checked our dummy app and we don't have any <h1>
title, so our current code is slightly better in terms of DOM structure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I don't get what you mean. I am trying to understand.
Right now we have this:
<h1>Welcome to ember-reading-time</h1> |
and the blueprint applies this:
Why not reusing what is generated by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My opinion is this change is unnecessary. There's no particular reason to replace our <h1>
with a <h2>
, it's just the main title of our page. I don't know why the blueprint has this content, but we have no reason to follow it here, this is our dummy app.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but we have no reason to follow it here
Just to ease the upgrades by having less code diff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will revert that change, that's fine it's not blocking at all.
It's just, in my mind, while I understand what you said, I don't get why we want to deviate from the blueprint with such an unneeded change. (and then deal with conflict/code diff when upgrading, like in this PR)
69d0fc2
to
0616d57
Compare
Breaking
Upgrade add-on to
ember-cli
v5.8.1 (#190)The new requirements are:
Resolves #172 .
Closes #171 .
Closes #174 .
Closes #187 .
Closes #188 .
Closes #189 .