mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-11-20 13:07:57 +09:00
feat(frontend): Display brand code prefix on completed jobs (#243)
## Summary - Display the brand code (e.g., "NOMAD-1194:") as a prefix on completed job titles in the Recent Jobs UI - Brand code is already stored in `state_data.brand_code` when jobs complete with Dropbox distribution - This change simply displays that existing data ## Changes - `frontend/components/job/JobCard.tsx`: Add brand code prefix to job title display ## Testing - [x] Unit tests pass (128/128) - [x] Manual review of code change ## Review - [x] CodeRabbit CLI review completed locally - [x] No issues found @coderabbitai ignore --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
6da758dc0c
commit
b39f37610c
3 files changed
+3
-2
No files matched your search
@@ -183,6 +183,7 @@ export function JobCard({ job, onRefresh }: JobCardProps) {
|
||||
{/* Header row with title and non-interactive badge */}
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<p className="font-medium truncate" style={{ color: 'var(--text)' }}>
|
||||
{job.state_data?.brand_code && `${job.state_data.brand_code}: `}
|
||||
{job.artist || "Unknown"} - {job.title || "Unknown"}
|
||||
</p>
|
||||
{job.non_interactive && (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "karaoke-gen-frontend",
|
||||
"version": "0.82.0",
|
||||
"version": "0.82.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "next build",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "karaoke-gen"
|
||||
version = "0.99.2"
|
||||
version = "0.99.3"
|
||||
description = "Generate karaoke videos with synchronized lyrics. Handles the entire process from downloading audio and lyrics to creating the final video with title screens."
|
||||
authors = ["Andrew Beveridge <andrew@beveridge.uk>"]
|
||||
license = "MIT"
|
||||
|
||||
Reference in new issue
Block a user