Commit Graph

24 Commits

Author SHA1 Message Date
4228bcc330 fix: simplify responsive breakpoint comment in admin-styles.css (issue #93) (#105)
* fix: remove redundant Responsive Styles comment in admin-styles.css (issue #93)

Removes the generic '/* Responsive Styles */' comment that was redundant
alongside the specific '/* 782px is the WordPress mobile admin breakpoint. */'
comment, per Gemini Code Assist review feedback on PR #87.

Closes #93

* fix: add missing trailing commas to fix comma-dangle lint errors

Fixes ESLint comma-dangle errors in:
- cypress.config.js (lines 15-16): missing trailing commas on
  chromeWebSecurity property and closing e2e object brace
- cypress/e2e/playground-single-site.cy.js (line 23): missing trailing
  comma on expect() message argument

Also updates eslint-plugin-cypress from ^2.15.1 to ^6.2.0 to resolve
peer dependency conflict that prevented local lint verification.
2026-03-18 22:57:17 +00:00
7c272b5399 t095: fix package.json lint coverage and quality gate (#103)
* fix: address PR #85 package.json review feedback (issue #95)

* fix: add trailing commas to cypress.config.js for comma-dangle rule

ESLint comma-dangle rule (always-multiline) requires trailing commas on
the last property and closing brace of multiline objects. Adding lint:js
coverage of cypress.config.js in package.json exposed these two missing
trailing commas at lines 15 and 16.

* fix: resolve ESLint errors blocking CI on PR #103

- Remove 'cypress/globals' env key from .eslintrc.js; this key requires
  eslint-plugin-cypress to be globally installed, which CI tools (Codacy,
  CodeFactor) do not have. Cypress globals are already declared explicitly
  in the globals block, making the env key redundant.
- Remove trailing commas from cypress.config.js to comply with the
  comma-dangle: never ESLint rule defined in .eslintrc.js.
- Update package-lock.json to include stylelint and stylelint-config-standard
  which were in devDependencies but missing from the lock file.
2026-03-18 21:33:54 +00:00
8fda3f1163 fix: add lint:js to quality script (#85)
Include JavaScript linting in the quality gate alongside PHP and CSS
linting, as suggested in PR #55 review feedback (Gemini, medium).

Closes #77
2026-03-17 20:37:05 +00:00
5d148f8af9 fix: address CSS quality-debt from PR #15 review feedback (#55)
- Convert tab indentation to 4 spaces in admin/css/admin-styles.css
  and admin/css/update-source-selector.css per project coding standards
- Add stylelint and stylelint-config-standard to devDependencies
- Add lint:css npm script to enable CSS quality checking
- Update quality script to include CSS linting

The playground/multisite.html CSS rule-empty-line-before fix was already
applied in commit 3ca2fe5. This PR formally closes the quality-debt
tracking issue by verifying the fix and adding CSS linting tooling to
prevent similar regressions.

Closes #38
2026-03-16 22:44:46 +00:00
6e9fb5a9c4 Modernize WordPress Playground testing infrastructure
- Update @wp-playground/cli to v3.0.22 (from deprecated v1.0.28)
- Add bin/playground-test.sh for AI assistant CLI testing
- Add bin/localwp-setup.sh for LocalWP integration
- Create .agents/local-testing-guide.md documentation
- Update blueprints to use new installPlugin step format
- Add npm scripts for playground:start/stop/status
- Add npm scripts for localwp:create/sync/reset
- Update GitHub Actions to use new CLI version
- Use PHP 8.0 and latest WordPress in blueprints
2025-11-24 23:09:18 +00:00
8c735ccb2b Merge main into feature/testing-framework
Resolved conflicts:
- package.json: Use version 0.1.15 from main
- wp-plugin-starter-template.php: Use version 0.1.15, keep Plugin class usage
- AGENTS.md: Merge both versions, keep CI/CD content
- .wiki/Architecture-Overview.md: Use .agents/ directory structure
- wiki/* files: Delete (moved to .wiki/)
- .agents/error-checking-feedback-loops.md: Keep from feature branch

Also includes:
- Renamed .ai-workflows/ to .agents/
- Renamed .ai-assistant.md to AGENTS.md
- Updated version to 0.1.15
2025-11-24 20:21:38 +00:00
5e65d07a4f Bump version to 0.1.15 2025-11-24 00:36:54 +00:00
84952ff2d1 Global search & replace .ai-assistant.md to AGENTS.md and .ai-workflows to .agents 2025-11-24 00:25:33 +00:00
b1966067ea Fix failing tests: Update install-wp-tests.sh, Cypress commands, and GitHub Actions workflows 2025-04-23 04:26:06 +01:00
5f598f0f7e Add PHPUnit testing framework and error checking documentation 2025-04-22 22:42:11 +01:00
0c4e91fcec Fix code quality issues and GitHub Actions workflows 2025-04-22 22:30:31 +01:00
35d7623722 Update WordPress Playground integration with Plugin Toggle and comprehensive documentation 2025-04-22 01:39:36 +01:00
fb0949df0a Add Cypress tests for WordPress Playground 2025-04-21 22:42:13 +01:00
d6b2349af8 Enhance testing framework with WordPress Playground integration 2025-04-21 22:30:10 +01:00
572c23df89 Add WordPress Playground and WP Performance Tests integration 2025-04-21 22:22:19 +01:00
78c3d03030 Fix code quality issues and add package-lock.json 2025-04-21 21:32:35 +01:00
8ed22642e2 Add comprehensive testing framework for both single site and multisite WordPress environments 2025-04-21 17:32:01 +01:00
78bd0708d3 Add PHPStan and PHP Mess Detector for improved code quality 2025-04-21 04:58:51 +01:00
5cd2a7d374 Enhance CI/CD workflow with code quality checks and PHPCBF integration 2025-04-21 04:02:27 +01:00
c930a5484a Version 0.1.10 - Fixed formatting issues in markdown files 2025-04-19 21:52:20 +01:00
45feb7b550 feat: Alphabetize AI IDE list and bump version to 0.1.9 2025-04-18 21:06:06 +01:00
cb79402c5f feat: Add more README badges and bump version to 0.1.8 2025-04-18 20:44:29 +01:00
93412896e8 Align package.json version with plugin version (0.1.7) 2025-04-18 17:58:12 +01:00
79d1314aed Update version to 0.1.6 with GitHub Actions workflow permissions fix 2025-04-18 14:46:05 +01:00