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

Resolve action helper/modifier deprecations #525

Merged
merged 5 commits into from
Nov 12, 2024
Merged

Conversation

Windvis
Copy link
Contributor

@Windvis Windvis commented Nov 12, 2024

This inlines the ember-data-table components and resolves the action helper/modifier deprecations in their code.

Inlining the components makes our custom overrides easier to maintain since we're extending base classes. We can include the addon again once a new version is released that allows us to wrap them instead of having to extend like we're doing now.

I've split off the inlining / deprecation solving work from the type work in #498 since fixing the deprecations unblock Ember v6 support.

Includes the relevant changes from this PR: mu-semtech/ember-data-table#36

Closes #511

This copies over the ember-data-table .js code so we no longer need the addon itself. We were already overriding all the templates. This will make things easier to maintain and improve in the future.

Linting errors are silenced with inline ignore comments. They will be fixed once we convert the code to .gts.
It seems we were still depending on the one from the ember-data-table addon.
It seems we accidentally prefixed a block variable with `this` when resolving some deprecation warnings.
This copies over the data table tests that aren't empty and does the bare minimum to make them pass with our custom templates.
@Windvis Windvis changed the title Inline ember data tables Inline the ember-data-table components Nov 12, 2024
@Windvis Windvis force-pushed the inline-ember-data-tables branch from afd11a4 to 94d6693 Compare November 12, 2024 12:59
@Windvis Windvis added the enhancement Used when the PR adds a new feature or enhancement. label Nov 12, 2024
@Windvis Windvis changed the title Inline the ember-data-table components Resolve action helper/modifier deprecations Nov 12, 2024
@Windvis Windvis merged commit 9e5fccb into master Nov 12, 2024
10 checks passed
@Windvis Windvis deleted the inline-ember-data-tables branch November 12, 2024 13:23
@Windvis Windvis mentioned this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Used when the PR adds a new feature or enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ember 5.12 deprecations
1 participant