@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/README.md +58 -0
- package/dist/base64.d.ts +1 -0
- package/dist/capture/replay.d.ts +28 -0
- package/dist/capture/replayRedact.d.ts +6 -0
- package/dist/config.d.ts +40 -0
- package/dist/debug-capture.js +9 -3
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +20 -14
- package/dist/replayPack.d.ts +20 -0
- package/dist/rrweb-record.mjs +78 -0
- package/dist/submit.d.ts +1 -1
- package/dist/types.d.ts +49 -0
- package/dist/ui/strings.d.ts +3 -0
- package/dist/ui/styles.d.ts +1 -1
- package/package.json +10 -5
- package/src/base64.ts +20 -0
- package/src/budget.ts +3 -3
- package/src/bundle.ts +8 -1
- package/src/capture/consoleBuffer.ts +36 -1
- package/src/capture/networkBuffer.ts +4 -4
- package/src/capture/replay.ts +167 -0
- package/src/capture/replayRedact.ts +69 -0
- package/src/config.ts +62 -0
- package/src/embed.ts +17 -1
- package/src/index.ts +3 -1
- package/src/install.ts +3 -0
- package/src/replayPack.ts +66 -0
- package/src/styles.css +1 -1
- package/src/submit.ts +26 -23
- package/src/types.ts +52 -0
- package/src/ui/element.ts +24 -0
- package/src/ui/strings.ts +7 -0
- package/src/ui/styles.ts +6 -0
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; }
|