Skip to content

Introduced template tags - #1218

Merged
jaredgalanis merged 6 commits into
ember-learn:mainfrom
ijlee2:convert-to-template-tag
Sep 2, 2026
Merged

Introduced template tags#1218
jaredgalanis merged 6 commits into
ember-learn:mainfrom
ijlee2:convert-to-template-tag

Conversation

@ijlee2

@ijlee2 ijlee2 commented Sep 2, 2026

Copy link
Copy Markdown
Member

Background

Ran ember-codemod-add-template-tags to remove all *.hbs files and hbs tags except for app/templates/head.hbs, which seems to be required by ember-cli-head.

@netlify

netlify Bot commented Sep 2, 2026

Copy link
Copy Markdown

Deploy Preview for ember-website ready!

Name Link
🔨 Latest commit 581773e
🔍 Latest deploy log https://app.netlify.com/projects/ember-website/deploys/6a97e2d820d6b2000817ddfa
😎 Deploy Preview https://deploy-preview-1218--ember-website.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.

Comment thread package.json
"ember-source": "~6.8.0",
"ember-styleguide": "^11.3.0",
"ember-styleguide": "^11.5.0",
"ember-template-imports": "^4.4.0",

@ijlee2 ijlee2 Sep 2, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ember-template-imports is required because the app doesn't run on @embroider/core@4.x and Vite.

Comment thread package.json
"normalize.css": "^8.0.1",
"prember": "^2.1.0",
"prettier": "^3.9.6",
"prettier-plugin-ember-hbs-tag": "^2.0.3",

@ijlee2 ijlee2 Sep 2, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No longer needed because there are no test files that use the hbs tag.

Comment thread app/templates/head.hbs
Comment on lines +1 to +3
<meta property="st:title" content={{this.model.pageTitle}} />
<meta property="og:title" content={{this.model.pageTitle}} />
<meta name="twitter:title" content={{this.model.pageTitle}} /> No newline at end of file

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@controller.model (what had been written before) caused assert.hasPageTitle()'s to fail, because the content attribute is missing a value. Replacing the syntax with this.model allowed the assertions to pass again.

@ijlee2
ijlee2 requested a review from a team September 2, 2026 08:54
@jaredgalanis
jaredgalanis merged commit 3aeb432 into ember-learn:main Sep 2, 2026
5 checks passed
@ijlee2
ijlee2 deleted the convert-to-template-tag branch September 2, 2026 16:09
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.

2 participants