// // Status.swift // Todos // // Created by Sam Jaffe on 3/5/26. // import Foundation enum Status: String, CaseIterable, Identifiable, Codable { case todo = " " case complete = "V" case inProgress = "C" case hiatus = "H" case waiting = "O" case unknown = "?" var id: Self { self } var isStrong: Bool { self == .complete || self == .hiatus || self == .waiting } var description: String { switch self { case .todo: return "Todo" case .complete: return "Complete" case .inProgress: return "In Progress" case .hiatus: return "Hiatus" case .waiting: return "Waiting" case .unknown: return "Proposed" } } var label: String { switch self { case .todo: return "square.and.pencil" case .complete: return "checkmark" case .inProgress: return "ellipsis.circle" case .hiatus: return "clock.badge.questionmark" case .waiting: return "airplane.circle" case .unknown: return "questionmark.circle.dashed" } } }