Add blue dot indicator to browser tab when issue has running runs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
089a2d08bf
commit
7ab5b8a0c2
1 changed files with 3 additions and 2 deletions
|
|
@ -476,11 +476,12 @@ export function IssueDetail() {
|
||||||
});
|
});
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
const titleLabel = issue?.title ?? issueId ?? "Issue";
|
||||||
setBreadcrumbs([
|
setBreadcrumbs([
|
||||||
{ label: "Issues", href: "/issues" },
|
{ label: "Issues", href: "/issues" },
|
||||||
{ label: issue?.title ?? issueId ?? "Issue" },
|
{ label: hasLiveRuns ? `🔵 ${titleLabel}` : titleLabel },
|
||||||
]);
|
]);
|
||||||
}, [setBreadcrumbs, issue, issueId]);
|
}, [setBreadcrumbs, issue, issueId, hasLiveRuns]);
|
||||||
|
|
||||||
// Redirect to identifier-based URL if navigated via UUID
|
// Redirect to identifier-based URL if navigated via UUID
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue