Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe PR fixes the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 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 docstrings
🧪 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: |
939cd46
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6b36395e.quickadd.pages.dev |
| Branch Preview URL: | https://1174-valueoption1option2-tex.quickadd.pages.dev |
Add regression coverage for labeled VALUE dropdown tokens
({{VALUE:option-a,option-b|label:Pick one}}) in the One-page
input modal. The bug reported in issue #1180 reproduced at
v2.12.0 — capture wrote an empty value instead of the selected
option. The runtime fix landed in PR #1175 (`resolveDropdownInitialValue`
+ missing `setValue(req.id, selectedValue)` in OnePageInputModal),
but only the unlabeled id case was covered by tests.
Closes #1180
Add regression coverage for labeled VALUE dropdown tokens
({{VALUE:option-a,option-b|label:Pick one}}) in the One-page
input modal. The bug reported in issue #1180 reproduced at
v2.12.0 — capture wrote an empty value instead of the selected
option. The runtime fix landed in PR #1175 (`resolveDropdownInitialValue`
+ missing `setValue(req.id, selectedValue)` in OnePageInputModal),
but only the unlabeled id case was covered by tests.
Closes #1180
Fix mapped
VALUE|textCapture defaults when one-page preflight is enabled.The bug was that the one-page dropdown visually selected the first mapped option, but if the user submitted without touching the dropdown, the modal stored an empty string instead of the raw option value. Capture then treated that empty string as an intentional resolved value and emitted empty output like
background-color:.This change keeps formatter/runtime empty-string semantics intact and fixes the mismatch in the preflight dropdown path by seeding the submitted result with the same raw value the UI shows as selected. It also adds focused regression coverage and a live e2e covering the untouched-dropdown Capture flow.
Follow-up from review:
quickadd:runbehavior, using a narrowly scoped test-only diagnostic flag for CLI-verifiable one-page modal submissionValidation:
bun run buildFixes #1174
Summary by CodeRabbit
Bug Fixes
Tests