Skip to content

fix(preflight): preserve one-page FIELD values#1186

Draft
chhoumann wants to merge 1 commit into
masterfrom
1184-bug-one-page-input-double-prompts-for-field-variables
Draft

fix(preflight): preserve one-page FIELD values#1186
chhoumann wants to merge 1 commit into
masterfrom
1184-bug-one-page-input-double-prompts-for-field-variables

Conversation

@chhoumann
Copy link
Copy Markdown
Owner

Preserve one-page input values for {{FIELD:...}} tokens by using the runtime-compatible FIELD: key during preflight collection. This prevents Template choices from prompting a second time after the one-page modal has already collected the FIELD value.

The field suggestion UI still displays raw labels and strips the internal prefix before parsing, so vault suggestions continue to work for both plain and filtered FIELD syntax.

Validation performed:

  • bun run test
  • bun run lint
  • bun run build
  • Obsidian dev-vault CLI check/run flow for {{FIELD:People}} and {{FIELD:People|folder:Contacts}}, confirming prefixed variables resolve and generated output contains the provided values with no dev errors.

Fixes #1184

@chhoumann chhoumann linked an issue May 12, 2026 that may be closed by this pull request
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 12, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e14a2515-5c02-438e-9740-7000ce879b1d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 1184-bug-one-page-input-double-prompts-for-field-variables

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying quickadd with  Cloudflare Pages  Cloudflare Pages

Latest commit: 94825ef
Status: ✅  Deploy successful!
Preview URL: https://402ec749.quickadd.pages.dev
Branch Preview URL: https://1184-bug-one-page-input-doub.quickadd.pages.dev

View logs

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.

[BUG] One-page input double-prompts for {{FIELD:...}} variables

1 participant