Skip to content

Fix block assets compilation#1122

Open
asharirfan wants to merge 5 commits intomainfrom
fix/block-assets
Open

Fix block assets compilation#1122
asharirfan wants to merge 5 commits intomainfrom
fix/block-assets

Conversation

@asharirfan
Copy link
Contributor

Description

This PR introduces the following changes in wd_s:

  • Fix block scaffolding command
  • Fix block.json template
  • Fix block style files
  • Fix block assets compilation
  • Move blocks register function to a more appropriate location

What type of PR is this? (put an x to all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 Confluence
  • 🙅 no documentation needed

Reviewer's Testing Checklist

As a reviewer, please ensure the following testing criteria are met and validated before approving this Pull Request.

  • Visual Regression Testing: Ensure that existing functionality is not negatively impacted by the changes.
  • Cross-Browser Compatibility: Test on major browsers (Chrome, Firefox, Safari) to ensure compatibility.
  • Mobile Responsiveness: Confirm that the changes are responsive and functional on various mobile devices.
  • Accessibility Testing: Validate that the changes comply with accessibility standards.
  • Linting: Check that the code passes all linting checks (PHPCS, ESLint, SassLint).
  • Theme Compatibility: Ensure that the changes do not adversely affect the site's theme and styling.
  • Plugin Compatibility: Check if the changes are compatible with existing plugins and do not cause conflicts.
  • Core Functionality: Verify that the WordPress core functionalities are not disrupted.
  • Custom Post Types and Taxonomies: Confirm that any custom post types or taxonomies function as intended.
  • Security Best Practices: Ensure that the code follows WordPress security best practices.
  • Performance: Check for any performance issues, especially with database queries and page load times.
  • SEO Considerations: Where applicable, confirm that the changes do not negatively impact SEO elements.
  • WordPress Coding Standards: Ensure that the code adheres to WordPress coding standards.
  • Documentation: Ensure that any new features or changes are appropriately documented in the README.md or Confluence.
  • User Acceptance Testing (UAT): If applicable, confirm that stakeholders have reviewed and accepted the changes.
  • Post-Deployment Tasks: Check if there are any tasks that need to be performed after deployment.

[optional] Additional Reviewer Notes or Considerations?

@asharirfan asharirfan requested a review from khleomix as a code owner February 23, 2024 21:01
@asharirfan asharirfan self-assigned this Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant