From b467ced9b12db54de4c9aa74af5bd928a3f8b296 Mon Sep 17 00:00:00 2001 From: Pierre Romera Date: Thu, 3 Oct 2024 12:11:49 +0000 Subject: [PATCH] feat: add empty state --- src/lang/en.json | 4 ++- src/views/ProjectViewOverview.vue | 55 ++++++++++++++++++++++++++----- 2 files changed, 49 insertions(+), 10 deletions(-) diff --git a/src/lang/en.json b/src/lang/en.json index ce9b3a2033..f86852598d 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -1037,7 +1037,9 @@ }, "submit": "Create project" }, - "projectView": { + "projectViewOverview": { + "emptyStateLabel": "Oh, it’s lonely in here...\nYour project has no documents! Want to add some?", + "emptyStateAction": "Add your first documents", "nav": { "insights": "Insights", "paths": "Paths", diff --git a/src/views/ProjectViewOverview.vue b/src/views/ProjectViewOverview.vue index 463c635aff..334e015ab7 100644 --- a/src/views/ProjectViewOverview.vue +++ b/src/views/ProjectViewOverview.vue @@ -1,7 +1,9 @@