Skip to content

Conversation

@alexluckett
Copy link
Contributor

@alexluckett alexluckett commented Jan 15, 2026

Proposed change

Jira ticket: https://eaflood.atlassian.net/browse/DF-719

Type of change

When a file upload question becomes invalid, only invalidate the one page that's affected rather than all pages. We do this by creating a new getStateKeys function at page controller level, which can declare supplementary state values to clear in addition to the core component state.

  • Bug fix
  • New feature
  • Breaking change
  • Misc. (documentation, build updates, etc)

Checklist

  • You have executed this code locally and it performs as expected.
  • You have added tests to verify your code works.
  • You have added code comments and JSDoc, where appropriate.
  • There is no commented-out code.
  • You have added developer docs in README.md and docs/* (where appropriate, e.g. new features).
  • The tests are passing (npm run test).
  • The linting checks are passing (npm run lint).
  • The code has been formatted (npm run format).

@alexluckett alexluckett changed the title Feature/df 719 reset file upload states Reset specific file upload page states when a failure occurs Jan 15, 2026
@alexluckett alexluckett changed the title Reset specific file upload page states when a failure occurs Reset specific file upload page state when a failure occurs Jan 15, 2026
@sonarqubecloud
Copy link

@alexluckett alexluckett merged commit bf5b5a9 into main Jan 19, 2026
25 checks passed
@alexluckett alexluckett deleted the feature/DF-719-reset-file-upload-states branch January 19, 2026 09:43
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.

3 participants