Rich Text Output Window Not Opening

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
desktop, tooling

调研方向

首先在选中 Rich Text 的情况下重现 /project lists,并检查 Plugin Console 输出。跟踪 makeProjectLists 和 renderProjectListsHTML,重点关注 Project constructor 反复产生的 "Expected string, got undefined" 错误。完成的标准是 Rich Text 输出窗口打开,并显示生成的项目列表且没有这些错误。

由索引模型根据 Issue 内容生成。

描述

Describe the bug
When I execute /projects lists (or other associated commands) while the plugin is configured to output Rich Text - it yields no output. The plugin will show "Generating Project Review List" and markdown versions (if selected) will be generated not rich text.

To Reproduce
Steps to reproduce the behavior:

  1. Execute /project lists from the respective plugin menu.

Expected behavior
Outputs the Rich Text version.

Screenshots
NA

System

  • Device: MacBook Pro
  • OS: macOS Venture: 13.3.1 (a) (22E772610a)
  • NotePlan Version: 3.9.1 (1030)
  • Plugin Name & Version: Project + Reviews v0.10.1

Additional context
Only that it seems isolated to a particular system / combination. Works on there machines.

Plugin Console Log
To provide us with more clues about where the bug/error is occurring...

  1. Open the Plugin Console by going to Noteplan > Help > Plugin Console
  2. Run the plugin you're reporting
  3. Copy the output from the Plugin Console and paste it below
  4. Delete any output that has personal information you don't want in there
Executing function 'makeProjectLists'
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | WARN  | NPparagraph/getOrMakeMetadataLine :: Warning: Can't find an existing metadata line, so will insert a new line for it after title
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | WARN  | NPparagraph/getOrMakeMetadataLine :: Warning: Can't find an existing metadata line, so will insert a new line for it after title
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | renderProjectListsHTML :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | WARN  | NPparagraph/getOrMakeMetadataLine :: Warning: Can't find an existing metadata line, so will insert a new line for it after title
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | WARN  | NPparagraph/getOrMakeMetadataLine :: Warning: Can't find an existing metadata line, so will insert a new line for it after title
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
主要语言
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 摘要。