From abd85b71acd21eb3c7d20b4d04c0d77511cc09c8 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 26 Nov 2026 10:23:59 +0100 Subject: feat(calendar): a dropped .ics opens the event editor, filled in A lone .ics dropped on the island's sliver goes to the calendar rather than the assistant canvas: the panel opens on the event's month with the new-event form filled from the file, for review before Save. The bubble says where the drop will go while the drag is over it. calctl gains `read FILE`, which returns the file's master VEVENT in the same shape as `get`, with no UID so saving creates a new event in the default calendar. A rule or alarm the form cannot express reads `none`: `custom` would tell apply() to keep what is there, and a new event has nothing there to keep. The drop no longer needs the assistant to be present for .ics files. Co-Authored-By: Claude Opus 5.5 --- desktop/island/ClockPill.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop/island/ClockPill.qml') diff --git a/desktop/island/ClockPill.qml b/desktop/island/ClockPill.qml index 1d18503..9677508 100644 --- a/desktop/island/ClockPill.qml +++ b/desktop/island/ClockPill.qml @@ -40,6 +40,7 @@ Capsule { // Escape asks the panel before closing it. function focusPanel() { calendarPanel.reset(); calendarPanel.forceActiveFocus(); } function back() { return calendarPanel.back(); } + function importFile(path) { calendarPanel.importFile(path); } readonly property var entry: flickApp ? DesktopEntries.heuristicLookup(flickApp) : null readonly property string wsIcon: Workspaces.icon(flickWs) -- cgit v1.2.3