feat(matches): add the candidate match screen with expandable explanations

This commit is contained in:
shira committed 2026-10-09 13:55:00 +03:00
1 parent 0b11021b16
commit 28337d84cb
50 files changed
+4834 -37

No files matched your search

+52
View File
@@ -1,3 +1,8 @@
// Public API of the match entity: the search transport adapter, the card
// reads, the presentation of server-computed results, and the presentational
// parts of one result. The slice holds no search state; the page owns it.
export { matchCardQueryKeys, useMatchCandidateCard, useMatchCandidateEvidence } from "./api/card";
export { searchMatches } from "./api/search";
export {
matchSearchFromTransport,
@@ -13,3 +18,50 @@ export type {
MatchSearchSourceModel,
MatchUnconfirmedCardModel,
} from "./model/adapter";
export {
appliedFiltersOf,
describeAppliedFilters,
filtersFromRequest,
type AppliedFilterItem,
type AppliedFiltersModel,
} from "./model/applied-filters";
export { describeCardFailure, type CardFailure } from "./model/card-failure";
export {
presentCard,
presentEvidence,
type CardDetails,
type EvidenceFact,
} from "./model/card-presentation";
export {
componentRows,
evidenceRows,
formatScore,
otherUnknowns,
type ComponentRow,
type EvidenceRow,
} from "./model/explanation";
export {
gradeCodes,
gradeLabels,
groupDescriptions,
groupLabels,
matchGroupOrder,
specializationCodes,
specializationLabels,
stackCodes,
stackLabels,
workFormatCodes,
workFormatLabels,
} from "./model/labels";
export { formatRetryAfter } from "./model/retry-after";
export {
allSpecializationsView,
cardsForView,
matchCardKey,
shortHandle,
specializationsInResult,
type SpecializationView,
} from "./model/views";
export { CandidateCardDetails } from "./ui/candidate-card-details";
export { MatchCardView } from "./ui/match-card";
export { MatchExplanation } from "./ui/match-explanation";