Add intent system to widget URL creation. (#4427)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
Copilot
2025-09-11 10:03:15 +01:00
committed by GitHub
parent 13eb54fa37
commit 99423bc437
8 changed files with 84 additions and 18 deletions
@@ -9,7 +9,7 @@ import Foundation
import MatrixRustSDK
enum TraceLogPack: Codable, CaseIterable {
case eventCache, sendQueue, timeline, notificationClient
case eventCache, sendQueue, timeline, notificationClient, syncProfiling
var title: String {
switch self {
@@ -17,6 +17,7 @@ enum TraceLogPack: Codable, CaseIterable {
case .sendQueue: "Send queue"
case .timeline: "Timeline"
case .notificationClient: "Notification client"
case .syncProfiling: "Sync profiling"
}
}
}
@@ -29,6 +30,7 @@ extension TraceLogPack {
case .sendQueue: self = .sendQueue
case .timeline: self = .timeline
case .notificationClient: self = .notificationClient
case .syncProfiling: self = .syncProfiling
}
}
@@ -38,6 +40,7 @@ extension TraceLogPack {
case .sendQueue: .sendQueue
case .timeline: .timeline
case .notificationClient: .notificationClient
case .syncProfiling: .syncProfiling
}
}
}