fix: UX — Button-Labels radikal gekuerzt (1️⃣ 2️⃣ 3️⃣), Zurueck-Buttons in allen Sub-Phasen, name[:9] Trunkierung

This commit is contained in:
Bernd (Hermes)
2026-07-20 21:24:09 +02:00
parent 17fbb7ff70
commit 2e333c8178
3 changed files with 236 additions and 34 deletions
+8 -8
View File
@@ -2975,7 +2975,7 @@ class RocketChatAdapter(BasePlatformAdapter):
"👉 Klicke auf einen Button oder antworte mit 1–4:"
)
fakt_buttons = _build(
["1️⃣ Standard", "2️⃣ Neuer Ort", "3️⃣ Bestehender Ort", "4️⃣ Keine Sammlung"],
["1️⃣ Standard", "2️⃣ Neu", "3️⃣ Vorhanden", "4️⃣ Keine"],
prefix="FAKT",
style="primary",
)
@@ -4274,7 +4274,7 @@ class RocketChatAdapter(BasePlatformAdapter):
"👉 Klicke auf einen Button oder antworte mit 1–4:"
)
fakt_buttons = _build(
["1️⃣ Standard", "2️⃣ Neuer Ort", "3️⃣ Bestehender Ort", "4️⃣ Keine Sammlung"],
["1️⃣ Standard", "2️⃣ Neu", "3️⃣ Vorhanden", "4️⃣ Keine"],
prefix="FAKT",
style="primary",
)
@@ -4413,7 +4413,7 @@ class RocketChatAdapter(BasePlatformAdapter):
return
# Option 2: Neuer Ort
elif "Neuer Ort" in choice or "2️⃣" in choice or choice == "2":
elif "Neu" in choice or "2️⃣" in choice or choice == "2":
self._onboarding_state["fakt_sub_phase"] = "new_path"
if self.archivar is not None:
self.archivar._state.set_onboarding_state(self._onboarding_state)
@@ -4425,7 +4425,7 @@ class RocketChatAdapter(BasePlatformAdapter):
return
# Option 3: Bestehender Ort
elif "Bestehender Ort" in choice or "3️⃣" in choice or choice == "3":
elif "Vorhanden" in choice or "3️⃣" in choice or choice == "3":
self._onboarding_state["fakt_sub_phase"] = "existing_path"
if self.archivar is not None:
self.archivar._state.set_onboarding_state(self._onboarding_state)
@@ -4437,7 +4437,7 @@ class RocketChatAdapter(BasePlatformAdapter):
return
# Option 4: Keine Sammlung
elif "Keine Sammlung" in choice or "4️⃣" in choice or choice == "4":
elif "Keine" in choice or "4️⃣" in choice or choice == "4":
strategy = "none"
now_iso = datetime.now(timezone.utc).isoformat()
self.archivar._room_map.set_fact_store_strategy(strategy)
@@ -4632,7 +4632,7 @@ class RocketChatAdapter(BasePlatformAdapter):
f"👉 Klicke auf einen Button:"
)
butler_buttons = _build(
["✏️ Ändern", "⏭️ Beibehalten"],
["✏️ Ändern", "⏭️ Skip"],
prefix="REVIEW_BUTLER",
style="primary",
)
@@ -4689,7 +4689,7 @@ class RocketChatAdapter(BasePlatformAdapter):
f"👉 Klicke auf einen Button:"
)
fakt_buttons = _build(
["✏️ Ändern", "⏭️ Beibehalten"],
["✏️ Ändern", "⏭️ Skip"],
prefix="REVIEW_FAKT",
style="primary",
)
@@ -4777,7 +4777,7 @@ class RocketChatAdapter(BasePlatformAdapter):
"👉 Klicke auf einen Button oder antworte mit 1–4:"
)
fakt_buttons = _build(
["1️⃣ Standard", "2️⃣ Neuer Ort", "3️⃣ Bestehender Ort", "4️⃣ Keine Sammlung"],
["1️⃣ Standard", "2️⃣ Neu", "3️⃣ Vorhanden", "4️⃣ Keine"],
prefix="FAKT",
style="primary",
)