v4.1.0 - Side Panel Fixes and Badge System

Chrome Extension
Version 4.1.0

Minor release with side panel opening fixes and comprehensive badge system

New Features

Badge System

  • Visual Indicators: Added comprehensive badge system to extension icon with priority-based display:
    • Red "1" badge: Shown when a page has company data detected
    • Blue "!" badge: Shown when side panel needs to be opened (pending request)
    • Orange "?" badge: Shown when user is not logged in
  • Smart Badge Updates: Badge automatically updates based on:
    • Page company data detection status
    • Side panel open requests
    • Authentication status
    • Tab switching and URL changes
  • Independent Operation: Badge system works independently of sidebar state

Bug Fixes

Side Panel Opening

  • Extension Icon Click: Fixed side panel opening from extension icon to preserve user gesture context
    • Removed async operations before sidePanel.open() call
    • Ensures side panel opens reliably when clicking extension icon
  • Content Script Toolbar: Fixed side panel opening from content script toolbar button
    • Added storage-based fallback mechanism for when user gesture is not preserved
    • Shows badge indicator when direct open fails, guiding user to click extension icon
  • User Gesture Preservation: Properly handles Chrome's user gesture requirements for side panel API

Technical Improvements

Background Script

  • Synchronous Side Panel Opening: Optimized side panel opening to be fully synchronous
  • Storage Flag Mechanism: Added storage flags for pending side panel requests
  • Badge Management: Centralized badge update logic with priority system
  • Tab State Tracking: Improved tracking of page detection and company data per tab

Content Script

  • Company Data Detection: Enhanced company data detection with background script notifications
  • Page Detection: Improved page detection messaging to background script
  • Error Handling: Better error handling for side panel opening failures

Installation

Download Chrome Extension v4.1.0

Upgrade Notes

This is a minor release with enhancements and bug fixes. If you're upgrading from v4.0.0:

  1. No Breaking Changes: All changes are backward compatible
  2. Side Panel: More reliable opening from both extension icon and toolbar button
  3. Badge System: New visual indicators provide better user feedback
  4. Company Data: Badge shows when company data is detected on pages

Support

Need help? Visit our Help Center or contact us.