feat(#29,#32,#33): home polish — Manage Categories to Settings, View All, empty-state illustration #36
Reference in New Issue
Block a user
Delete Branch "feat/home-polish-29-32-33"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ActionsRowrow and add a new "Edit Categories" preference inSettingsScreenwith a liven categoriessubtitle backed bySettingsScreenModel.categoriesCount(a hotStateFlow<Int>sourced fromGetCategories).OutlinedButtoninto a "View All"TextButtonrendered as the trailing slot of an extendedSectionHeader(text, actions: @Composable RowScope.() -> Unit). Renames thehome_see_allstring tohome_view_all("View All") and drops the now-unusedhome_manage_categories.EmptyStateIllustration(message, modifier)composable (image + text, centered,onSurfaceVarianttint) usingIcons.AutoMirrored.Outlined.ReceiptLongas the placeholder per the issue's allowance. Use it for the Home and Expenses-tab empty states; both reuse the existinghome_dashboard_empty/expense_list_emptystrings.Test plan
./gradlew compileDebugKotlin— clean (no new warnings)./gradlew test— passesExpenseListScreenonSurfaceVarianttint in bothCloses #29
Closes #32
Closes #33