Skip to content

feat: add Inertia Precognition support#204

Merged
DominusKelvin merged 2 commits into
mainfrom
feat/197-investigate-precognition-style-live-validation-for-boring-stack
May 28, 2026
Merged

feat: add Inertia Precognition support#204
DominusKelvin merged 2 commits into
mainfrom
feat/197-investigate-precognition-style-live-validation-for-boring-stack

Conversation

@DominusKelvin

@DominusKelvin DominusKelvin commented May 28, 2026

Copy link
Copy Markdown
Member

Summary

  • add Precognition request helpers, response headers, 204 success handling, and 422 JSON error handling to inertia-sails
  • humanize Sails/Anchor/RTTC validation errors so Precognition and normal Inertia validation share friendlier messages
  • wire the Mellow and Ascent templates for Precognition success responses, live forgot-password validation, and polished input error states
  • replace forgot-password controller unit tests with Sounding functional tests where template coverage is added

Validation

  • npm --workspace inertia-sails test
  • npm --workspace rsbuild-plugin-inertia test
  • node --check templates/ascent-vue/api/controllers/auth/forgot-password.js
  • node --check templates/mellow-react/api/controllers/auth/forgot-password.js
  • node --check templates/mellow-vue/api/controllers/auth/forgot-password.js
  • manually verified Mellow Vue forgot-password Precognition returns Please enter a valid email address

Notes

  • templates now assume the upcoming inertia-sails release that includes the Precognition helpers

Closes #197

@DominusKelvin DominusKelvin marked this pull request as ready for review May 28, 2026 01:23
@DominusKelvin DominusKelvin merged commit 26bf273 into main May 28, 2026
6 checks passed
@DominusKelvin DominusKelvin deleted the feat/197-investigate-precognition-style-live-validation-for-boring-stack branch May 28, 2026 01:28
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.

Investigate Precognition-style live validation for Boring Stack

1 participant