Simplify component.php to minimal layout with conditional analytics #82

Merged
Copilot merged 78 commits from copilot/fix-breaking-overrides into main 2026-03-17 21:42:02 +00:00

78 Commits

Author SHA1 Message Date
e0697a18d0 Update templateDetails.xml 2026-03-08 13:22:09 -05:00
2b7a2cfd1f Update templateDetails.xml 2026-03-08 13:21:31 -05:00
copilot-swe-agent[bot]
c8abdf03b2 Simplify component.php to show only logo and footer with light theme
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 17:54:05 +00:00
copilot-swe-agent[bot]
a8a7a69945 Add logo/brand display to component.php layout
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 03:51:32 +00:00
copilot-swe-agent[bot]
d7ff91d90d Add conditional custom palette loading and user.js support to all templates
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 03:30:34 +00:00
copilot-swe-agent[bot]
086ccebd80 Changes before error encountered
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 01:34:59 +00:00
copilot-swe-agent[bot]
ed8b7fdef1 Add file existence checks and fix JSON formatting
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 01:33:03 +00:00
copilot-swe-agent[bot]
2b385e57ab Remove alternative palette refs and make custom palette loading conditional
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 01:31:14 +00:00
copilot-swe-agent[bot]
dc5b59c973 Convert theme stylesheets to use Joomla Web Asset Manager
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 01:02:04 +00:00
copilot-swe-agent[bot]
a273ece724 Finalize hard-coded theme stylesheet loading
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 00:57:11 +00:00
copilot-swe-agent[bot]
c4e8306d1b Update all documentation references to new custom palette naming
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 00:56:17 +00:00
copilot-swe-agent[bot]
cd5b94da94 Rename custom palette files and hard-code theme style registration
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 00:54:42 +00:00
copilot-swe-agent[bot]
eb5f718039 Changes before error encountered
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 00:24:05 +00:00
copilot-swe-agent[bot]
af1f18e720 Migrate colors directory to theme with consistent naming convention
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 00:21:10 +00:00
copilot-swe-agent[bot]
fb87111cbc Updated plan: Rename colors→theme with consistent naming
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-08 00:17:41 +00:00
copilot-swe-agent[bot]
bee3614223 Changes before error encountered
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 23:25:40 +00:00
13ae912a9b Create index.html
Signed-off-by: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 16:58:10 -06:00
e43782a4b3 Delete src/media/css/theme
Signed-off-by: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 16:57:46 -06:00
73dca77b45 Create theme
Signed-off-by: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 16:57:32 -06:00
copilot-swe-agent[bot]
2c53ccdec5 Add user.css and user.js to gitignore, move CLAUDE.md to .github
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 22:42:00 +00:00
copilot-swe-agent[bot]
fac8812aeb Complete color variable conversion - zero hardcoded colors remaining
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 22:02:18 +00:00
copilot-swe-agent[bot]
81066dd359 Convert choices.js component colors to CSS variables
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 22:00:05 +00:00
copilot-swe-agent[bot]
eab5926006 Convert Gable component colors to CSS variables
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 21:57:51 +00:00
copilot-swe-agent[bot]
892c1b4d7f Convert link utilities and Gable component colors to CSS variables
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 21:56:22 +00:00
copilot-swe-agent[bot]
b574bb1004 Add list-group-item color variables for all Bootstrap variants
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 21:53:36 +00:00
copilot-swe-agent[bot]
c682349c29 Document new CSS variables for opacity, shadows, and Bootstrap components
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 21:50:02 +00:00
copilot-swe-agent[bot]
bb900de8c6 Convert form and alert colors to CSS variables
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 21:48:06 +00:00
copilot-swe-agent[bot]
3e7816ad17 Update documentation for custom color templates and font requirements
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 21:38:35 +00:00
copilot-swe-agent[bot]
3df4439aca Add opacity utilities and convert hardcoded colors to CSS variables
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 21:38:00 +00:00
copilot-swe-agent[bot]
4fec18a7fc Add complete Bootstrap button definitions to dark theme and create color templates
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 21:34:50 +00:00
copilot-swe-agent[bot]
8159b134a5 Address final code review feedback
- Add setup notes to font CSS files about required downloads
- Restore alert-warning class for font note (important setup info)
- Fix alignment in success message border

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 20:53:18 +00:00
copilot-swe-agent[bot]
3881dfd3df Fix code review issues: version numbers and headers
- Update font CSS files to use version 03.08.04 (current release)
- Add copyright header to GOOGLE_FONTS_README.md
- Fix border alignment in download-google-fonts.sh header

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 20:51:30 +00:00
copilot-swe-agent[bot]
34057518c8 Remove Google Fonts CDN dependencies
- Update templateDetails.xml to use local font CSS files only
- Add Noto Sans and Fira Sans as local font options
- Remove Google Fonts CDN preconnect links from index.php
- Remove Google Fonts CDN preconnect links from component.php
- Remove Google Fonts CDN preconnect link from offline.php

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 20:43:39 +00:00
copilot-swe-agent[bot]
6130302312 Add self-hosted Google Fonts infrastructure
- Create @font-face CSS files for Roboto, Noto Sans, Fira Sans
- Add download script for Google Fonts (download-google-fonts.sh)
- Add GOOGLE_FONTS_README.md with download instructions
- Font files ready for woff2 files to be added

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 20:42:51 +00:00
copilot-swe-agent[bot]
4e81b95fdf Remove client fork references from documentation
- Update README.md to remove client fork sections
- Update CLAUDE.md to remove client fork file references
- Update copilot-instructions.md to remove client fork section
- Update templates/README.md for empty directory
- Update scripts/README.md to remove create-client-fork.sh
- Update docs/README.md to remove CLIENT_FORK_WORKFLOW.md references

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 20:41:28 +00:00
copilot-swe-agent[bot]
e8a432c82a Remove client fork infrastructure and update nav padding
- Remove client fork automation script and workflow
- Remove client fork documentation and templates
- Update .container-header nav padding to 0 2rem

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-07 20:37:06 +00:00
6b2ba5548f Delete user.css 2026-03-07 14:04:06 -06:00
copilot-swe-agent[bot]
566f2df8f7 Remove deprecated CLIENT_FORK_README files and update references
- Removed CLIENT_FORK_README.md (deprecated - replaced by CLIENT_FORK_WORKFLOW.md)
- Removed templates/CLIENT_FORK_README_TEMPLATE.md (no longer needed)
- Updated README.md to reference CLIENT_FORK_WORKFLOW.md for client forks
- Updated docs/README.md project structure to reflect changes
- Updated CLAUDE.md to reference CLIENT_FORK_WORKFLOW.md
- Updated .github/copilot-instructions.md to document colors-only approach
- All references now point to simplified workflow documentation

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-04 05:21:35 +00:00
copilot-swe-agent[bot]
ded3cc53d9 Simplify client fork workflow to colors only
- Created templates/gitignore-template for client forks
- Updated scripts/create-client-fork.sh to only handle colors
- Updated .github/workflows/create-client-fork.yml to match simplified workflow
- Updated docs/CLIENT_FORK_WORKFLOW.md with colors-only approach
- Updated templates/README.md to remove custom code fork references
- Client forks now only track custom color files, not README or custom code

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-04 05:18:35 +00:00
copilot-swe-agent[bot]
8ef43ed38c Add CLAUDE.md context file for Claude Code integration
- Create comprehensive context file for Claude Code
- Document repository structure and conventions
- Include file header requirements with examples
- Add coding standards from .editorconfig and phpcs.xml
- Document PHP, JavaScript, and CSS requirements
- Include commit message format and validation steps
- Add contribution workflow and PR checklist
- List critical policy documents for contributors

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-04 04:52:18 +00:00
copilot-swe-agent[bot]
30b488d6a7 Add comprehensive GitHub Copilot instructions file
- Created .github/copilot-instructions.md with project-specific guidance
- Documented critical non-replacement override philosophy
- Included coding standards, conventions, and best practices
- Added Joomla template-specific guidelines
- Documented file headers, language files, and asset management
- Included development workflow and testing procedures
- Added common patterns and important do's/don'ts
- Linked to key documentation references

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-04 01:18:27 +00:00
copilot-swe-agent[bot]
81b46db3dd Hardcode XML description in templateDetails.xml instead of using language constant
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 08:11:56 +00:00
copilot-swe-agent[bot]
f910e1e704 Fix language file installation paths in templateDetails.xml
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 08:07:30 +00:00
copilot-swe-agent[bot]
705dc33114 Fix language file issue - remove metadata from .ini files
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 08:02:37 +00:00
copilot-swe-agent[bot]
82427e18ca Restructure language files - move .sys.ini and .ini to same folders
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 07:56:01 +00:00
copilot-swe-agent[bot]
f63827149b docs: Add manual deployment guide for src directory uploads
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 07:52:13 +00:00
copilot-swe-agent[bot]
0ad1f4d77b Fix: Add language and administrator folders to templateDetails.xml files section
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 07:46:26 +00:00
copilot-swe-agent[bot]
bb3636a232 Fix: Correct administrator folder attribute to just "administrator"
The folder attribute should specify the base destination directory, not the
full path. Changed from folder="administrator/language" to folder="administrator"
while keeping the full source path in the language tags.

