From 15327687f44ce111966c31d4e9f42e890dddaae3 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Mon, 19 Jan 2026 08:37:10 +0000 Subject: [PATCH] feat(dashboard-solduri): Complete dashboard solduri v2 implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Features - US-2001: Create reusable SolduriCompactCard component - US-2004: Solduri section on Desktop (top, without title) - US-2005: Remove MaturityAndDetailsCard from Dashboard - US-2006: Integrate Solduri data from dashboardStore - US-2007: Visual indicators for financial status - US-2008: Refresh button in Dashboard header ## UI Improvements - Desktop: 2x2 grid for solduri cards with larger breakdown fonts - Mobile: Single column layout with auto height - Theme persistence: synchronous initialization to prevent flash - Unified "Bonuri" icon (pi-shopping-bag) across all navigation ## Files Changed - New: SolduriCompactCard.vue - expandable cards for Trezorerie/Clienți/Furnizori/TVA - Modified: DashboardView.vue - integrated solduri section - Modified: index.html - theme init script - Modified: Mobile navigation components - icon consistency Co-Authored-By: Claude Opus 4.5 --- index.html | 9 + scripts/ralph/prd.json | 290 ++++------- scripts/ralph/progress.txt | 483 +++--------------- .../components/layout/HamburgerMenu.vue | 2 +- .../components/solduri/SolduriCompactCard.vue | 374 ++++++++++++++ src/modules/reports/views/DashboardView.vue | 202 ++++++-- .../components/mobile/MobileBottomNav.vue | 2 +- .../components/mobile/MobileDrawerMenu.vue | 2 +- tasks/prd-dashboard-solduri-v2.md | 176 +++++++ 9 files changed, 909 insertions(+), 631 deletions(-) create mode 100644 src/modules/reports/components/solduri/SolduriCompactCard.vue create mode 100644 tasks/prd-dashboard-solduri-v2.md diff --git a/index.html b/index.html index 0771e31..7dccfe2 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,15 @@ + + + + diff --git a/src/modules/reports/views/DashboardView.vue b/src/modules/reports/views/DashboardView.vue index 80ae651..04dfb4e 100644 --- a/src/modules/reports/views/DashboardView.vue +++ b/src/modules/reports/views/DashboardView.vue @@ -4,7 +4,9 @@ v-if="isMobile" title="Dashboard" :show-menu="true" + :actions="mobileTopBarActions" @menu-click="showDrawer = true" + @action-click="handleMobileAction" /> @@ -21,6 +23,16 @@ @@ -28,8 +40,36 @@
- + + + + + -