Skip to content

Conversation

@ijlee2
Copy link
Collaborator

@ijlee2 ijlee2 commented Dec 5, 2024

Background

Ember 5.x deprecated the {{action}} helper. By removing the uses from docs-app/dummy (before removing those in addon), we can separate why ember-release, ember-beta, and ember-canary (all now point to 6.x) currently fail.

To remove the {{action}} helper and simplify the controllers, I created a reusable component called <DemoModal>. After refactoring the route templates to consume this component, I updated the sample code to not show the {{action}} helper anymore.

Comment on lines -31 to -33
assert.hasDataTest(
dialogSelector,
'my-data-test',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed the assertions with my-data-test, because they, in essence, test if Ember's splattributes work.

@ijlee2 ijlee2 marked this pull request as ready for review December 5, 2024 18:55
@ijlee2 ijlee2 requested a review from lukemelia December 5, 2024 18:55
@ijlee2 ijlee2 merged commit d7c0e58 into master Dec 5, 2024
9 checks passed
@ijlee2 ijlee2 deleted the remove-action-helper-in-docs-app branch December 5, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants