fix: land on today and swipe count habits incrementally
ci / docker (push) Successful in 3m16s

This commit is contained in:
2026-09-06 10:44:06 +08:00
parent cc98bc53e9
commit 4c93d0e1f8
7 changed files with 90 additions and 51 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import {
Settings, Trash2, X, Repeat2,
} from 'lucide-vue-next'
import { filterTasks, fromDateTimeLocal, groupTaskTree, renderMarkdown, toDateTimeLocal } from './lib/task-utils'
import { isTaskView, shouldToggleRowSwipe } from './lib/mvp-utils'
import { defaultView, isTaskView, shouldToggleRowSwipe } from './lib/mvp-utils'
import { csrfHeader } from './lib/csrf'
import MvpPanel from './MvpPanel.vue'
@@ -31,7 +31,7 @@ const tags = ref<Tag[]>([])
const tasks = ref<Task[]>([])
const trash = ref<Task[]>([])
const activeList = ref('')
const activeView = ref<View>('tasks')
const activeView = ref<View>(defaultView())
const selectedTask = ref<Task | null>(null)
const title = ref('')
const query = ref('')