Clarity: Views render raw @remind(...) sync ID instead of hiding it

未关闭 适合新手
#784 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
74/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript
领域
frontend

调研方向

从 Clarity 对生成的 Inbox 和其他视图中的任务文本进行渲染的部分开始,然后使用 @remind(...) UUID,通过 Remind 插件同步一个任务来复现。比较原生视图和 Clarity 视图;当 UUID 被隐藏,而任务文本和提醒指示器仍保持可见时,即表示完成。

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

描述

Checks

  • I confirm I have restarted NotePlan and this problem still persists.
  • I confirm I have reinstalled the Plugin and this problem still persists.
  • Is this a repeatable problem?

System

  • Device OS: macOS
  • NotePlan Version: 3.21.2 (1522)
  • Plugin Name & Version: Clarity v1.9.0

Describe the bug

In views generated by Clarity (e.g. the Inbox view), tasks that have been synced to Apple Reminders via the "Remind" plugin's @remind(...) declaration display the full raw sync ID inline — e.g. @remind(:::8ECB59B3-4E5E-4B15-833F-348D1A8CE4DE). NotePlan's own default/native views correctly hide this ID and just show the task text with its reminder indicator (a bell icon with the reminder time). This looks like an oversight in how Clarity renders task text, rather than an error/crash — Clarity just isn't stripping this hidden metadata the way NotePlan's native views do.

What do you expect it to do instead?

Clarity should hide the @remind(...) UUID the same way NotePlan's built-in views do, rather than rendering it as visible text in the task line.

To Reproduce

Steps to reproduce the behavior:

  1. Install the "Remind" plugin and sync a task to Apple Reminders using the @remind declaration.
  2. Open NotePlan's default Inbox/calendar view — confirm the task displays normally, with no visible ID (just the task text and a reminder indicator).
  3. Open Clarity's Inbox view (or another Clarity-generated view containing that task).
  4. Observe that the task now shows the raw @remind(:::UUID) string appended after the task text.

Screenshots

Image Image

Additional context

This appears to be specific to how Clarity parses/strips (or doesn't strip) plugin-inserted metadata tags when rendering its own task views — other plugins that use similar hidden-metadata conventions in task lines may be affected the same way, not just Remind's @remind tag.

主要语言
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 摘要。