This follows Joomla's standard where:
- folder="administrator" = base destination in Joomla
- path includes full source structure from template root
- Result: files install to JOOMLA_ROOT/administrator/language/en-GB/

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 07:38:56 +00:00
copilot-swe-agent[bot]
8e8da2636f Fix: Correct language file paths to be relative to template root
The paths in <language> tags must be relative to the template source root
(src/), not relative to the folder attribute. The folder attribute specifies
the DESTINATION in Joomla, but file paths must point to actual source files.

Corrected paths:
- Frontend: language/en-GB/tpl_mokocassiopeia.ini (was: en-GB/...)
- Backend: administrator/language/en-GB/tpl_mokocassiopeia.sys.ini (was: en-GB/...)

This ensures Joomla can find and install the language files correctly.

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 07:38:15 +00:00
copilot-swe-agent[bot]
38a8b73703 Fix: Remove language and administrator folders from files section
Language files should only be declared in <languages> sections, not in
<files> section. Having them in <files> causes Joomla to copy them to
the template directory instead of the proper Joomla language directories,
resulting in language constants showing instead of translations.

Removed:
- <folder>language</folder>
- <folder>administrator</folder>

The <languages> sections (lines 89-97) properly handle installation of
language files to Joomla's language directories where they can be loaded.

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 07:36:57 +00:00
copilot-swe-agent[bot]
2f2e461ec1 Fix: Add language and administrator folders to templateDetails.xml
Language files were not being installed because the folders weren't
listed in the <files> section. Added <folder>language</folder> and
<folder>administrator</folder> to ensure language files are packaged
and installed correctly.

