feat: add troubleshooting side panel and advanced queue controls
- Implemented a global toggle to enable/disable background queue processing. - Added a Side Panel (Sidebar.html) to view pending edits. - Added per-item controls: 'Delete' to remove from queue, 'Push' to force update. - Updated 'onEditQueue.ts' with robust error handling for batch processing. - Updated documentation (README, ARCHITECTURE) to reflect new features. - Fixed 'clasp' deployment issues by cleaning up manifest management.
This commit is contained in:
@ -10,6 +10,7 @@ import {
|
||||
updateShopifyProductHandler,
|
||||
reauthorizeScript,
|
||||
} from "./initMenu"
|
||||
|
||||
import { createMissingPhotoFolders } from "./createMissingPhotoFolders"
|
||||
import { reinstallTriggers } from "./triggers"
|
||||
import { newSkuHandler } from "./newSku"
|
||||
@ -19,6 +20,7 @@ import {
|
||||
processBatchedEdits
|
||||
} from "./onEditQueue"
|
||||
import { fillProductFromTemplate } from "./fillProductFromTemplate"
|
||||
import { showSidebar, getQueueStatus, setQueueEnabled, deleteEdit, pushEdit } from "./sidebar"
|
||||
|
||||
// prettier-ignore
|
||||
;(global as any).onOpen = onOpen
|
||||
@ -36,3 +38,8 @@ import { fillProductFromTemplate } from "./fillProductFromTemplate"
|
||||
;(global as any).newSkuHandler = newSkuHandler
|
||||
;(global as any).fillProductFromTemplate = fillProductFromTemplate
|
||||
;(global as any).createMissingPhotoFolders = createMissingPhotoFolders
|
||||
;(global as any).showSidebar = showSidebar
|
||||
;(global as any).getQueueStatus = getQueueStatus
|
||||
;(global as any).setQueueEnabled = setQueueEnabled
|
||||
;(global as any).deleteEdit = deleteEdit
|
||||
;(global as any).pushEdit = pushEdit
|
||||
|
||||
Reference in New Issue
Block a user