1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-03 04:25:21 +02:00

Nested Categories (#1561)
Some checks failed
Publish Docker image / ci (push) Has been cancelled
Publish Docker image / Build docker image (push) Has been cancelled

* Prepare entry search for nested categories

* Subcategory implementation

* Remove caching for test stability
This commit is contained in:
Zach Gollwitzer 2024-12-20 11:37:26 -05:00 committed by GitHub
parent a4d10097d5
commit 77def1db40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 297 additions and 234 deletions

View file

@ -1,12 +0,0 @@
---
en:
transaction:
default_category:
auto_and_transport: Auto & Transport
entertainment: Entertainment
food_and_drink: Food & Drink
general_services: General Services
home_improvement: Home Improvement
income: Income
personal_care: Personal Care
rent_and_utilities: Rent & Utilities

View file

@ -1,12 +1,16 @@
---
en:
category:
dropdowns:
show:
empty: No categories found
bootstrap: Generate default categories
categories:
category:
delete: Delete category
edit: Edit category
create:
failure: 'Failed to create category: %{error}'
success: New transaction category created successfully
success: Category created successfully
destroy:
success: Category deleted successfully
edit:
@ -17,9 +21,12 @@ en:
categories: Categories
empty: No categories found
new: New category
bootstrap: Use default categories
bootstrap:
success: Default categories created successfully
menu:
loading: Loading...
new:
new_category: New category
update:
success: Transaction category updated successfully
success: Category updated successfully

View file

@ -40,6 +40,8 @@ Rails.application.routes.draw do
resources :categories do
resources :deletions, only: %i[new create], module: :category
post :bootstrap, on: :collection
end
resources :merchants, only: %i[index new create edit update destroy]