mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-12 12:18:55 +02:00
SwiftUI app (iOS 17+) with zero third-party dependencies: - Passwordless email authentication with Keychain token storage - Workspace selection and multi-workspace support - Issue list grouped by status with search and filtering - Issue detail with inline status/priority/assignee editing - Comments with threaded display and compose - Agent task runs history and real-time execution log streaming - WebSocket integration for live updates
37 lines
939 B
Swift
37 lines
939 B
Swift
import SwiftUI
|
|
|
|
struct IssueRowView: View {
|
|
let issue: Issue
|
|
let assigneeName: String
|
|
|
|
var body: some View {
|
|
HStack(spacing: 10) {
|
|
StatusIcon(status: issue.status)
|
|
|
|
VStack(alignment: .leading, spacing: 4) {
|
|
HStack(spacing: 6) {
|
|
Text(issue.identifier)
|
|
.font(.caption.monospaced())
|
|
.foregroundStyle(.secondary)
|
|
PriorityIcon(priority: issue.priority, size: 10)
|
|
}
|
|
|
|
Text(issue.title)
|
|
.font(.subheadline)
|
|
.lineLimit(2)
|
|
}
|
|
|
|
Spacer()
|
|
|
|
if issue.assigneeId != nil {
|
|
AssigneeAvatar(
|
|
type: issue.assigneeType,
|
|
name: assigneeName,
|
|
size: 24
|
|
)
|
|
}
|
|
}
|
|
.padding(.vertical, 2)
|
|
}
|
|
}
|