Add COM_MOKOJOOMBACKUP_SHORT and apply short name to views and admin menu #200

Merged
jmiller merged 2 commits from chore/short-name-branding into main 2026-07-04 20:20:38 +00:00
Owner

Summary

Adds a short-name constant and applies it across the admin UI.

  • Adds COM_MOKOJOOMBACKUP_SHORT="Backup" to the component .ini and .sys.ini (en-GB + en-US) so both view titles and the admin sidebar menu resolve it.
  • Prefixes every admin view's toolbar title with the short brand via the constant (e.g. Backup: Dashboard, Backup: Records, Backup: Profiles, Backup: Content Snapshots, Backup: Detail), and tightens the view title strings that redundantly led with "Backup"/"MokoSuiteBackup".
  • Admin sidebar top-level menu now shows the short name. Hardcoded as Backup in the manifest per the package-XML convention (no language strings in package XML).

Notes

  • The _SHORT language constant is used only in PHP view files (allowed); the package manifest uses the hardcoded literal.
  • The broader package-XML naming convention pass (all manifests → hardcoded titles/descriptions, Type - Name <name> format) is tracked separately.

Test plan

  • Admin sidebar shows Backup as the top-level menu item.
  • Each admin view heading reads Backup: <Page>.
  • No raw language constants render (en-GB fallback covers en-US gaps).
## Summary Adds a short-name constant and applies it across the admin UI. - Adds `COM_MOKOJOOMBACKUP_SHORT="Backup"` to the component `.ini` and `.sys.ini` (en-GB + en-US) so both view titles and the admin sidebar menu resolve it. - Prefixes every admin view's toolbar title with the short brand via the constant (e.g. **Backup: Dashboard**, **Backup: Records**, **Backup: Profiles**, **Backup: Content Snapshots**, **Backup: Detail**), and tightens the view title strings that redundantly led with "Backup"/"MokoSuiteBackup". - Admin sidebar top-level menu now shows the short name. **Hardcoded** as `Backup` in the manifest per the package-XML convention (no language strings in package XML). ## Notes - The `_SHORT` language constant is used only in PHP view files (allowed); the package manifest uses the hardcoded literal. - The broader package-XML naming convention pass (all manifests → hardcoded titles/descriptions, `Type - Name` `<name>` format) is tracked separately. ## Test plan - [ ] Admin sidebar shows **Backup** as the top-level menu item. - [ ] Each admin view heading reads `Backup: <Page>`. - [ ] No raw language constants render (en-GB fallback covers en-US gaps).
jmiller added 2 commits 2026-07-04 19:21:35 +00:00
feat: add COM_MOKOJOOMBACKUP_SHORT and apply short name to views and admin menu
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 23s
a808789acb
- Add COM_MOKOJOOMBACKUP_SHORT="Backup" to the component .ini and .sys.ini
  (en-GB + en-US) so both view titles and the admin sidebar menu resolve it.
- Prefix every admin view's toolbar title with the short brand via the
  constant (e.g. "Backup: Dashboard", "Backup: Records"), and tighten the
  view title strings that redundantly led with "Backup"/"MokoSuiteBackup".
- Admin sidebar top-level menu now shows the short name. Hardcoded as
  "Backup" in the manifest per the package-xml convention (no language
  strings in package XML).
chore(version): pre-release bump to 02.52.27-dev [skip ci]
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 35s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Successful in 5m7s
1be16af5a4
jmiller merged commit 23360f4cbc into main 2026-07-04 20:20:38 +00:00
jmiller deleted branch chore/short-name-branding 2026-07-04 20:20:39 +00:00
Sign in to join this conversation.