generated from MokoConsulting/Template-Joomla
Admin menu: use COM_..._SHORT short-name constant (one-word naming pass) #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the org-wide MokoSuite component naming/consistency pass.
Current: the top-level Administrator → Components menu item uses the full constant
COM_MOKOSUITESIGHT(element iscom_mokosuitesight).Required (match MokoSuiteHQ / MokoSuiteClient):
<administration><menu>toCOM_MOKOSUITESIGHT_SHORT.COM_MOKOSUITESIGHT_SHORT="Insight"in the component's.sys.ini.Suggested short value: "Insight".
⚠️ Note: the element/constant stem is
mokosuitesight(missing the "in"). Worth confirming whether the element should becom_mokosuiteinsightfor consistency with the repo/product name.Draft PR opened: #16 — #16
Goes beyond the
_SHORTmenu-constant ask and does the full element rename you flagged:com_mokosuitesight→com_mokosuiteinsight(the element was missing the "in"), plus the missing admin.sys.iniwithCOM_MOKOSUITEINSIGHT_SHORT="Insight"wired into<administration>, and an idempotent postflight install migration (#__extensions/#__menu/#__assetsreconcile; no-op on fresh installs) so existing sites don't get a duplicate/orphaned extension.⚠ BREAKING — held as draft; needs staging test (fresh install + upgrade-from-old) before merge/release. Sibling
plg_system_/plg_webservices_/pkg_element renames and the#__mokosuitesight_*table rename are intentionally excluded (plugin owns the tables; renaming now would break it) and flagged for a follow-up issue. Details in the PR body.https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R