We kindly request the review or removal of the undocumented HubSpot Asset Marketplace Theme requirement that prohibits custom modules from having the same label as default modules.
1.
As theme creators, we strive to have greater control over our custom theme modules, and we believe that the labeling of these modules should not be restricted. The idea of using "Some prefix Button" or "Theme name Button" instead of simply "Button" module label appears illogical and unfriendly to end users, undermining the cohesiveness of the theme. Unfortunately, we find ourselves facing limited options:
Prefixing all our custom modules with "Theme name...module" would result in peculiar and illogical module names. Since editors are already aware they are using our theme, there is no need to constantly remind them of it through module labels.
Naming only the default-like modules with the prefix "Theme name..." would create an awkward disparity in module naming. For instance:
Theme name Link
Card
Theme name Button
Hero Image
Finding an alternative naming approach could either compromise semantic accuracy or introduce redundancy:
Using "Links" instead of "Link" or "Buttons" instead of "Button" raises semantic concerns.
Employing names like "Link-bla" or "Button-bla" would appear redundant.
Considering these limitations, we kindly urge you to reconsider this aspect and provide us with more flexibility in labeling our custom modules.
2.
Since theme modules and default modules are already segregated into distinct tabs, namely "Theme modules" and "Common modules", it seems reasonable to conclude that having identically labeled modules in different tabs should pose no issue.
3.
As an alternative solution, maybe this rule can be skipped when we hide official modules in our theme. So end user will not see two modules with the same label while using our Theme.
our theme.json:
...
"hidden_modules": [
"@hubspot/rich_text",
"@hubspot/button",
"@hubspot/form",
"@hubspot/linked_image",
"@hubspot/icon",
"@hubspot/divider",
"@hubspot/horizontal_spacer",
"@hubspot/text",
"@hubspot/page_footer",
"@hubspot/section_header",
"@hubspot/header"
],
...
***
We kindly request a thorough review of this specific rule.
Thanks
...read more