feat(S05/T01): Unified workflow trust signals across the API, table, da…
- JobTrackerApi/Controllers/JobApplicationsController.cs - JobTrackerApi.Tests/JobApplicationsWorkflowSignalsTests.cs - job-tracker-ui/src/jobWorkflowSignals.ts - job-tracker-ui/src/components/JobTable.tsx - job-tracker-ui/src/components/DashboardView.tsx - job-tracker-ui/src/components/RemindersView.tsx - job-tracker-ui/src/workflow-trust-signals.test.tsx
This commit is contained in:
@@ -11,6 +11,23 @@ export interface Company {
|
||||
pipelineStage?: string;
|
||||
}
|
||||
|
||||
export type WorkflowActionKey = "package-work" | "follow-up" | "interview-prep" | "review-readiness";
|
||||
export type WorkflowWorkspaceTab = "tailored-cv" | "follow-up" | "interview-prep" | "readiness";
|
||||
|
||||
export interface WorkflowSignal {
|
||||
actionKey: WorkflowActionKey;
|
||||
reason: string;
|
||||
workspaceTab: WorkflowWorkspaceTab;
|
||||
followMode?: string | null;
|
||||
needsAttention: boolean;
|
||||
hasPackageGap: boolean;
|
||||
needsInterviewPrep: boolean;
|
||||
needsFollowUpAction: boolean;
|
||||
hasTailoredCv: boolean;
|
||||
hasSavedApplicationAnswerDraft: boolean;
|
||||
hasInterviewPrepNotes: boolean;
|
||||
}
|
||||
|
||||
export interface JobApplication {
|
||||
id: number;
|
||||
jobTitle: string;
|
||||
@@ -38,6 +55,7 @@ export interface JobApplication {
|
||||
fullSummary?: string | null;
|
||||
tailoredCvText?: string | null;
|
||||
tailoredCvUpdatedAt?: string | null;
|
||||
workflowSignal?: WorkflowSignal | null;
|
||||
|
||||
hasResume?: boolean;
|
||||
hasCoverLetter?: boolean;
|
||||
@@ -48,7 +66,7 @@ export interface JobApplication {
|
||||
isDeleted?: boolean;
|
||||
deletedAt?: string;
|
||||
needsFollowUp?: boolean;
|
||||
followUpReason?: string;
|
||||
followUpReason?: string | null;
|
||||
}
|
||||
|
||||
export interface CandidateFitChannelGuidance {
|
||||
@@ -97,6 +115,7 @@ export interface ReadinessResponse {
|
||||
completed: string[];
|
||||
missing: string[];
|
||||
reminders: string[];
|
||||
workflowSignal: WorkflowSignal;
|
||||
}
|
||||
|
||||
export interface FollowUpDraft {
|
||||
|
||||
Reference in New Issue
Block a user