Merge pull request 'feat(digests-ui): digest_kind badge — mark announcement issues in /digests' (#143) from worktree-digest-kind-ui into main
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 50s
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 50s
This commit was merged in pull request #143.
This commit is contained in:
@@ -48,6 +48,11 @@ export function DigestCard({
|
||||
{digest.practice_area && (
|
||||
<span>· {practiceAreaLabel(digest.practice_area)}</span>
|
||||
)}
|
||||
{digest.digest_kind === "announcement" && (
|
||||
<Badge variant="outline" className="bg-sky-50 text-sky-700 border-sky-300 text-[0.65rem]">
|
||||
עדכון
|
||||
</Badge>
|
||||
)}
|
||||
{digest.extraction_status !== "completed" && (
|
||||
<Badge variant="outline" className="bg-rule-soft text-ink-muted text-[0.65rem]">
|
||||
{digest.extraction_status === "pending" ? "ממתין לעיבוד" : digest.extraction_status}
|
||||
|
||||
@@ -45,6 +45,8 @@ export type Digest = {
|
||||
source_document_path: string;
|
||||
content_hash: string;
|
||||
extraction_status: string;
|
||||
/** decision (points at a ruling) · announcement (legislative/notice, no ruling) · other · "" */
|
||||
digest_kind: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user