kasl-cli 1.10.1

Work activity tracker CLI: automatic workday and break detection, task management with Jira/GitLab integration, productivity reports and exports
Documentation
//! Manual probe: pops a real desktop toast to eyeball the brand logo.
//! Run: cargo test --test toast_probe -- --ignored
#![cfg(windows)]

use kasl::db::jira_inbox::JiraInboxItem;

#[test]
#[ignore = "pops a real desktop toast; run manually"]
fn toast_shows_with_logo() {
    let now = chrono::Local::now().naive_local();
    let item = JiraInboxItem {
        issue_key: "KA-1".into(),
        issue_id: "1".into(),
        summary: "Toast logo probe".into(),
        status_id: None,
        status_name: String::new(),
        priority: Some("High".into()),
        priority_rank: 0,
        sort_value: None,
        url: "https://kasl.lacodda.com".into(),
        first_seen: now,
        last_seen: now,
        notified: false,
        pinned: false,
        dismissed: false,
        raw_updated: None,
        gone_at: None,
        last_change: None,
        changed_at: None,
        taken_at: None,
    };
    assert!(kasl::libs::jira_inbox::show_toast(&item));
}