feat(#5): implement HomeScreen with Vico dashboard
- Add HomeScreenModel with expenses/summary/recurring-banner/fab state flows and a getExpenses + processDueRecurring + exportExpensesToCsv + expensePreference constructor - Replace the HomeScreen stub with a Material 3 dashboard: AppBar (Export + Settings), total card, period filter, Vico ColumnCartesianLayer chart with per-category legend, manage-categories/see-all actions, recent expenses, and an expanded FAB exposing Manual + Import sub-actions - Add home strings and a home_recurring_banner plurals resource
This commit is contained in:
@@ -102,4 +102,22 @@
|
||||
<string name="add_edit_recurring_interval_weekly">Weekly</string>
|
||||
<string name="add_edit_recurring_interval_monthly">Monthly</string>
|
||||
<string name="add_edit_recurring_interval_yearly">Yearly</string>
|
||||
|
||||
<!-- Home (issue #5) -->
|
||||
<string name="home_title">Ledgerr</string>
|
||||
<string name="home_total">Total %1$s</string>
|
||||
<string name="home_period_this_week">this week</string>
|
||||
<string name="home_period_this_month">this month</string>
|
||||
<string name="home_manage_categories">Manage Categories</string>
|
||||
<string name="home_see_all">See all</string>
|
||||
<string name="home_recent">Recent</string>
|
||||
<plurals name="home_recurring_banner">
|
||||
<item quantity="one">%d new recurring expense added</item>
|
||||
<item quantity="other">%d new recurring expenses added</item>
|
||||
</plurals>
|
||||
<string name="home_fab_manual">Manual</string>
|
||||
<string name="home_fab_import">Import Bank Statement</string>
|
||||
<string name="home_dashboard_empty">No expenses yet for this period</string>
|
||||
<string name="home_settings">Settings</string>
|
||||
<string name="home_export_failure">Export failed</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user