Control Footer Feature Test
✨ New Feature: Control Footers
All controls now have configurable footers with a default Markitect copyright notice!
- Default Footer: "© Markitect [VERSION]" when no custom footer is provided
- Custom Footer: Controls can override with custom text
- Styling: Consistent small grey footer with border at bottom of controls
- Auto-styling: Footer automatically styled when control expands
Expected Footer Examples
Default Footer (Status Control, Debug Control, Contents Control):
© Markitect 2024.11.11
Custom Footer (Edit Control):
Document management • [current time]
Testing Instructions:
- Open any control (Contents, Status, Debug, Edit)
- Look at the bottom of the expanded control
- Verify footer appears with appropriate text
- Check that footer has light grey background and border
- Edit Control should show custom footer with timestamp
- Other controls should show "© Markitect [version]"
Footer Styling
The footer should have the following characteristics:
- Position: Bottom of control panel
- Background: Light grey (#f8f9fa)
- Border: Top border (#e9ecef)
- Text: Small, italicized, centered
- Color: Muted grey (#6c757d)
Version Detection
The footer tries to get the version from:
window.markitectVersion (if set)
- Fallback to
2024.11.11
Implementation Details:
- Base Class: Added footer functionality to both Control classes
- Template Update: Added footer div to control HTML template
- Auto-styling:
styleFooter() called automatically on expand
- Configuration:
config.footer property controls footer text
This document provides test content to verify that all control footers are working correctly with both default and custom footer text.