Official URL migration preserves sessions, shortcuts prefs, and last clock-in client; auth screens match web with legal links; time clock and invoice editor/send flows are updated for the new domain and UI patterns. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
1.1 KiB
Swift
37 lines
1.1 KiB
Swift
import AppIntents
|
|
|
|
struct BeenVoiceShortcuts: AppShortcutsProvider {
|
|
@AppShortcutsBuilder
|
|
static var appShortcuts: [AppShortcut] {
|
|
AppShortcut(
|
|
intent: ClockInIntent(),
|
|
phrases: [
|
|
"Clock in with \(.applicationName)",
|
|
"Start timer in \(.applicationName)",
|
|
"Start tracking time in \(.applicationName)",
|
|
],
|
|
shortTitle: "Clock In",
|
|
systemImageName: "play.circle.fill"
|
|
)
|
|
AppShortcut(
|
|
intent: ClockOutIntent(),
|
|
phrases: [
|
|
"Clock out in \(.applicationName)",
|
|
"Stop timer in \(.applicationName)",
|
|
"Stop tracking time in \(.applicationName)",
|
|
],
|
|
shortTitle: "Clock Out",
|
|
systemImageName: "stop.circle.fill"
|
|
)
|
|
AppShortcut(
|
|
intent: OpenTimerIntent(),
|
|
phrases: [
|
|
"Open time clock in \(.applicationName)",
|
|
"Open timer in \(.applicationName)",
|
|
],
|
|
shortTitle: "Time Clock",
|
|
systemImageName: "timer"
|
|
)
|
|
}
|
|
}
|