jat-feedback 3.3.3 → 3.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jat-feedback",
3
- "version": "3.3.3",
3
+ "version": "3.3.5",
4
4
  "description": "Embeddable feedback widget for bug reports and feature requests. Captures screenshots, console logs, and user context as a web component.",
5
5
  "type": "module",
6
6
  "main": "dist/jat-feedback.js",
@@ -272,8 +272,6 @@
272
272
  </script>
273
273
 
274
274
  <div id="header">
275
- <!-- svelte-ignore a11y_invalid_attribute -->
276
- <a id="back-link" href="#" onclick="history.back(); return false;">← Back</a>
277
275
  <div class="meta">
278
276
  <span id="report-title">Loading…</span>
279
277
  <a id="page-url" href="#" target="_blank" rel="noreferrer" style="display:none"></a>
@@ -356,16 +354,6 @@
356
354
  flex-shrink: 0;
357
355
  }
358
356
 
359
- :global(#back-link) {
360
- color: #58a6ff;
361
- text-decoration: none;
362
- font-size: 13px;
363
- }
364
-
365
- :global(#back-link:hover) {
366
- text-decoration: underline;
367
- }
368
-
369
357
  :global(#report-title) {
370
358
  font-size: 14px;
371
359
  font-weight: 600;
@@ -10,8 +10,6 @@
10
10
  body { background: #0d1117; color: #e5e7eb; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
11
11
 
12
12
  #header { display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: #161b22; border-bottom: 1px solid #30363d; flex-shrink: 0; }
13
- #back-link { color: #58a6ff; text-decoration: none; font-size: 13px; }
14
- #back-link:hover { text-decoration: underline; }
15
13
  #report-title { font-size: 14px; font-weight: 600; color: #e6edf3; }
16
14
  #page-url { font-size: 11px; color: #8b949e; text-decoration: none; }
17
15
  #page-url:hover { color: #58a6ff; }
@@ -59,7 +57,6 @@
59
57
  </head>
60
58
  <body>
61
59
  <div id="header">
62
- <a id="back-link" href="#" onclick="history.back(); return false;">← Back</a>
63
60
  <div class="meta">
64
61
  <span id="report-title">Loading…</span>
65
62
  <a id="page-url" href="#" target="_blank" rel="noreferrer" style="display:none"></a>
@@ -109,7 +106,6 @@
109
106
  const taskId = new URLSearchParams(location.search).get('id') || location.pathname.split('/').pop();
110
107
  const apiBase = location.origin;
111
108
 
112
- // back-link uses history.back() — works on any host
113
109
 
114
110
  let replayer = null, totalDuration = 0, currentTime = 0, playing = false, speed = 1;
115
111
  let recordingStartTime = 0, consoleLogs = [], networkRequests = [];
@@ -8,7 +8,9 @@
8
8
  -- Safe for 3.x — no existing data affected.
9
9
 
10
10
  -- Add recording_url column (nullable, no default — safe for minor bump)
11
- ALTER TABLE feedback_reports ADD COLUMN recording_url TEXT;
11
+ -- NOTE: The table was renamed feedback_reports project_tasks in 3.0.0.
12
+ -- This migration must be applied AFTER 3.0.0.
13
+ ALTER TABLE project_tasks ADD COLUMN IF NOT EXISTS recording_url TEXT;
12
14
 
13
15
  -- Storage bucket for rrweb session recordings (private, not public)
14
16
  INSERT INTO storage.buckets (id, name, public)