feat: tweak calendar and clean it up

This commit is contained in:
2026-06-27 14:19:28 +09:30
parent fe1c2f0250
commit eae2e0587c
21 changed files with 1336 additions and 126 deletions
+2 -1
View File
@@ -13,7 +13,7 @@ import {
withSuppressedCloudAutoUpload,
} from "./background/cloudSettingsAutoSync";
import { isAllowedFetchUrl } from "@/seqta/utils/allowedFetchUrl";
import { registerGoogleCalendarMessageHandlers } from "./background/googleCalendar";
import { registerGoogleCalendarMessageHandlers, initGoogleCalendarBackground } from "./background/googleCalendar";
/**
* Session-only dev-mode override of the content API base.
@@ -559,6 +559,7 @@ const MESSAGE_HANDLERS: Record<string, MessageHandler> = {
};
registerGoogleCalendarMessageHandlers(MESSAGE_HANDLERS, isTrustedSender);
initGoogleCalendarBackground();
browser.runtime.onMessage.addListener(
// @ts-ignore - OnMessageListener expects literal true for async, we return boolean