Skip to content

Commit 5e2fc84

Browse files
committed
Update feedback tab to show macOS version and screen capture support
1 parent d9ea73d commit 5e2fc84

File tree

1 file changed

+4
-28
lines changed
  • apps/desktop/src/routes/(window-chrome)/settings

1 file changed

+4
-28
lines changed

apps/desktop/src/routes/(window-chrome)/settings/feedback.tsx

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default function FeedbackTab() {
132132
>
133133
{(diag) => (
134134
<div class="space-y-3 text-sm">
135-
<Show when={diag().windowsVersion}>
135+
<Show when={diag().macosVersion}>
136136
{(ver) => (
137137
<div class="space-y-1">
138138
<p class="text-gray-11 font-medium">Operating System</p>
@@ -143,45 +143,21 @@ export default function FeedbackTab() {
143143
)}
144144
</Show>
145145

146-
<Show when={diag().gpuInfo}>
147-
{(gpu) => (
148-
<div class="space-y-1">
149-
<p class="text-gray-11 font-medium">Graphics</p>
150-
<p class="text-gray-10 bg-gray-2 px-2 py-1.5 rounded font-mono text-xs">
151-
{gpu().description} ({gpu().vendor},{" "}
152-
{gpu().dedicatedVideoMemoryMb} MB VRAM)
153-
</p>
154-
</div>
155-
)}
156-
</Show>
157-
158146
<div class="space-y-1">
159147
<p class="text-gray-11 font-medium">Capture Support</p>
160148
<div class="flex gap-2 flex-wrap">
161149
<span
162150
class={`px-2 py-1 rounded text-xs ${
163-
diag().graphicsCaptureSupported
151+
diag().screenCaptureSupported
164152
? "bg-green-500/20 text-green-400"
165153
: "bg-red-500/20 text-red-400"
166154
}`}
167155
>
168-
Graphics Capture:{" "}
169-
{diag().graphicsCaptureSupported
156+
Screen Capture:{" "}
157+
{diag().screenCaptureSupported
170158
? "Supported"
171159
: "Not Supported"}
172160
</span>
173-
<span
174-
class={`px-2 py-1 rounded text-xs ${
175-
diag().d3D11VideoProcessorAvailable
176-
? "bg-green-500/20 text-green-400"
177-
: "bg-yellow-500/20 text-yellow-400"
178-
}`}
179-
>
180-
D3D11 Video:{" "}
181-
{diag().d3D11VideoProcessorAvailable
182-
? "Available"
183-
: "Unavailable"}
184-
</span>
185161
</div>
186162
</div>
187163

0 commit comments

Comments
 (0)