From 9d7b0e55c3308ca935b3451ea834e9e28d3733a4 Mon Sep 17 00:00:00 2001 From: r3dbars Date: Tue, 5 May 2026 19:44:36 -0500 Subject: [PATCH 1/3] feat: autocomplete speaker name selection --- .../Support/SpeakerNameSelectionPolicy.swift | 129 ++++++++++++++++++ Sources/UI/Settings/SpeakerNamingSheet.swift | 108 ++++----------- Tests/FastTests.manifest | 1 + Tests/SpeakerNameSelectionPolicyTests.swift | 60 ++++++++ scripts/entrypoints/run-tests.sh | 1 + 5 files changed, 218 insertions(+), 81 deletions(-) create mode 100644 Sources/Support/SpeakerNameSelectionPolicy.swift create mode 100644 Tests/SpeakerNameSelectionPolicyTests.swift diff --git a/Sources/Support/SpeakerNameSelectionPolicy.swift b/Sources/Support/SpeakerNameSelectionPolicy.swift new file mode 100644 index 00000000..eefa1a6a --- /dev/null +++ b/Sources/Support/SpeakerNameSelectionPolicy.swift @@ -0,0 +1,129 @@ +import Foundation + +enum SpeakerNameSelectionPolicy { + static func makeIdentityLabels