Initial import of LogDarioSeq baseline
Establishes version control for the personal Logseq DB fork before starting the server-client architecture migration and domain features described in docs/agent-guide and the approved implementation plan. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
40
ios/App/shortcuts/shortcutsControl.swift
Normal file
40
ios/App/shortcuts/shortcutsControl.swift
Normal file
@@ -0,0 +1,40 @@
|
||||
//
|
||||
// shortcutsControl.swift
|
||||
// shortcuts
|
||||
//
|
||||
// Created by Tienson Qin on 2025/9/19.
|
||||
//
|
||||
|
||||
import AppIntents
|
||||
import SwiftUI
|
||||
import WidgetKit
|
||||
|
||||
@available(iOS 18.0, *)
|
||||
struct QuickAddButton: ControlWidget {
|
||||
var body: some ControlWidgetConfiguration {
|
||||
StaticControlConfiguration(
|
||||
kind: "com.logseq.logseq.quickAddButton"
|
||||
) {
|
||||
ControlWidgetButton(action: QuickAddIntent()) {
|
||||
Label("Quick Add", systemImage: "plus.circle")
|
||||
}
|
||||
}
|
||||
.displayName("Quick Add")
|
||||
.description("Quick note.")
|
||||
}
|
||||
}
|
||||
|
||||
@available(iOS 18.0, *)
|
||||
struct RecordAudioButton: ControlWidget {
|
||||
var body: some ControlWidgetConfiguration {
|
||||
StaticControlConfiguration(
|
||||
kind: "com.logseq.logseq.recordAudioButton"
|
||||
) {
|
||||
ControlWidgetButton(action: RecordAudioIntent()) {
|
||||
Label("Record Audio", systemImage: "waveform")
|
||||
}
|
||||
}
|
||||
.displayName("Record Audio")
|
||||
.description("Record Audio.")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user