mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Transactions cleanup (#817)
An overhaul and cleanup of the transactions feature including: - Simplification of transactions search and filtering - Consolidation of account sync logic after transaction change - Split sidebar modal and modal into "drawer" and "modal" concepts - Refactor of transaction partials and folder organization - Cleanup turbo frames and streams for transaction updates, including new Transactions::RowsController for inline updates - Refactored and added several integration and systems tests
This commit is contained in:
parent
ee162bbef7
commit
4ebc08e5a4
61 changed files with 789 additions and 683 deletions
3
config/initializers/pagy.rb
Normal file
3
config/initializers/pagy.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
require "pagy/extras/overflow"
|
||||
|
||||
Pagy::DEFAULT[:overflow] = :last_page
|
|
@ -46,6 +46,9 @@ en:
|
|||
success: New transaction created successfully
|
||||
destroy:
|
||||
success: Transaction deleted successfully
|
||||
empty:
|
||||
description: Try adding a transaction, editing filters or refining your search
|
||||
title: No transactions found
|
||||
form:
|
||||
account: Account
|
||||
account_prompt: Select an Account
|
||||
|
@ -59,7 +62,7 @@ en:
|
|||
income: Income
|
||||
submit: Add transaction
|
||||
transfer: Transfer
|
||||
index:
|
||||
header:
|
||||
edit_categories: Edit categories
|
||||
edit_imports: Edit imports
|
||||
import: Import
|
||||
|
@ -90,5 +93,7 @@ en:
|
|||
title: New merchant
|
||||
update:
|
||||
success: Merchant updated successfully
|
||||
show:
|
||||
select_tags: Select one or more tags
|
||||
update:
|
||||
success: Transaction updated successfully
|
|
@ -46,6 +46,8 @@ Rails.application.routes.draw do
|
|||
match "search" => "transactions#search", via: %i[ get post ]
|
||||
|
||||
scope module: :transactions, as: :transaction do
|
||||
resources :rows, only: %i[ show update ]
|
||||
|
||||
resources :categories do
|
||||
resources :deletions, only: %i[ new create ], module: :categories
|
||||
collection do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue