feat: paste text and automatically create a new task

This commit is contained in:
Julien Calixte
2026-01-24 13:15:40 +01:00
parent 667ca5ab95
commit b1f5aaaec2
6 changed files with 84 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ const extractTitleAndEstimationFromStep = (
): [string, number] => {
const [rawTitle, rawEstimation] = rawStep
.trim()
.replace(/^-\s*/, '')
.replace(/^-\s*(\[[ x]\]\s*)?/, '')
.split('|')
const title = rawTitle.trim()