Skip to content

v1.2.6 - Code Quality & Best Practices

Choose a tag to compare

@todddube todddube released this 04 Jan 13:46
· 8 commits to main since this release

What's New in v1.2.6

🛡️ Error Handling Improvements

  • Added chrome.runtime.lastError checks to storage callbacks for better error recovery

⚡ Performance Optimizations

  • DOM element caching for faster popup rendering
  • Storage data pruning to prevent accumulation (max 50 incidents)
  • Added max animation duration (30 min) to prevent indefinite badge flashing

🔧 Code Quality

  • Robust component matching using regex patterns instead of substring matching
  • Moved inline styles to CSS classes for better maintainability
  • Added animation cleanup method for service worker lifecycle

♿ Accessibility

  • Added lang="en" attribute to HTML for screen readers

🎨 UI Enhancements

  • Enhanced status indicator visibility with improved border and glow effects
  • Better contrast for status colors (green/yellow/red) on light theme

Full Changelog: v1.2.5...v1.2.6