feat: emoji picker in create dialogs; due date and priority right under a deepened task; no flicker on kanban drop
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 2m29s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sandrodachandClaude Opus 5.5 committed 2026-11-01 14:20:34 +01:00
1 parent fa02e8dee6
commit 7860609201
13 files changed
+143 -74

No files matched your search

+2 -14
View File
@@ -25,19 +25,7 @@ const (
mailFooterAccount = "Diese E-Mail betrifft dein MindSift-Konto und kommt deshalb unabhängig von deinen Benachrichtigungen."
)
// priorityLabel / priorityTone: how a task's priority reads and is coloured in mails
func priorityLabel(p string) string {
switch p {
case "urgent":
return "Dringend"
case "high":
return "Wichtig"
case "low":
return "Niedrig"
}
return "Normal"
}
// priorityTone: how a task's priority is coloured in mails (domain.PriorityLabel gives the text)
func priorityTone(p string) string {
switch p {
case "urgent":
@@ -52,7 +40,7 @@ func priorityTone(p string) string {
func (s *Server) dueAlarmMail(a storage.DueTaskAlarm, due string) mailContent {
meta := "Fällig: " + due
if a.Priority != "" && a.Priority != "normal" {
meta += " · " + priorityLabel(a.Priority)
meta += " · " + domain.PriorityLabel(a.Priority)
}
c := mailContent{
Preheader: "Fällig: " + a.Title,