-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
ui: Implements the ember-page-title addon to the UI #7118
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great @kaxcode! My one request is to add test coverage.
Consul uses Gherkin for acceptance testing, and I suspect since these would be the first title tests, you'll have to add new functionality to the existing steps the Gherkin tests use.
@johncowen will know what to do 🙂
95a29f2
to
0976206
Compare
* Installs ember-page-title 5.x * Adds a page title to all template files that need one * Adds an assertion step to test the page titles
0976206
to
60b0db8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @kaxcode
I gave this a spin and it looks great! Super stoked you got into the testing and down to writing your own steps 🎉
I'd say this is good to merge as is, but I left one comment about looking at that head.hbs
file, maybe just check see if thats still needed or not.
@@ -0,0 +1 @@ | |||
<title>{{model.title}}</title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this file only needed for when you are using FastBoot? Maybe try and remove it and see if everything is fine. We don't run in FastBoot so if we don't need this file we could leave it out of the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I commented this file out and the page titles broke. This is a required file with or without FastBoot.
Installs ember-page-title 5.x
Adds a page title to all template files that need one
Adds an assertion step to test the page titles