(target, text, citations)
| 4501 | const daily = data.daily_notes || {}; |
| 4502 | const noteCount = Array.isArray(daily.daily_notes) ? daily.daily_notes.length : 0; |
| 4503 | const errorCount = Array.isArray(daily.errors) ? daily.errors.length : 0; |
| 4504 | const detail = [ |
| 4505 | ui().wiki.refreshDetail(daily, noteCount) |
| 4506 | ].join(" · "); |
| 4507 | showFeedbackToast( |
| 4508 | errorCount ? "warning" : "success", |
| 4509 | errorCount ? ui().wiki.refreshPartial : ui().wiki.refreshDone, |
| 4510 | errorCount ? `${detail} · ${daily.errors[0]}` : detail |
| 4511 | ); |
| 4512 | } |
| 4513 | |
| 4514 | function githubSyncSummary(data) { |
| 4515 | const labels = ui().wiki.githubSync; |
no test coverage detected