feat: select text across bullets and delete it like a text editor; Ctrl+Z in tasks; notes and lists without emoji; custom done columns complete tasks
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 2m33s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sandrodachandClaude Opus 5.5 committed 2026-11-01 16:27:43 +01:00
1 parent e2b9daba75
commit 6fb98d4002
27 files changed
+535 -64

No files matched your search

+7 -2
View File
@@ -39,7 +39,7 @@ func (s *Server) handleCreateList(w http.ResponseWriter, r *http.Request) {
userID := auth.GetUserID(r.Context())
var req struct {
Title string `json:"title"`
Icon string `json:"icon"`
Icon *string `json:"icon"` // "" = no icon; missing = the default
ListType string `json:"listType"`
}
if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
@@ -47,7 +47,12 @@ func (s *Server) handleCreateList(w http.ResponseWriter, r *http.Request) {
return
}
lst, err := s.store.CreateList(userID, req.Title, req.Icon, req.ListType)
lst, err := s.store.CreateList(userID, req.Title, derefIcon(req.Icon), req.ListType)
if err == nil && lst != nil && req.Icon != nil && *req.Icon == "" {
if err = s.store.ClearIcon("lists", lst.ID); err == nil {
lst.Icon = ""
}
}
if err != nil {
writeError(w, http.StatusBadRequest, err.Error())
return