feat: left-align sidebar UI + extension-ready event for welcome page

- Left-align all sidebar text (chat welcome, loading, empty states,
  notifications, inspector empty, session placeholder)
- Dispatch 'gstack-extension-ready' CustomEvent from content.js so
  the welcome page can detect when the sidebar is active
This commit is contained in:
Garry Tan
2026-03-31 10:46:38 -07:00
parent 3924471251
commit f064cffe0f
2 changed files with 16 additions and 12 deletions

View File

@@ -326,6 +326,9 @@ function startBasicPicker() {
document.addEventListener('keydown', onBasicKeydown, true);
}
// Notify the page that the gstack extension is active (used by welcome page)
document.dispatchEvent(new CustomEvent('gstack-extension-ready'));
// Listen for messages from background worker
chrome.runtime.onMessage.addListener((msg) => {
if (msg.type === 'startBasicPicker') {