From 0e3088db9a9b69327073f984fba4dd0834d4b553 Mon Sep 17 00:00:00 2001
From: th
Date: Wed, 15 Apr 2026 22:04:39 +0200
Subject: [PATCH] editor: new appointments never inherit the active bucket
The modal's default-bucket logic dropped new cards into the current
real bucket when opened from one. Calendar-created appointments
(body pre-seeded with #termin / #geburtstag) would then land in e.g.
"work" instead of living bucket-less as calendar entries should.
Detect the pre-filled tag on open and force inpBucket empty for
those; regular new cards still inherit the active bucket.
Co-Authored-By: Claude Opus 4.6 (1M context)
---
config.php | 2 +-
electron/package.json | 2 +-
public/js/modules/editor.js | 9 ++++++++-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/config.php b/config.php
index 78d823f..2cac192 100644
--- a/config.php
+++ b/config.php
@@ -1,7 +1,7 @@
|