Skip to content

Conversation

@dotproto
Copy link
Contributor

Historically add-ons documentation has used email address-style ID names. This has created confusion among developers and lead to a variety of incorrect assumptions about the requirements, behaviors, limitations, and validation steps associated with these IDs.

In order to sidestep the confusion created by this format, this commit replaces replaces the email convention (e.g. addon-name@example.com) with a simpler @-prefixed ID (e.g. @example). This should better communicate that the ID needs to be a unique value in a global namespace while still enabling developers to choose human-readable names for their add-ons.

@dotproto dotproto requested a review from rebloor July 22, 2025 21:47
@dotproto
Copy link
Contributor Author

Blocked by #2022. Once that lands, this should be rebased.

dotproto added 3 commits July 22, 2025 15:05
Historically add-ons documentation has used email
address-style ID names. This has created confusion
among developers and lead to a variety of
incorrect assumptions about the requirements,
behaviors, limitations, and validation steps
associated with these IDs.

In order to sidestep the confusion created by this
format, this commit replaces replaces the email
convention (e.g. addon-name@example.com) with a
simpler @-prefixed ID (e.g. @example). This should
better communicate that the ID needs to be a
unique value in a global namespace while still
enabling developers to choose human-readable names
for their add-ons.
@dotproto
Copy link
Contributor Author

#2022 has been merged and this PR is has been rebased on top of the updated on top of the master branch.

I also updated the template to replace inline HTML with the appropriate set of liquid templates. This addresses a minor issue where this page's table of contents appeared halfway the page rather than below the header.

dotproto added 2 commits July 22, 2025 15:48
This should be addressed in a separate update.
Copy link
Collaborator

@rebloor rebloor left a comment

Choose a reason for hiding this comment

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

@dotproto change you look good to me. Are you going to make the parallel changes to MDN or would you like me to do that?

@dotproto
Copy link
Contributor Author

@rebloor, if you could, that would help quite a bit. Hm, I guess we should also apply this to the examples repo. I'll start looking at that now.

@dotproto dotproto merged commit 94ea948 into master Jul 25, 2025
1 check passed
@dotproto dotproto deleted the guid-guidance branch July 25, 2025 20:01
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.

3 participants