feat: zero-friction side panel — auto-open on install, pill is clickable

Three changes to eliminate manual side panel setup:
- Auto-open side panel on extension install/update (onInstalled listener)
- gstack pill (bottom-right) is now clickable — opens the side panel
- Pill has pointer-events: auto so clicks always register (was: none)

User no longer needs to find the puzzle piece icon, pin the extension,
or know the side panel exists. It opens automatically on first launch
and can be re-opened by clicking the floating gstack pill.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-22 19:25:52 -07:00
parent 4e70c69d10
commit 08356929b3
3 changed files with 28 additions and 2 deletions

View File

@@ -19,6 +19,11 @@ function showStatusPill(connected, refs) {
if (!statusPill) {
statusPill = document.createElement('div');
statusPill.id = 'gstack-status-pill';
statusPill.style.cursor = 'pointer';
statusPill.addEventListener('click', () => {
// Ask background to open the side panel
chrome.runtime.sendMessage({ type: 'openSidePanel' });
});
document.body.appendChild(statusPill);
}