Dashboard bug: move to note is sometimes not removing items from the section properly

未关闭
#649 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@jgclark 已经在做这个了。

开始于 2025年7月1日。

评估

这个 Issue 还没有评估数据。

描述

2025-07-01 16:28:31 | DEBUG | userInput / processChosenHeading :: headingLevel: 2 chosenHeading: 'kenna'
2025-07-01 16:28:31 | DEBUG | moveItemToRegularNote :: - Moving to note 'Family Todos Undated' under heading: 'kenna'
2025-07-01 16:28:31 | DEBUG | moveItemToRegularNote :: - newHeadingLevel: 2
2025-07-01 16:28:31 | DEBUG | coreAddTaskToNoteHeading :: starting for note 'Family Todos Undated' under heading 'kenna' text ! @kenna Sell the moped headingLevel 2
2025-07-01 16:28:31 | DEBUG | coreAddTaskToNoteHeading :: Adding task '! @kenna Sell the moped' to 'Family Todos Undated' below 'kenna'
2025-07-01 16:28:31 | DEBUG | NPP/findParaFromStringAndFilename :: starting with filename: 20250627.md, content: {! @kenna Sell the moped}
2025-07-01 16:28:31 | DEBUG | moveItemToRegularNote :: - Removing 1 para from original note 20250627.md
2025-07-01 16:28:31 | DEBUG | doMoveToNote :: - Sending remove line request for ID 13-6
2025-07-01 16:28:31 | DEBUG | bridgeClickDashboardItem :: ⏱️ ⚠️ 20,008ms for bridgeClickDashboardItem: "moveToNote" before processActionOnReturn()

  • numeric Setting 'newTaskSectionHeadingLevel' number: 2
  • numeric Setting 'maxItemsToShowInSection' number: 100
  • numeric Setting 'autoUpdateAfterIdleTime' number: 0
  • numeric Setting 'lookBackDaysForOverdue' number: 0
    2025-07-01 16:28:31 | DEBUG | getListOfEnabledSections :: sectionsToShow: OVERDUE,SEARCH
    2025-07-01 16:28:31 | DEBUG | processActionOnReturn :: TASK: updatedParagraph "N/A"
    2025-07-01 16:28:31 | DEBUG | processActionOnReturn :: REMOVE_LINE_FROM_JSON: for ID:13-6 task:{! @kenna Sell the moped}
    2025-07-01 16:28:31 | DEBUG | processActionOnReturn :: -> removing item 13-6 from sections[0].sectionItems[6]
    2025-07-01 16:28:31 | DEBUG | processActionOnReturn :: -> NOT asking for any further refresh: hopefully React will do its stuff!
    2025-07-01 16:28:31 | DEBUG | updateReactWindowFLC: handlerResult :: {
    "success": true,
    "actionsOnSuccess": [
    "REMOVE_LINE_FROM_JSON"
    ]
    }
    2025-07-01 16:28:31 | DEBUG | updateReactWindowFLC :: for item ID: 13-6 from OVERDUE to do REMOVE_LINE_FROM_JSON
    2025-07-01 16:28:31 ❗️ ERROR ❗️ updateReactWindowFLC :: no updatedParagraph param was given, and its not a Project update. So cannot update react window content for: ID=13-6. errorMsg=-
    2025-07-01 16:28:31 | DEBUG | - data.item at error: :: {
    "ID": "13-6",
    "itemType": "open",
    "teamspaceTitle": "",
    "para": {
    "noteType": "Calendar",
    "prefix": "* ",
    "dueDate": "2025-06-27",
    "rawContent": "* ! @kenna Sell the moped",
    "hasChild": false,
    "isAChild": false,
    "filename": "20250627.md",
    "lineIndex": 2,
    "title": "2025-06-27",
    "type": "open",
    "priority": 1,
    "indentLevel": 0,
    "isTeamspace": false,
    "startTime": "none",
    "changedDate": "2025-07-01T23:21:49.104Z",
    "content": "! @kenna Sell the moped"
    }
    }
    2025-07-01 16:28:31 | DEBUG | bridgeClickDashboardItem :: ⏱️ ⚠️ 20,052ms total runtime for bridgeClickDashboardItem: "moveToNote"
主要语言
JavaScript
星标
204
派生
82
平均合并
22 小时 27 分钟
30 天内合并 PR
3

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NotePlan/plugins 的其他 Issue

查看 NotePlan/plugins 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。