Fixes language not working on install issue.

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 07:30:07 +00:00
copilot-swe-agent[bot]
1a210bdb95 Fix remaining src/templates references in workflow and scripts
- Update release.yml to use src/templateDetails.xml for version updates
- Fix scripts/README.md documentation to use correct src/ paths
- All documentation and scripts now use consistent correct paths

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 07:21:08 +00:00
copilot-swe-agent[bot]
6b2d21ad48 Fix documentation and build scripts for src/ hierarchy
- Update all documentation files to reflect correct src/ structure
- Fix release.yml workflow to copy from src/ instead of src/templates/
- Fix build-release.sh script to use correct paths
- Remove references to non-existent src/templates/ directory

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-03-01 07:19:55 +00:00
06df7bb604 Reorganization 2026-03-01 01:15:39 -06:00
aa5065e4ab Update templateDetails.xml 2026-02-28 21:21:57 -06:00
copilot-swe-agent[bot]
7170635ef0 Change update server to GitHub raw URL for updates.xml
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-28 23:49:23 +00:00
copilot-swe-agent[bot]
7ceb2a5927 Fix documentation inconsistencies in MODULE_OVERRIDES.md
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 07:19:17 +00:00
copilot-swe-agent[bot]
caee98f7c3 Add comprehensive release process documentation
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 04:32:47 +00:00
copilot-swe-agent[bot]
63a7b9dbb4 Add release workflows and build scripts from MokoStandards
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 04:31:30 +00:00
copilot-swe-agent[bot]
5ddc9fb093 Update updates.xml to point to version 03.08.03
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 04:29:46 +00:00
copilot-swe-agent[bot]
d66f357cb8 Add comprehensive override philosophy documentation
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 04:26:16 +00:00
copilot-swe-agent[bot]
e2ddd58d2a Add comprehensive CSS styles for JEM component overrides
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 04:19:46 +00:00
copilot-swe-agent[bot]
201094d8de Add JEM component overrides with mobile-first design
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 04:18:24 +00:00
copilot-swe-agent[bot]
18100dd563 Rename all default.php override files to mobile.php
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 04:09:40 +00:00
copilot-swe-agent[bot]
185d933bd1 Add Google Tag Manager and Analytics to component.php and offline.php
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 04:07:11 +00:00
copilot-swe-agent[bot]
087b19d9ad Changes before error encountered
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 02:51:12 +00:00
copilot-swe-agent[bot]
9ab91e4d90 Enable dark theme selection in component.php and offline.php matching index.php approach
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 02:38:17 +00:00
copilot-swe-agent[bot]
75f3296ccc Changes before error encountered
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 02:03:34 +00:00
copilot-swe-agent[bot]
43cacfcffe Remove mod_search override and update documentation
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 01:52:58 +00:00
copilot-swe-agent[bot]
9c67cdd6f5 Changes before error encountered
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 01:28:48 +00:00
copilot-swe-agent[bot]
bf85cc0580 Changes before error encountered
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 01:01:35 +00:00
copilot-swe-agent[bot]
a1efa8f2fb Remove all markdown documentation files from html folder - docs belong in docs/ only
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 00:57:04 +00:00
copilot-swe-agent[bot]
1cb32751e4 Add Main Menu collapsible dropdown override with Bootstrap 5 responsive navbar
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 00:56:21 +00:00
copilot-swe-agent[bot]
077ed5fd43 Remove standard Joomla module overrides to fix language loading (Cassiopeia approach)
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 00:42:43 +00:00
copilot-swe-agent[bot]
c61de3f8cf Revert language loading additions - will use Joomla core layouts
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 00:40:53 +00:00
copilot-swe-agent[bot]
16da905681 Update version to 03.08.01 and clarify standalone template status
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 00:30:04 +00:00
copilot-swe-agent[bot]
a4463e374b Remove mod_menu overrides to fix breaking menu links and language loading
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-02-27 00:25:03 +00:00
copilot-swe-agent[bot]
a3cfaca97e Initial plan 2026-02-27 00:12:24 +00:00