web-components-examples icon indicating copy to clipboard operation
web-components-examples copied to clipboard

fix: Better element ID naming for disambiguation (fixes #74)

Open ngdangtu-vn opened this issue 1 year ago • 4 comments
trafficstars

Summary

Suggest a new name for template ID in simple-template example.

Related issues

Fixes #74

Related content pull request

Later...

ngdangtu-vn avatar Mar 21 '24 00:03 ngdangtu-vn

@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.

ngdangtu-vn avatar Mar 21 '24 00:03 ngdangtu-vn

Hi there, sorry I forgot to reply. I've added myself as a reviewer so I don't forget.

bsmth avatar Apr 04 '24 09:04 bsmth

Hi @ngdangtu-vn what do you think about these changes? 😄 Some comments for you to have a look at. Thanks!

bsmth avatar May 02 '24 08:05 bsmth

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?

ngdangtu-vn avatar May 04 '24 10:05 ngdangtu-vn

I'm so sorry, I thought I left feedback already. Turn out I didn't :))

Not a problem!

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?

Yes, I see what you mean. What about custom-paragraph (to get rid of my in this case)?

bsmth avatar May 06 '24 08:05 bsmth

What about custom-paragraph (to get rid of my in this case)?

Yup, that's better.

ngdangtu-vn avatar May 06 '24 16:05 ngdangtu-vn

What about custom-paragraph (to get rid of my in this case)?

Yup, that's better.

Nice, I've edited the suggestions if you want to have a look 👀

bsmth avatar May 07 '24 10:05 bsmth

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 avatar May 14 '24 08:05 bsmth

@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 :)

ngdangtu-vn avatar May 14 '24 09:05 ngdangtu-vn

@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

bsmth avatar May 14 '24 12:05 bsmth

Let's get it merged 🚢

bsmth avatar Jun 24 '24 09:06 bsmth