Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis PR adds support for selectively including inline fields found inside specific fenced code block types by introducing an Changes
Sequence Diagram(s)sequenceDiagram
participant Client as Client Code
participant QA as QuickAddApi
participant FVC as FieldValueCollector
participant FSP as FieldSuggestionParser
participant IFP as InlineFieldParser
Client->>QA: getFieldValues(fieldName, {includeInlineCodeBlocks: ["ad-note"]})
QA->>FSP: parse field filters (inline:true|inline-code-blocks:ad-note)
FSP-->>QA: FieldFilter {inline: true, inlineCodeBlocks: ["ad-note"]}
QA->>FVC: collectFieldValuesManually(fieldName, filters)
FVC->>IFP: getFieldValues(content, fieldName, {includeCodeBlocks: ["ad-note"]})
IFP->>IFP: parseInlineFields(content, {includeCodeBlocks: ["ad-note"]})
Note over IFP: filterFencedCodeBlocks() keeps only "ad-note" blocks
IFP-->>FVC: Set with field values from ad-note blocks
FVC-->>QA: aggregated field values
QA-->>Client: ["121212","343434"]
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying quickadd with
|
| Latest commit: |
b967541
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://535df6d6.quickadd.pages.dev |
| Branch Preview URL: | https://998-bug-quickadd-api-getfiel-oo1g.quickadd.pages.dev |
# [2.12.0](2.11.0...2.12.0) (2026-03-05) ### Bug Fixes * **capture:** preserve canvas tab indentation on configured writes ([#1125](#1125)) ([0a1578e](0a1578e)) * disallow capture targets with .base extension ([cb39ed4](cb39ed4)) * **field-suggestions:** opt-in inline values from fenced code blocks ([#1128](#1128)) ([8597905](8597905)) * **gui:** preserve modal edit position during settings reload ([#1132](#1132)) ([11bda19](11bda19)) * **gui:** reduce ai settings modal reload churn ([#1134](#1134)) ([ae0f7a1](ae0f7a1)) * **gui:** reduce choice builder reload churn ([#1136](#1136)) ([818272a](818272a)) * **gui:** reduce macro settings modal reload churn ([#1135](#1135)) ([a1a6271](a1a6271)) * harden existing-tab matching and document issue workflow ([#1108](#1108)) ([7b12d3b](7b12d3b)) * make template path resolution deterministic ([3297d54](3297d54)) * normalize capture title for non-markdown targets ([964d672](964d672)) * preserve capture-format spacing for insert-at-end ([#1119](#1119)) ([8bb8ed4](8bb8ed4)) * preserve explicit capture target file extensions ([57e43ff](57e43ff)) * preserve insert-at-end order for non-newline captures ([#1120](#1120)) ([e7cbbf2](e7cbbf2)) * resolve template file-name paths without duplicate default folder ([7bfd41b](7bfd41b)) * resolve vault-relative template paths using root folders ([81216de](81216de)) ### Features * add AI request logging API and reduce assistant log noise ([#1110](#1110)) ([2c36800](2c36800)) * automate docs version snapshot during release ([#1111](#1111)) ([1571846](1571846)) * **capture:** fully support capture into canvas cards ([#1124](#1124)) ([a53f889](a53f889)) * **cli:** add native QuickAdd Obsidian CLI handlers ([#1129](#1129)) ([8102d47](8102d47)) * **format:** support mapped VALUE suggester display text ([#1127](#1127)) ([b8ec56c](b8ec56c)) * **macro:** add editor cursor navigation commands ([101d5f6](101d5f6)) * support .base template files for template choices ([11e6490](11e6490)) ### Reverts * **gui:** remove modal reload refactor series ([#1137](#1137)) ([3ba1a73](3ba1a73)), closes [#1136](#1136) [#1135](#1135) [#1134](#1134) [#1133](#1133) [#1132](#1132)
|
🎉 This PR is included in version 2.12.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Adds an opt-in path to include inline
field:: valuepairs from selected fenced code block types when collecting field suggestions.QuickAdd currently strips inline fields inside fenced blocks to avoid false positives, which means use cases like
ad-noteblocks cannot be queried viafieldSuggestions.getFieldValuesor{{FIELD:...|inline:true}}. This change keeps the existing default behavior and only includes fenced-block values when explicitly allowlisted.I considered changing
includeInline: trueto scan all fenced blocks, but rejected it because it would introduce broad regressions for users with real code blocks that contain::patterns.Reviewer focus and risk notes:
includeInlineCodeBlocks?: string[](only active whenincludeInlineis true)inline-code-blocks:<csv>inlineCodeBlocksso differing allowlists do not share stale resultsValidation performed:
bun run testbun run build-with-lintvault=devafter plugin reload:includeInline: true) =>["343434"]includeInlineCodeBlocks: ["ad-note"]) =>["121212", "343434"]Fixes #998
Summary by CodeRabbit
New Features
Documentation
Tests