feat(ui): human-confirmed status suggestion banner
When a job workspace opens, loads /status-suggestion and shows a
dismissible banner when a recent inbound email implies a status move
("This email looks like a move to Interview"). Applying it PATCHes the
status; nothing changes without the user's click.
- StatusSuggestion type + load-on-open effect + apply handler
- warning-toned banner shown above tab content on any tab
- EN/NB translations; README endpoint docs
- 2 frontend tests; full suite green (21 suites / 48 tests)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -138,6 +138,16 @@ export interface MatchScoreSectionCoverage {
|
||||
total: number;
|
||||
}
|
||||
|
||||
export interface StatusSuggestion {
|
||||
hasSuggestion: boolean;
|
||||
suggestedStatus?: string | null;
|
||||
currentStatus?: string | null;
|
||||
signal?: string | null;
|
||||
confidence?: string | null;
|
||||
messageDate?: string | null;
|
||||
messageSubject?: string | null;
|
||||
}
|
||||
|
||||
export interface MatchScore {
|
||||
score: number;
|
||||
band: string;
|
||||
|
||||
Reference in New Issue
Block a user