Skip to content

Configure HMR and enhance side panel reliability#2

Merged
dominosaurs merged 3 commits intomainfrom
patch
Dec 2, 2025
Merged

Configure HMR and enhance side panel reliability#2
dominosaurs merged 3 commits intomainfrom
patch

Conversation

@dominosaurs
Copy link
Copy Markdown
Owner

Improve Hot Module Replacement configuration for better reliability across development environments. Refactor side panel communication to use dedicated ports, enhancing error handling and ensuring consistent state management. Update dependencies to their latest versions for improved performance and security.

Explicitly sets the HMR host, port, and protocol. This helps prevent connection issues and ensures Hot Module Replacement functions consistently across various development environments.
Refactors side panel messaging to use dedicated Port connections, ensuring direct communication for commands like `CLOSE_SIDE_PANEL`.

Improves the service worker's ability to identify the correct window when a side panel connects by querying for the active tab if the window ID is not immediately available.

Refines error handling for opening the side panel to consistently clean up processing state regardless of success or failure.
Upgrades `jotai` to `2.15.2`, `@types/chrome` to `0.1.32`, and `vite` to `7.2.6`. These updates incorporate the latest bug fixes, performance improvements, and security patches from the upstream libraries.

Bumps the package version to `0.0.4` to reflect these dependency updates.
@dominosaurs dominosaurs merged commit 437445f into main Dec 2, 2025
1 check passed
@dominosaurs dominosaurs deleted the patch branch December 2, 2025 12:08
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