fix(demo): advance seeded candidates past onboarding and show the express summary in Russian

This commit is contained in:
shira committed 2026-10-10 01:39:58 +03:00
1 parent 41206abbcf
commit 945ab6d6a9
9 files changed
+296 -10

No files matched your search

@@ -3,6 +3,7 @@ package outbound
import (
"context"
"errors"
"time"
"github.com/google/uuid"
@@ -89,6 +90,15 @@ type DemoSeedStore interface {
// count differs from ItemCount.
BindTrainingBank(ctx context.Context, binding DemoTrainingBinding) error
// AdvanceCandidateOnboarding sets the saved onboarding step of a verified
// candidate to candidate_assessment, the step that a saved questionnaire
// leaves, when the step is still an earlier candidate step and the
// questionnaire is saved. No product transition moves the consent step,
// and the profile and questionnaire transitions apply only from their own
// step, so a stand whose rows were saved earlier needs this statement. It
// never moves a later step back, and it reports whether it changed the step.
AdvanceCandidateOnboarding(ctx context.Context, userID uuid.UUID, at time.Time) (bool, error)
// Inventory counts the seed's records on the stand.
Inventory(ctx context.Context, syntheticDomain string, categories []string) (DemoInventory, error)
}