Conversation
| $content = '<img src="' . esc_url( EA11Y_ASSETS_URL . 'images/check-icon.svg' ) . '" alt="' . esc_attr__( 'All accessibility issues resolved', 'pojo-accessibility' ) . '" style="width:24px; height:24px;" />'; | ||
| } else { | ||
| if ( $has_scan_data ) { | ||
| $issues_left = $violation - $resolved; |
pkniazevych
left a comment
There was a problem hiding this comment.
Please, consider a tiny improvement suggested by the bot
There was a problem hiding this comment.
✨ PR Review
The PR continues the refactoring from progress bars to responsive action buttons. While the changes maintain the previous functionality, there are some performance and initialization concerns that should be addressed.
1 issues detected:
🚀 Performance - Multiple initialization calls create unnecessary performance overhead and potential duplicate registrations.
Details: The setupEnhancements method is called multiple times during initialization - once in DOMContentLoaded event, immediately if document is ready, and again after a 500ms timeout. This creates unnecessary processing overhead and could cause duplicate event listeners or observer registrations.
File:modules/scanner/assets/js/list-column.js
Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using. We'd love your feedback! 🚀
✨ PR Description
Purpose: Update accessibility column UI in admin post lists with responsive behavior and improved visual presentation.
Main changes:
Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using. We'd love your feedback! 🚀