MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / syncManualModeUI

Function syncManualModeUI

web/scripts/ragnar_modern.js:10959–10985  ·  view source on GitHub ↗
(isManualMode)

Source from the content-addressed store, hash-verified

10957 statusPart = parts[0];
10958 const timestampCandidate = parts.slice(1).join('_');
10959 timestamp = parseCompactTimestamp(timestampCandidate);
10960 }
10961
10962 if (!timestamp && isoTimestamp) {
10963 const parsed = new Date(isoTimestamp);
10964 if (!Number.isNaN(parsed.getTime())) {
10965 timestamp = parsed;
10966 }
10967 }
10968
10969 if (!timestamp && rawStatus) {
10970 const digits = rawStatus.replace(/[^0-9]/g, '');
10971 if (digits.length >= 8) {
10972 const parsedDigits = parseCompactTimestamp(digits);
10973 if (parsedDigits) {
10974 timestamp = parsedDigits;
10975 }
10976 }
10977 }
10978
10979 const lowerStatus = statusPart.toLowerCase();
10980 if (!statusPart) {
10981 if (timestamp) {
10982 info.label = 'Completed';
10983 info.className = 'text-blue-400';
10984 } else {
10985 info.label = 'Never';
10986 info.className = 'text-gray-400';
10987 }
10988 } else if (lowerStatus.startsWith('success')) {

Callers 1

updateDashboardStatusFunction · 0.70

Calls 2

showTabFunction · 0.70
loadManualModeDataFunction · 0.70

Tested by

no test coverage detected