Diagnostics UX: show /dev/shm/pikit-diag.log in updater modal #8

Open
opened 2025-12-15 00:36:54 +00:00 by 44r0n7 · 0 comments
Owner

Problem

  • Users need clipboard permissions/HTTPS to copy logs; diagnostics log is hidden unless pulled from shell.

Proposal

  • In the Updates modal, add a collapsible panel that shows the latest N entries (e.g., 200) from /dev/shm/pikit-diag.log (or /tmp fallback).
  • Add a "Download log" button that streams the log as a file (no clipboard permission required).
  • Keep existing toasts, but prefer download when clipboard API is blocked.

Acceptance

  • Users can view recent diagnostic entries inside the UI without extra permissions.
  • Download works in HTTP and HTTPS contexts.
  • Clipboard errors no longer prevent access to logs.
Problem - Users need clipboard permissions/HTTPS to copy logs; diagnostics log is hidden unless pulled from shell. Proposal - In the Updates modal, add a collapsible panel that shows the latest N entries (e.g., 200) from /dev/shm/pikit-diag.log (or /tmp fallback). - Add a "Download log" button that streams the log as a file (no clipboard permission required). - Keep existing toasts, but prefer download when clipboard API is blocked. Acceptance - Users can view recent diagnostic entries inside the UI without extra permissions. - Download works in HTTP and HTTPS contexts. - Clipboard errors no longer prevent access to logs.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 44r0n7/pi-kit#8