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: Change edition to Octane #8418

Merged
merged 4 commits into from
Jul 13, 2020
Merged

UI: Change edition to Octane #8418

merged 4 commits into from
Jul 13, 2020

Conversation

backspace
Copy link
Contributor

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 broke some tests and seemed preferable to separate out.

It didn’t require that many changes, probably because there aren’t that many
template-only components. One template needed an ...attributes to handle
a test selector, a few templates needed this. changed to @, and the
AttributesTable component needed its attributes property renamed to
avoid collision with splattributes. I chose the somewhat-clunky attributePairs
but I’m open to suggestions!

At first I was concerned that this would be a confusing developer experience,
not knowing whether to use this. or @ based on whether or not it was a
Glimmer component, but @ will almost always work, thankfully. One exception
I came across while preparing this PR was RescheduleEventRow, which
uses an overridable allocation property to either accept an allocation being
passed in or fetch one via allocationId, but that’s all I saw.

Without this, the data-test-* attributes used when invoking
the component had nowhere to go.
Since template-only components are now Glimmer components,
references that used to be available from this. now require
the @ sigil.
There was a conflict between this being called attributes
and the splattributes that are available for Glimmer
components.
@github-actions
Copy link

Ember Asset Size action

As of 6fec3f2

Files that got Smaller 🎉:

File raw gzip
nomad-ui.js -114 B +34 B

Files that stayed the same size 🤷‍:

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

@github-actions
Copy link

Ember Test Audit comparison

master 6fec3f2 change
passes 1287 1287 0
failures 0 0 0
flaky 0 0 0
duration 6m 19s 204ms 5m 59s 163ms -20s 041ms

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.

Looks good to me! attributePairs is as good a name as any.

@backspace backspace merged commit fc1fce6 into master Jul 13, 2020
@backspace backspace deleted the f-ui/octane branch July 13, 2020 14:26
@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 29, 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