Background
Follow-up to removing the dead proxyToBackend layer (branch claude/google-docs-dead-code-grn2s0). While tracing callers, these Apps Script functions in google-docs-addon/Code.gs (and their window.GoogleAppsScript wrappers in google-docs-addon/sidebar.html) also appear unused by the React frontend:
insertTextAtCursor
replaceSelection
setUserProperty
getUserProperty
A repo-wide search of frontend/src for window.GoogleAppsScript usage found only these live: getDocContext, selectPhrase, getDocumentId, getAllTabs, getCurrentUserEmail.
Task
Verify the four functions above are truly unused (search frontend/ and any other callers), then remove them from both Code.gs and sidebar.html if confirmed dead.
Scope
Kept out of the proxyToBackend removal PR to keep that change tight and focused.
Background
Follow-up to removing the dead
proxyToBackendlayer (branchclaude/google-docs-dead-code-grn2s0). While tracing callers, these Apps Script functions ingoogle-docs-addon/Code.gs(and theirwindow.GoogleAppsScriptwrappers ingoogle-docs-addon/sidebar.html) also appear unused by the React frontend:insertTextAtCursorreplaceSelectionsetUserPropertygetUserPropertyA repo-wide search of
frontend/srcforwindow.GoogleAppsScriptusage found only these live:getDocContext,selectPhrase,getDocumentId,getAllTabs,getCurrentUserEmail.Task
Verify the four functions above are truly unused (search
frontend/and any other callers), then remove them from bothCode.gsandsidebar.htmlif confirmed dead.Scope
Kept out of the
proxyToBackendremoval PR to keep that change tight and focused.