@lightworkai.official/debug-capture 0.11.0 → 0.12.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.
package/src/ui/strings.ts CHANGED
@@ -38,6 +38,9 @@ export interface Strings {
38
38
  captured: string;
39
39
  reporter: string;
40
40
  page: string;
41
+ /** The replay row: "{seconds}" is replaced. */
42
+ replayAttach: string;
43
+ replayWhat: string;
41
44
  /** The hand-off dialog, shown before leaving for the support portal. */
42
45
  handoffTitle: string;
43
46
  handoffBody: string;
@@ -80,6 +83,8 @@ const th: Strings = {
80
83
  captured: "เก็บข้อมูลแล้ว",
81
84
  reporter: "ผู้แจ้ง",
82
85
  page: "หน้า",
86
+ replayAttach: "แนบการบันทึกหน้าจอ {seconds} วินาทีก่อนแจ้ง",
87
+ replayWhat: "บันทึกเฉพาะโครงสร้างหน้าจอและการคลิก — ข้อความที่พิมพ์ในช่องกรอกถูกปิดบังไว้",
83
88
  handoffTitle: "กำลังพาไปที่ระบบแจ้งปัญหา",
84
89
  handoffBody: "ระบบจะลงชื่อเข้าใช้ให้อัตโนมัติ เพื่อดูเรื่องที่คุณแจ้งไว้",
85
90
  handoffGo: "ไปเลย",
@@ -121,6 +126,8 @@ const en: Strings = {
121
126
  captured: "Captured",
122
127
  reporter: "Reporter",
123
128
  page: "Page",
129
+ replayAttach: "Attach a replay of the last {seconds} seconds",
130
+ replayWhat: "The page and your clicks are recorded, not a video — anything typed into a field is masked",
124
131
  handoffTitle: "Opening the support portal",
125
132
  handoffBody: "You will be signed in automatically to see what you reported",
126
133
  handoffGo: "Go now",
package/src/ui/styles.ts CHANGED
@@ -48,6 +48,12 @@ textarea { min-height: 88px; resize: vertical; }
48
48
  font-size: 13px; line-height: 1.7; color: #475569; word-break: break-all;
49
49
  }
50
50
  .meta b { color: #0f172a; font-weight: 600; }
51
+ .meta .check {
52
+ display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; padding-top: 8px;
53
+ border-top: 1px solid #e2e8f0; font-weight: 500; color: #0f172a; word-break: normal; cursor: pointer;
54
+ }
55
+ .meta .check input { margin: 5px 0 0; flex: none; accent-color: #2563eb; }
56
+ .meta .check .hint { display: block; font-size: 12px; line-height: 1.5; margin-top: 2px; }
51
57
 
52
58
  .tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
53
59
  .sep { width: 1px; align-self: stretch; background: #e2e8f0; margin: 0 4px; }