@sentry/junior-dashboard 0.62.0 → 0.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,14 +39,14 @@ export function ToolFrame(props: {
39
39
 
40
40
  /** Provide the shared transcript tool-frame shell for nonstandard part views. */
41
41
  export function toolFrameClass(): string {
42
- return "border border-[#beaaff]/20 bg-[#111] transition-colors hover:border-[#beaaff]/45 hover:bg-[rgba(190,170,255,0.06)]";
42
+ return "border-l border-[#beaaff]/20 pl-3 transition-colors hover:border-[#beaaff]/40";
43
43
  }
44
44
 
45
45
  function toolHeaderClass(interactive: boolean): string {
46
46
  return cn(
47
- "grid grid-cols-[minmax(0,1fr)_auto] items-start gap-3 px-3 py-2 font-mono text-[0.84rem] leading-tight text-[#b8b8b8] max-md:grid-cols-1 max-md:gap-1",
47
+ "grid grid-cols-[minmax(0,1fr)_auto] items-start gap-3 py-1.5 font-mono text-[0.82rem] leading-tight text-[#b8b8b8] max-md:grid-cols-1 max-md:gap-1",
48
48
  interactive
49
- ? "cursor-pointer hover:bg-[rgba(190,170,255,0.07)]"
49
+ ? "cursor-pointer list-none transition-colors hover:text-[#d6d6d6] [&::-webkit-details-marker]:hidden"
50
50
  : "cursor-default",
51
51
  );
52
52
  }
@@ -38,7 +38,9 @@ export function TranscriptToolView(props: {
38
38
  ? formatMs(props.resultTimestamp - props.timestamp)
39
39
  : undefined;
40
40
  const meta = [
41
- props.timestamp ? formatMessageTimestamp(props.timestamp) : undefined,
41
+ typeof props.timestamp === "number"
42
+ ? formatMessageTimestamp(props.timestamp)
43
+ : undefined,
42
44
  duration,
43
45
  props.result ? formatBytes(outputBytes) : undefined,
44
46
  props.result ? undefined : "missing result",
@@ -51,7 +53,7 @@ export function TranscriptToolView(props: {
51
53
  meta={meta}
52
54
  raw
53
55
  signature={
54
- <strong className="min-w-0 break-words font-bold text-white">
56
+ <strong className="min-w-0 break-words font-bold text-[#d6d6d6]">
55
57
  {toolName}
56
58
  </strong>
57
59
  }
@@ -74,7 +76,7 @@ export function TranscriptToolView(props: {
74
76
  meta={meta}
75
77
  signature={
76
78
  <>
77
- <strong className="min-w-0 break-words font-bold text-white">
79
+ <strong className="min-w-0 break-words font-bold text-[#d6d6d6]">
78
80
  {toolName}
79
81
  </strong>
80
82
  {isPreviewableValue(input) ? (
@@ -113,12 +115,12 @@ function ToolBodySection(props: {
113
115
  return (
114
116
  <div
115
117
  className={cn(
116
- "border-t border-white/10 px-3",
117
- props.padded === false ? "" : "py-3",
118
+ "border-t border-white/10",
119
+ props.padded === false ? "" : "py-2",
118
120
  )}
119
121
  >
120
122
  {props.label ? (
121
- <div className="pb-2 font-mono text-[0.78rem] uppercase leading-none text-[#888]">
123
+ <div className="pb-2 font-mono text-[0.78rem] leading-none text-[#888]">
122
124
  {props.label}
123
125
  </div>
124
126
  ) : null}
@@ -173,7 +175,7 @@ function ToolArgEntry(props: { index: number; name: string; value: string }) {
173
175
  return (
174
176
  <span>
175
177
  {props.index > 0 ? <span className="text-[#888]">, </span> : null}
176
- <span className="text-white">{props.name}</span>
178
+ <span className="text-[#d6d6d6]">{props.name}</span>
177
179
  <span className="text-[#888]">: </span>
178
180
  <ToolArgValue value={props.value} />
179
181
  </span>