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

Function syncConferenceAccessUi

deployments/desktop/static/desktop.js:4855–4873  ·  view source on GitHub ↗
(mode = currentConferenceAccessMode(), hasConferenceAuth = false)

Source from the content-addressed store, hash-verified

4853 state.chatHistory = [];
4854 state.chatHistoryGroups = [];
4855 resetChatThread();
4856 renderChatSources([]);
4857 renderChatHistory({ sessions: [], groups: [] });
4858 showFeedbackToast("success", ui().chat.clearedTitle, ui().chat.clearedDetail(data.deleted || count));
4859 }
4860
4861 function startNewChat(options = {}) {
4862 state.chatSessionId = "";
4863 state.chatLoadToken += 1;
4864 if ($("chatInput")) $("chatInput").value = "";
4865 clearChatMentions();
4866 window.clearTimeout(state.mentionSearchTimer);
4867 state.mentionSearchToken += 1;
4868 if ($("mentionSuggestions")) $("mentionSuggestions").hidden = true;
4869 resetChatThread();
4870 renderChatHistory({ sessions: state.chatHistory, groups: state.chatHistoryGroups });
4871 if (!options.silent) {
4872 showFeedbackToast("success", ui().chat.newChatToastTitle, ui().chat.newChatToastDetail);
4873 }
4874 }
4875
4876 function focusCitationSource(index) {

Callers 2

updateSourceAuthStatusFunction · 0.85
bindEventsFunction · 0.85

Calls 3

uiFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected