-
Notifications
You must be signed in to change notification settings - Fork 2k
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
UI: Update to Ember 3.16/Data 3.12 #8319
Conversation
Ember Asset Size actionAs of 66e55aa Files that got Bigger 🚨:
Files that got Smaller 🎉:
Files that stayed the same size 🤷:
|
Ember Test Audit comparison
|
Some interventions: * changing template lint back to “recommended” vs “octane” * returning Ember Data to 3.12 * deleted config/ember-cli-update.json
d8a439f
to
cb884b7
Compare
This was throwing an error trying to fetch a non-existent id.
The ClientDetail.attributesTable assertion was failing because it becoming a template-only component meant that the data-test-attributes selector had no element to attach to. Having the edition set to Octane in package.json causes an error to be thrown when template-only-glimmer-components is turned off, so it’ll have to go for now.
This is mostly a direct replacement of partials with components. In some cases, the components needed a layout or injected services that were formerly available via containing scope.
cb884b7
to
66e55aa
Compare
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.
This PR somehow makes it all feel official.
Great progress on the upgrade effort!
|
||
@tagName('') | ||
export default class SvgPatterns extends Component { | ||
} |
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.
Wow, I haven't thought about this partial in awhile.
@@ -7,5 +7,6 @@ self.deprecationWorkflow.config = { | |||
{ handler: 'throw', matchId: 'ember-console.deprecate-logger' }, | |||
{ handler: 'throw', matchId: 'ember-test-helpers.rendering-context.jquery-element' }, | |||
{ handler: 'throw', matchId: 'ember-cli-page-object.is-property' }, | |||
{ handler: 'throw', matchId: 'ember-views.partial' }, |
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.
🙌
This updates the Ember edition setting to Octane, which I removed from #8319 because it required the template-only Glimmer components setting to be turned on, which this does. These changes to templates accommodate that setting.
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
This updates to Ember 3.16 but leaves Ember Data at 3.12 so we don’t need
to use the model fragments beta. It can be reviewed on a commit-by-commit
basis: blueprint updates, fixes for test failures, and the removal of
now-deprecated partials.
It’s not a true update to Octane as that would involve turning on template-only
components by default, which breaks various things. We can accomplish that
separately and then add the edition setting to
package.json
.