feat(admin-trials): add event-scoped manual result entry workflow - #343
Merged
asku1990 merged 3 commits intoJul 23, 2026
Conversation
Add the full-page result creation route with reusable entry, era, and lisätieto sections. Support saving another result or returning to the event workspace, prefill event judge details, and protect unsaved form changes during navigation and page unload. Route newly created events directly to their first result form and invalidate affected admin, trial, dog-profile, and statistics queries after successful creation. Return safe structured validation details, identify rejected lisätieto rows, persist integer row ordering, and omit unused rows from create requests. Add Finnish and Swedish messages, workflow tests, feature documentation, and the follow-up plan for rule-window-aware result fields. ref bej-103
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Remove the unreliable browser Back recovery based on asynchronous history.forward() and history.back() calls. Keep confirmation for explicit internal navigation and native unload protection for refresh or tab close. Ignore modified and new-tab link clicks, ensure confirmed actions run only once, and add focused tests and documentation for the intentionally unguarded browser Back behavior. ref BEJ-103
asku1990
marked this pull request as ready for review
July 23, 2026 07:08
Validate trial entry integer fields against PostgreSQL Int bounds before payload construction so oversized values cannot be silently saved as null. Cover create and edit flows with boundary, overflow, and long-input tests. ref BEJ-103
asku1990
merged commit Jul 23, 2026
db0a291
into
feature/bej-103-admin-trial-event-and-result-creation
5 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Unsaved changes
history.forward()/history.back()recovery sequence is removed; deterministic Back interception remains a separately documented follow-up.Ref: BEJ-103
Checklist
CHANGELOG.mdis updated underUnreleasedaccording to the repository release policy.