-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Description
This issue aims to address multiple improvements and fixes required in the OneDesign Plugin to enhance performance, maintainability, and consistency across the codebase.
Tasks
Error Handling and Logs
- Address all existing
error_logsissues. - Fix all 404 and 502 errors.
Code Quality and Standards
- Resolve PHPCS violations across the plugin.
- Add complete documentation to all functions, classes, REST endpoints, and settings.
- Fix plugin checker warnings.
UI/UX & Functionality
- Update the PHP-based settings page to use Gutenberg components.
- Add a modal on plugin activation for site type selection (similar to other modules).
- Add a Settings link on the plugins page for OneDesign to take users to the plugins settings page.
Code Optimization and Structure
- Use Utils and Constants classes for repeated code, options, and transient names.
- Update all dashboard/consumer site references with “Governing Site” and “Brand Site” terminology throughout the codebase.
- Prefix all options with
onedesign_and set autoload = false.
Acceptance Criteria
- No unresolved error logs or 404/502 responses remain.
- Code fully passes PHPCS and plugin checker without warnings.
- Documentation is complete and up-to-date.
- Settings page rebuilt with modern Gutenberg components.
- Activation modal implemented and tested.
- Consistent terminology (“Governing Site”, “Brand Site”) across UI and code.
- All reusable logic consolidated under Utils and Constants.
- Option prefixes and autoload settings verified.
up1512001
Metadata
Metadata
Assignees
Labels
No labels