-
Notifications
You must be signed in to change notification settings - Fork 805
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
fix: Better element ID naming for disambiguation (fixes #74) #77
Conversation
@bsmth I would like a feedback about the name. I try to go as simple as possible. It shouldn't change to much but still distinguishable. |
Hi there, sorry I forgot to reply. I've added myself as a reviewer so I don't forget. |
simple-template/index.html
Outdated
@@ -31,4 +33,4 @@ <h1>Simple template</h1> | |||
</my-paragraph> | |||
|
|||
</body> | |||
</html> | |||
</html> |
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.
(minor one, it's flagged here as no newline at end of file)
Hi @ngdangtu-vn what do you think about these changes? 😄 Some comments for you to have a look at. Thanks! |
I'm so sorry, I thought I left feedback already. Turn out I didn't :)) I personally don't mind to use shorter name. However, because this example will be used across the MDN doc as small pieces (not a whole example), I decided to go with more semantic than short words. What do you think? |
Not a problem!
Yes, I see what you mean. What about |
Yup, that's better. |
Nice, I've edited the suggestions if you want to have a look 👀 |
Co-authored-by: Brian Thomas Smith <[email protected]>
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.
Thanks a lot! This looks good to me, I think we can merge and create a PR in mdn/content to update the code and prose there to reflect the naming change!
Actually I'll hold off on merging until we're happy with the content PR. The pages that need an update are in the linked issue, as far as I can see. |
@bsmth So for now, we agree with the new name for the template tag ID and starting to update the content on other MDN pages. Could you confirm if I understand correctly? If so, I'll start on update the tag ID on other MDN pages :) |
Yes! That sounds good, when you are ready with changes, you can tag me in the PR and I will happily review! Thank you |
Let's get it merged 🚢 |
Summary
Suggest a new name for template ID in simple-template example.
Related issues
Fixes #74
Related content pull request
Later...