| ... | ... | @@ -1918,11 +1918,13 @@ function LiveActivityRow({ |
| 1918 | 1918 | iconName, |
| 1919 | 1919 | toolIcon, |
| 1920 | 1920 | failed = false, |
| 1921 | active = false, |
| 1921 | 1922 | }: { |
| 1922 | 1923 | label: string; |
| 1923 | 1924 | iconName?: WorkEntryIconName; |
| 1924 | 1925 | toolIcon?: ToolActivityIcon | undefined; |
| 1925 | 1926 | failed?: boolean; |
| 1927 | active?: boolean; |
| 1926 | 1928 | }) { |
| 1927 | 1929 | return ( |
| 1928 | 1930 | <div className="min-h-6 w-fit max-w-full min-w-0 overflow-hidden rounded-md text-sm leading-relaxed"> |
| ... | ... | @@ -1932,6 +1934,7 @@ function LiveActivityRow({ |
| 1932 | 1934 | toolIcon={toolIcon} |
| 1933 | 1935 | failed={failed} |
| 1934 | 1936 | announceFailure={failed} |
| 1937 | active={active} |
| 1935 | 1938 | /> |
| 1936 | 1939 | </div> |
| 1937 | 1940 | ); |
| ... | ... | @@ -1943,12 +1946,14 @@ function LiveActivityContent({ |
| 1943 | 1946 | toolIcon, |
| 1944 | 1947 | failed = false, |
| 1945 | 1948 | announceFailure = false, |
| 1949 | active = false, |
| 1946 | 1950 | }: { |
| 1947 | 1951 | label: string; |
| 1948 | 1952 | iconName: WorkEntryIconName | undefined; |
| 1949 | 1953 | toolIcon?: ToolActivityIcon | undefined; |
| 1950 | 1954 | failed?: boolean; |
| 1951 | 1955 | announceFailure?: boolean; |
| 1956 | active?: boolean; |
| 1952 | 1957 | }) { |
| 1953 | 1958 | const showTrailingFailureMark = |
| 1954 | 1959 | failed && iconName !== undefined && !toolIconAcceptsTint(iconName, toolIcon); |
| ... | ... | @@ -1978,7 +1983,7 @@ function LiveActivityContent({ |
| 1978 | 1983 | /> |
| 1979 | 1984 | </span> |
| 1980 | 1985 | ) : null} |
| 1981 | | <span className="min-w-0 flex-1 truncate">{label}</span> |
| 1986 | <span className={cn("min-w-0 flex-1 truncate", active && "live-tool-shine")}>{label}</span> |
| 1982 | 1987 | {showTrailingFailureMark ? ( |
| 1983 | 1988 | <XIcon aria-hidden className={cn("size-3 shrink-0", failedToolIconClassName)} /> |
| 1984 | 1989 | ) : null} |
| ... | ... | @@ -2004,6 +2009,7 @@ function LiveWorkEntryTimelineRow({ row }: { row: Extract<TimelineRow, { kind: " |
| 2004 | 2009 | iconName={workEntryIconName(row.entry)} |
| 2005 | 2010 | toolIcon={row.entry.toolIcon ?? row.entry.toolSource?.icon} |
| 2006 | 2011 | failed={failed} |
| 2012 | active={row.active} |
| 2007 | 2013 | /> |
| 2008 | 2014 | </button> |
| 2009 | 2015 | ); |