@alliance-droid/status-feedback-system 2.3.1 → 2.3.2
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/CHANGELOG.md +6 -0
- package/dist/components/DevFeedback.svelte +11 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.3.2
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- `<DevFeedback>` *Report Bug* form: when the consumer app's render-token endpoint is unreachable or returns an error, the form now shows paste-screenshot instructions ("Paste a screenshot to attach one — capture with ⌘⇧4 / Win+Shift+S, then ⌘V / Ctrl+V into the description") instead of the dead-end "Screenshot setup failed / Retry" panel. The previous panel offered a Retry button that could never succeed when the endpoint was simply not configured.
|
|
8
|
+
|
|
3
9
|
## 2.3.1
|
|
4
10
|
|
|
5
11
|
### Fixed
|
|
@@ -89,6 +89,10 @@
|
|
|
89
89
|
// --- Environment gate ---
|
|
90
90
|
let isEnabled = $state(false);
|
|
91
91
|
let hasUserEmail = $derived(!!userEmail);
|
|
92
|
+
const isMac = $derived(
|
|
93
|
+
typeof navigator !== 'undefined' &&
|
|
94
|
+
/Mac|iPhone|iPad|iPod/i.test(navigator.platform || navigator.userAgent || '')
|
|
95
|
+
);
|
|
92
96
|
|
|
93
97
|
// --- State ---
|
|
94
98
|
let menuOpen = $state(false);
|
|
@@ -508,16 +512,14 @@
|
|
|
508
512
|
{:else if renderTokenFailed && !pastedScreenshot}
|
|
509
513
|
<div class="rounded-md border border-border bg-surface p-3">
|
|
510
514
|
<div class="flex items-center gap-2 text-sm text-foreground-secondary mb-1">
|
|
511
|
-
<i class="fa-solid fa-
|
|
512
|
-
<span>
|
|
515
|
+
<i class="fa-solid fa-paste" aria-hidden="true"></i>
|
|
516
|
+
<span>Paste a screenshot to attach one</span>
|
|
513
517
|
</div>
|
|
514
|
-
<p class="text-xs text-foreground-tertiary
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
>
|
|
519
|
-
Retry
|
|
520
|
-
</button>
|
|
518
|
+
<p class="text-xs text-foreground-tertiary">
|
|
519
|
+
Capture a screenshot (<kbd class="px-1 py-0.5 rounded bg-surface-secondary border border-border text-[10px] font-mono">{isMac ? '⌘⇧4' : 'Win+Shift+S'}</kbd>),
|
|
520
|
+
then paste it into the description above with
|
|
521
|
+
<kbd class="px-1 py-0.5 rounded bg-surface-secondary border border-border text-[10px] font-mono">{isMac ? '⌘V' : 'Ctrl+V'}</kbd>.
|
|
522
|
+
</p>
|
|
521
523
|
</div>
|
|
522
524
|
{:else if renderContext && !pastedScreenshot}
|
|
523
525
|
<div class="rounded-md border border-border bg-surface-secondary p-2 flex items-center gap-2 text-sm text-foreground-secondary">
|
package/package.json
CHANGED