Skip to content

Conversation

@dendianugerah
Copy link
Owner

This pull request introduces a new "Backup Details Sheet" feature in the web app, allowing users to view detailed information about failed backups directly from the notification sidebar. It also updates the backend to support richer notification metadata, enabling the frontend to display more contextual error information. The changes span both the backend (API) and frontend (web app), focusing on improved error visibility and user experience for failed backup events.

image

Backend: Notification Metadata Support

  • Added a new metadata field of type json.RawMessage to the NotificationList struct, and updated SQL queries and row scanning logic to include this field when fetching user notifications. This allows notifications to carry additional structured data, such as backup error details. [1] [2] [3]

Frontend: Backup Error Details Sheet

  • Added a new component, BackupDetailsSheet, which displays detailed information about a backup (especially failed ones), including error messages from related notifications, database info, timing, and attempted backup paths.
  • Integrated the BackupDetailsSheet into the HistoryList view, allowing it to open when a notification is clicked. When a failed backup notification is clicked, a synthetic backup object is created from the notification metadata to populate the details sheet. [1] [2] [3] [4]
  • Updated the NotificationSidebar component to accept an onNotificationClick prop and trigger it when a notification is clicked, enabling the new interaction. Also improved the visual feedback for notification selection. [1] [2]

@vercel
Copy link

vercel bot commented Nov 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
velld Ready Ready Preview Comment Nov 9, 2025 5:17am

@dendianugerah dendianugerah merged commit 29b6f68 into main Nov 9, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants