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

Function collectDailyOptions

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

Source from the content-addressed store, hash-verified

2169 }
2170
2171 function collectDailyOptions() {
2172 const sourcePrefs = state.settings?.source_preferences || {};
2173 const arxivEnabled = $("settingEnableArxiv") ? $("settingEnableArxiv").checked : sourcePrefs.enable_arxiv !== false;
2174 const openReviewEnabled = $("settingEnableOpenReview") ? $("settingEnableOpenReview").checked : sourcePrefs.enable_openreview !== false;
2175 const arxivCategories = arxivEnabled ? selectedSourceValues("arxivCategories") : [];
2176 const conferences = openReviewEnabled ? selectedSourceValues("conferenceSources") : [];
2177 return {
2178 arxiv_categories: arxivCategories,
2179 conferences,
2180 journals: selectedSourceValues("journalSources")
2181 };
2182 }
2183
2184 function paperReportKey(number, pushId = state.push?.push_id) {
2185 return [currentUser(), pushId || "no-push", Number(number)].join("::");

Callers 1

runDailyFunction · 0.70

Calls 2

$Function · 0.70
selectedSourceValuesFunction · 0.70

Tested by

no test coverage detected