| | |
| | | case .meeting: |
| | | return "Meetings" |
| | | case .office: |
| | | return "Office" |
| | | return "Office & Docs" |
| | | case .pdf: |
| | | return "PDF" |
| | | case .fileManagement: |
| | |
| | | case .productivity: |
| | | return "Productivity" |
| | | case .development: |
| | | return "Development" |
| | | return "Coding" |
| | | case .design: |
| | | return "Design" |
| | | case .aiTools: |
| | |
| | | case .audio: |
| | | return "Audio" |
| | | case .picturePhoto: |
| | | return "Pictures & Photos" |
| | | return "Photos" |
| | | case .utilities: |
| | | return "Utilities" |
| | | case .system: |
| | | return "System Apps" |
| | | case .systemEnhancement: |
| | | return "System Enhancements" |
| | | return "System Tools" |
| | | case .systemMaintenance: |
| | | return "System Maintenance" |
| | | case .windowManagement: |
| | |
| | | return 0 |
| | | } |
| | | } |
| | | |
| | | var smartStartDefaultCategoryID: SmartCategoryID { |
| | | switch self { |
| | | case .pdf, .productivity, .writing: |
| | | return .office |
| | | case .fileManagement, .transfer, .utilities, .system, .systemMaintenance, |
| | | .windowManagement, .deviceManagement, .inputTools, .networkTools, .security: |
| | | return .systemEnhancement |
| | | case .apiTools, .databaseTools, .devops, .ide, .runtimeSDK, .terminalTools, .automation: |
| | | return .development |
| | | case .font, .uiPrototyping, .threeDCAD, .diagramming: |
| | | return .design |
| | | case .media, .video, .audio, .game: |
| | | return .entertainment |
| | | default: |
| | | return self |
| | | } |
| | | } |
| | | } |
| | | |
| | | struct SmartCategoryDefinition: Codable, Hashable, Identifiable { |
| | |
| | | .notes, |
| | | .meeting, |
| | | .office, |
| | | .pdf, |
| | | .fileManagement, |
| | | .transfer, |
| | | .systemEnhancement, |
| | | .aiTools, |
| | | .apiTools, |
| | | .databaseTools, |
| | | .devops, |
| | | .ide, |
| | | .runtimeSDK, |
| | | .terminalTools, |
| | | .font, |
| | | .uiPrototyping, |
| | | .threeDCAD, |
| | | .diagramming, |
| | | .writing, |
| | | .media, |
| | | .video, |
| | | .audio, |
| | | .development, |
| | | .design, |
| | | .picturePhoto, |
| | | .utilities, |
| | | .system, |
| | | .systemMaintenance, |
| | | .windowManagement, |
| | | .deviceManagement, |
| | | .inputTools, |
| | | .automation, |
| | | .networkTools, |
| | | .entertainment, |
| | | .game, |
| | | .finance, |
| | | .education, |
| | | .security, |
| | | .other |
| | | ] |
| | | |