Skip to content

Update prompt prestage recurrence options#22

Merged
saultminer merged 6 commits into
txstate-etc:mainfrom
saultminer:315Prestage___main
May 15, 2026
Merged

Update prompt prestage recurrence options#22
saultminer merged 6 commits into
txstate-etc:mainfrom
saultminer:315Prestage___main

Conversation

@saultminer
Copy link
Copy Markdown
Contributor

Previously prestage could be configured for recurrence of false; only stage data on first prompt use, or true; where data was always restaged when prompt was loaded.

To accommodate prompts which invalidate other prompts new recurrence options of NEVER, ALWAYS, INVALID have been added, and true/false options are maintained for backward compat.

In the instance of prestage recur being set INVALID the prompt will only prestage data if that prompt is currentl flagged as invalidate. This will allow a dev to update certain data elements (maybe uncheck the 'confirmed' checkbox on a page asking for confirmation) when a previous prompt has designated a need to review a trailing prompts information by way of invalidUponChange.

@saultminer saultminer requested a review from a team May 14, 2026 14:43
@saultminer saultminer merged commit 1b1c9a6 into txstate-etc:main May 15, 2026
chastabor pushed a commit to chastabor/reqquest-chas that referenced this pull request May 15, 2026
* Register enum types for prestage recurrence: txstate-etc/reqquest-txstate#316

* Update prompt prestage reg definition to use spec'd types, or bool for backward compat: txstate-etc/reqquest-txstate#316

* RequiresStaging smart check update to use new prestage recurrence values: txstate-etc/reqquest-txstate#316

* Update UI schema to include prestage enum, modify demo data for test: txstate-etc/reqquest-txstate#316

* Update demo default to support INVALID prestage test operation
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