Skip to content

Replace @ember/render-modifiers with ember-modifier - #553

Open
NullVoxPopuli-ai-agent wants to merge 1 commit into
ember-learn:masterfrom
NullVoxPopuli-ai-agent:ember-modifier
Open

Replace @ember/render-modifiers with ember-modifier#553
NullVoxPopuli-ai-agent wants to merge 1 commit into
ember-learn:masterfrom
NullVoxPopuli-ai-agent:ember-modifier

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown

Replaces @ember/render-modifiers with ember-modifier, the direction the render-modifiers README itself recommends.

The one usage was in es-header-navbar-link.gjs: {{didInsert}} to capture the element and {{willDestroy}} to remove listeners. Both are now a single modifier() with its cleanup returned from the setup function, so the element capture and the teardown live in one place. This also lets us drop the no-at-ember-render-modifiers lint suppressions.

One step of an incremental path toward a v2 addon (see #551 for where this is heading), kept deliberately minimal per Keeping a clean git history.

Test plan

  • pnpm lint (js, hbs, css, format) passes
  • pnpm exec ember test passes (dropdown open/close tests cover this component)

🤖 Generated with Claude Code

The one usage was didInsert/willDestroy in es-header-navbar-link. A single
modifier() now captures the element and returns the listener cleanup, which
also removes the no-at-ember-render-modifiers lint suppressions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@netlify

netlify Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deploy Preview for ember-styleguide ready!

Name Link
🔨 Latest commit 92fa5cd
🔍 Latest deploy log https://app.netlify.com/projects/ember-styleguide/deploys/6a751a2fed22bb0009157c5c
😎 Deploy Preview https://deploy-preview-553--ember-styleguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@NullVoxPopuli-ai-agent NullVoxPopuli-ai-agent mentioned this pull request Aug 6, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant