feat(manifest): component uses Type - Name pretty name via <element> tag #299

Merged
jmiller merged 1 commits from feat/component-typename-display into dev 2026-07-16 19:27:53 +00:00
Owner

Brings the component into the Type - Name naming standard (all sub-extensions already comply). Pins the element with <element>com_mokosuitebackup</element> so the display can safely be Component - MokoSuiteBackup without deriving com_component-mokosuitebackup / orphaning the real component. Joomla 6.1 InstallerAdapter::getElement() reads before ; verified. Element stays com_mokosuitebackup (matches existing record on upgrade).

https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i

Brings the component into the Type - Name naming standard (all sub-extensions already comply). Pins the element with `<element>com_mokosuitebackup</element>` so the display <name> can safely be `Component - MokoSuiteBackup` without deriving com_component-mokosuitebackup / orphaning the real component. Joomla 6.1 InstallerAdapter::getElement() reads <element> before <name>; verified. Element stays com_mokosuitebackup (matches existing record on upgrade). https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
jmiller added 1 commit 2026-07-16 19:27:47 +00:00
feat(manifest): give the component a "Type - Name" pretty name safely
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Universal: PR Check / Secret Scan (pull_request) Successful in 7s
Generic: Project CI / Lint & Validate (pull_request) Successful in 11s
Universal: PR Check / Validate PR (pull_request) Failing after 9s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 9s
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
a4c8b72733
All sub-extensions already use the "Type - Name" convention; the
component was the exception because its <name> derives the element
(com_ + sanitized name), so "Component - MokoSuiteBackup" would produce
com_component-mokosuitebackup and orphan the real component.

Fix: pin the element with an explicit <element>com_mokosuitebackup</element>
tag. Joomla's InstallerAdapter::getElement() reads <element> before
falling back to <name>, so the element stays com_mokosuitebackup (matches
the existing record on upgrade — no orphan) while the Extensions manager
now shows "Component - MokoSuiteBackup". Manifest filename stays
mokosuitebackup.xml. Verified against Joomla 6.1 InstallerAdapter/
ComponentAdapter and manifest XML is well-formed.

Claude-Session: https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
jmiller force-pushed feat/component-typename-display from 719f597e39 to a4c8b72733 2026-07-16 19:27:47 +00:00 Compare
jmiller merged commit db9734b156 into dev 2026-07-16 19:27:53 +00:00
jmiller deleted branch feat/component-typename-display 2026-07-16 19:27:54 +00:00
jmiller referenced this issue from a commit 2026-07-16 22:00:38 +00:00
Sign in to join this conversation.