Skip to content

Refactor/remove dataview#842

Open
ivan-lednev wants to merge 36 commits intomainfrom
refactor/remove-dataview
Open

Refactor/remove dataview#842
ivan-lednev wants to merge 36 commits intomainfrom
refactor/remove-dataview

Conversation

@ivan-lednev
Copy link
Copy Markdown
Owner

No description provided.

@ivan-lednev
Copy link
Copy Markdown
Owner Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9758b091b6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +790 to +791
if (!cache?.listItems) {
return undefined;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Index empty metadata updates to clear stale entries

Returning undefined when cache.listItems is absent causes onIndexRequested to drop that file from filesIndexed, so prior entries for the same path are never removed. If a note previously had tracked list items and is edited so CachedMetadata.listItems becomes undefined, stale task/log/plan records remain in the store and continue to appear in views until some other cleanup path runs.

Useful? React with 👍 / 👎.

Comment on lines +87 to +90
{#if $settings.showSubtasksInTaskBlocks && nestedListItems}
<div
class="lines-after-first-wrapper"
{@attach createRenderMarkdownAttachment(
dedent(deleteProps(getLinesAfterFirst(task.text))).trimStart(),
task.lines?.slice(1) || [],
)}
{@attach createRenderMarkdownAttachment(nestedListItems, [])}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Render task paragraphs when subtasks are enabled

The component now only renders nestedListItems for the post-title content, so continuation text on the task itself (the paragraphs produced by toRenderableMarkdown) is dropped. This regresses multiline task display: users with showSubtasksInTaskBlocks enabled will no longer see plain paragraph lines that follow the first list line.

Useful? React with 👍 / 👎.

Comment thread tests/integration.test.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant