INNER CODE UNIT · TypeScript

updatePanelSession

steipete/summarize · apps/chrome-extension/src/entrypoints/sidepanel/main.ts:74

const updatePanelSession = (value: Partial<typeof panelState.panelSession>) => {
  patchPanelState(panelState, "panelSession", value);
};

const panelMessagingRuntime = createPanelMessagingRuntime({
  panelState,

  onMessage: (msg) => {
    handleBgMessage(msg);
  },
});
const { resolveLocalSlides, send } = panelMessagingRuntime;

const LINE_HEIGHT_STEP = 0.1;

const daemonHintRuntime = createDaemonHintRuntime({
  hintEl: dom.daemonHintEl,
  actionBtn: dom.daemonHintActionBtn,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…