Jose Farias
4c5f8263bc
Implement transaction category management ( #688 )
...
* Singularize "transaction" in transaction-nested paths
* Refactor category badge partial
* Let modal content define its width
* Add contectual menu to transactions index
* Add null_category helper
* Implement category edits
* Fix inline transaction category badges
* Fix typos in system test paths
* Add missing translations
* Add decoration to color select controller
* Wire up transaction category creation
* Fix indent in color-select-controller
* Add button for clearing category from transaction
* Implement category deletions
* Fix existing modal sizes
* Use null_category in a single place
* Remove anemic method in category deletion controller
* reassign_and_destroy -> reassign_transactions_then_destroy
* Fix i18n
* Remove destroy action from CategoriesController callbacks
* transactions_merchant -> transaction_merchant
* reassign_transactions_then_destroy -> replace_and_destroy
* Add transaction category CRUD tests
* Add presence check for transaction_id
* Check replacement_category_id presence
* Test Transaction::Category#replace_and_destroy!
2024-05-02 09:24:31 -04:00
Jakub Kottnauer
9549182462
Add Transaction Merchant management ( #686 )
...
* Add basid crud for merchant management
* Tweak UI and add localization
* Fix lint
* Add filtering by merchant
* Add tests
* Add stimulus controller to update avatar in merchant form
* Add line between merchant rows
* Change default merchant color
* Cleanup
2024-04-29 15:17:28 -04:00
Mattia
8a29725562
Add transactions widget to dashboard page ( #656 )
2024-04-22 16:51:06 -04:00
Zach Gollwitzer
c46662c99f
Add apply button, improve transaction filters ( #655 )
...
* Add apply button, improve transaction filters
* Remove temp log
* Fix lint errors
2024-04-19 12:03:16 -04:00
Zach Gollwitzer
0277bc94f3
Small redesign of transaction filters ( #650 )
2024-04-18 17:05:37 -04:00
Zach Gollwitzer
9bda7efc3f
New Settings Menu, Routes and Controllers Organization ( #641 )
...
* Add new settings routes and controllers
* Add new settings view, restructure controllers and routes
* Fix lint errors
2024-04-18 07:56:51 -04:00
Jose Farias
cd8d741fe1
Add transaction modal flow ( #633 )
...
* Add transaction modal flow
* Preserve decimals when creating transactions
2024-04-16 14:44:31 -04:00
Igor Alexandrov
b5c56f7775
Added lints for ERB templates ( #609 )
...
* Added erblint and fixed offenses
* Added erblint bintstub. Included erblint into CI
* Merged GitHub Actions tasks for rubocop and erblint into one
* Added config for erblint.
* Reverted erblint call in the CI
2024-04-09 08:08:58 -04:00
Zach Gollwitzer
d29d465a3c
Basic transaction categories CRUD actions (inline) ( #601 )
...
* Fix dropdown issues and add dummy transaction category modal
* Minor namings tweaks
* Add search type
* Use new menu controller
* Complete basic transaction category inline CRUD actions
* Fix lint error
---------
Co-authored-by: Jakub Kottnauer <jk@jakubkottnauer.com>
2024-04-04 17:29:50 -04:00
Zach Gollwitzer
4f0b2de4ef
Consolidate dropdown controllers ( #600 )
...
* Basic listbox and popover controllers with temporary example
* Separate select and menu controllers
2024-04-03 17:32:27 -04:00
Thibaut Gorioux
b3c48d13e7
Filter transactions by category ( #581 )
...
* Add transaction filtering by category
* Link label to checkbox
* Keep the dropdown open when clicked to allow tab change
* Show the badge with color and name when filter is applied
* Reduce color height
2024-04-02 12:17:26 -04:00
Mattia
2d406274ac
Allow user to search transaction categories ( #577 )
...
Issue #573
2024-03-29 10:02:15 -04:00
Thibaut Gorioux
2181cdd118
Allow event propagation to fix turbo frame update ( #575 )
...
* Allow event propagation to fix turbo frame update
* Add setting to dropdown to manage close when open and clicking on it
2024-03-28 13:24:07 -04:00
Zach Gollwitzer
f0c2d4ead0
Implement transaction filtering UI ( #578 )
...
* Rough sketch of implementation
* Consolidate auto submit controller
* Store ransack params in session
* Improve how summary is calculated for txns
* Implement filters UI
2024-03-28 13:23:54 -04:00
Zach Gollwitzer
fe2fa0eac1
Multi-currency support: Money + Currency class improvements ( #553 )
...
* Money improvements
* Replace all old money usage
2024-03-18 11:21:00 -04:00
Jakub Kottnauer
2c257a2a4b
Add inline category selection ( #541 )
...
* Implement inline category selection
* Add turbo frame to refresh updated transaction
* Improve styles
* Fix category assignment
* Reorganize code
* Revert event propagation
* Remove unused frames
* Make only the transaction name clickable
* Add custom scrollbar class
2024-03-14 10:30:36 -04:00
Ciocanel Razvan
cca779d3c4
Feat transactions search ( #532 )
...
* gem: Add ransack gem
* feat: Implement transactions search
2024-03-11 08:51:16 -04:00
Cristiano Crolla
7f2633f9da
Add transaction sidebar ( #534 )
...
* Create sidebar element and working with turbo
* Add overview fields
* Add columns to transations and tidy modal
* permit new transaction params
* Add autosubmit form controller
* remove unused show code
2024-03-10 17:38:31 -04:00
Jean Moreau
9c9459211f
Implement basic transaction pagination ( #531 )
...
* install pagy
* add pagy to controller, display default pagy UI
* display hardcoded custom UI to confirm styling
* implement custom UI with pagy methods
* move pagination into partial
* use lucide icons
* only display pagination if 2 or more pages are available
* add mobile pagination placeholder
* use link_to and display greyed out buttons when no prev or next needed
* sort transactions by date so grouping works appropriately with pagination
* add space between mobile view buttons
* remove debugging
2024-03-08 15:11:58 -05:00
Zach Gollwitzer
87b97b3c41
Scaffold out basic transactions model and UI ( #478 )
...
* Transaction scaffold
* Rough in transaction views
* Fix sort order
* Fix mass assignment issue
* Fix test
* Simplify CI workflow
* Don't seed db before test
2024-02-23 21:34:33 -05:00