From 1345630c46d21136e9b7c1adb5795f7a67ceaaae Mon Sep 17 00:00:00 2001 From: Victor Wads Date: Wed, 19 Aug 2026 14:49:31 -0300 Subject: [PATCH] fix(app): improve files home feedback - Surface storage document opening failures in the unified home\n- Add hover tooltips to refresh, clear, and view controls --- .../recent-files/RecentFilesHome.vue | 87 +++++++++++-------- 1 file changed, 50 insertions(+), 37 deletions(-) diff --git a/src/components/recent-files/RecentFilesHome.vue b/src/components/recent-files/RecentFilesHome.vue index 0fd07b0f4..3db15ab15 100644 --- a/src/components/recent-files/RecentFilesHome.vue +++ b/src/components/recent-files/RecentFilesHome.vue @@ -16,6 +16,7 @@ import { activeStorageProviderID, type StorageDocument } from '@/app/integration import { openSettingsDialog } from '@/app/settings/dialog' import { createStorageWorkspaceSource } from '@/app/storage/workspace/source' import { openStorageDocumentInNewTab } from '@/app/tabs' +import Tip from '@/components/ui/Tip.vue' const emit = defineEmits<{ 'new-document': [] }>() const { dialogs, menu, panels, locale } = useI18n() @@ -68,7 +69,12 @@ async function openRecent(document: RecentFile): Promise { } async function openStorageDocument(document: StorageDocument): Promise { - await openStorageDocumentInNewTab(document) + openError.value = null + try { + await openStorageDocumentInNewTab(document) + } catch (error) { + openError.value = error instanceof Error ? error.message : String(error) + } } function formattedDate(updatedAt: string): string { @@ -86,14 +92,16 @@ function formattedDate(updatedAt: string): string { OpenPencil
- + + +
- - - + + + + + + + + +