Skip to content

fix: preserve oracle drafts during async submission - #1128

Open
TochukwuJustice wants to merge 5 commits into
Heliobond:mainfrom
TochukwuJustice:oracle-submission
Open

TochukwuJustice wants to merge 5 commits into
Heliobond:mainfrom
TochukwuJustice:oracle-submission

Conversation

@TochukwuJustice

Copy link
Copy Markdown
Contributor

closes #1008

Summary

  • Prevents successful earlier submissions from clearing newly edited score or funding values.
  • Clears fields only when the submitted project and draft values remain unchanged.
  • Preserves values after failed submissions for retry.
  • Adds regression tests for asynchronous success and failure scenarios.

Reason

Oracle form controls remain editable while submissions are pending. Previously, an earlier successful response could clear values entered for a newer draft.

Derive quarterly CSV filenames from exported quarters instead of the current year.

Cover empty, single-quarter, same-year, and multi-year report labels.
Allow U+2019 in street and city names while preserving the existing punctuation allowlist.

Add regression coverage for ASCII and typographic apostrophes.
@vercel

vercel Bot commented Nov 24, 2026

Copy link
Copy Markdown

@TochukwuJustice is attempting to deploy a commit to the David Dada's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thanks for the PR! A maintainer will take a look shortly. ✨

@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@TochukwuJustice Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@github-actions

Copy link
Copy Markdown

Thanks for the PR! A maintainer will take a look shortly. ✨

This branch has not been deployed

No deployments
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.

Preserve a newly edited draft when an earlier oracle submission confirms

1 participant