MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / init

Function init

deployments/desktop/static/desktop.js:5819–5833  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5817 }
5818
5819 async function init() {
5820 loadReportCardHighlights();
5821 bindEvents();
5822 applyLocale();
5823 renderChatSources();
5824 await loadHealth();
5825 await loadUsers();
5826 await loadSourceOptions();
5827 await loadLatestPush();
5828 await loadWiki();
5829 await loadSettings();
5830 await resumeDailyTask();
5831 const initialView = window.location.hash.slice(1) || "papers";
5832 setView(document.getElementById(initialView) ? initialView : "papers", false);
5833 }
5834
5835 window.addEventListener("DOMContentLoaded", () => {
5836 runAction(init, "初始化");

Callers

nothing calls this directly

Calls 12

loadReportCardHighlightsFunction · 0.85
applyLocaleFunction · 0.85
renderChatSourcesFunction · 0.85
loadHealthFunction · 0.85
loadWikiFunction · 0.85
loadSettingsFunction · 0.85
resumeDailyTaskFunction · 0.85
bindEventsFunction · 0.70
loadUsersFunction · 0.70
loadSourceOptionsFunction · 0.70
loadLatestPushFunction · 0.70
setViewFunction · 0.70

Tested by

no test coverage detected