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

Removed {{action}} helper from docs-app #410

Merged
merged 7 commits into from
Dec 5, 2024

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.

2 participants