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

UI: Update to Ember 3.16/Data 3.12 #8319

Merged
merged 5 commits into from
Jul 9, 2020
Merged

Conversation

backspace
Copy link
Contributor

@backspace backspace commented Jun 30, 2020

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.

@github-actions
Copy link

github-actions bot commented Jun 30, 2020

Ember Asset Size action

As of 66e55aa

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +48.2 kB +7.3 kB

Files that got Smaller 🎉:

File raw gzip
vendor.js -795 B -741 B

Files that stayed the same size 🤷‍:

File raw gzip
nomad-ui.css 0 B 0 B
vendor.css 0 B 0 B

@github-actions
Copy link

github-actions bot commented Jun 30, 2020

Ember Test Audit comparison

master 66e55aa change
passes 1429 1430 +1
failures 0 0 0
flaky 0 0 0
duration 4m 56s 954ms 6m 44s 861ms +1m 47s 907ms

Some interventions:
* changing template lint back to “recommended” vs “octane”
* returning Ember Data to 3.12
* deleted config/ember-cli-update.json
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.
@backspace backspace marked this pull request as ready for review July 6, 2020 15:19
Copy link
Contributor

@DingoEatingFuzz DingoEatingFuzz left a 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 {
}
Copy link
Contributor

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' },
Copy link
Contributor

Choose a reason for hiding this comment

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

🙌

@backspace backspace merged commit 2241b66 into master Jul 9, 2020
@backspace backspace deleted the f-ui/ember-3.16-lts-redux branch July 9, 2020 16:37
backspace added a commit that referenced this pull request Jul 13, 2020
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.
@github-actions
Copy link

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants