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

Function formatChatDateLabel

deployments/desktop/static/desktop.js:4281–4290  ·  view source on GitHub ↗
(dateValue)

Source from the content-addressed store, hash-verified

4279 byType.topic ? `${ui().wiki.typePart.topic} ${byType.topic}` : "",
4280 byType.section ? `${ui().wiki.typePart.section} ${byType.section}` : "",
4281 byType.trajectory ? `${ui().wiki.typePart.trajectory} ${byType.trajectory}` : ""
4282 ].filter(Boolean).join(" · ");
4283 const wikiDirText = stats.wiki_dir ? ` · ${ui().wiki.dirPrefix} ${stats.wiki_dir}` : "";
4284 const typeText = typeParts ? ` · ${typeParts}` : "";
4285 return ui().wiki.stats(stats, typeText, wikiDirText, suffix);
4286 }
4287
4288 function wikiDailyGraphParams() {
4289 const scope = $("wikiDailyScope")?.value || "latest";
4290 const month = $("wikiDailyMonth")?.value || "";
4291 const params = new URLSearchParams({
4292 user_id: currentUser(),
4293 limit: "80",

Callers 1

renderChatHistoryFunction · 0.85

Calls 2

uiFunction · 0.85
todayDateValueFunction · 0.85

Tested by

no test coverage detected