Add bulk selection UI controls #840
Reference in New Issue
Block a user
Delete Branch "798-build-bulk-selection-ui-for-transactions"
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?
This PR introduces a Stimulus controller to handle bulk selection of transactions (although the controller is generic to any collection of records).
https://github.com/maybe-finance/maybe/assets/16676157/b0e7d89f-a534-4245-b60c-4ca44cadb65b
Future PRs will handle the bulk edit and delete operations.
@@ -0,0 +14,4 @@<div class="col-span-2 ml-auto"><%= render "transactions/amount", transaction: transaction %></div><% end %>As the global transactions UI is getting a lot more complex with bulk selection and inline editing, I decided to make the transaction rows in the account view read-only for the time being.
Eventually we'll probably want to mirror some of the functionality implemented in the global view here, but trying to manage this in two spots adds unnecessary complexity right now.
@@ -45,4 +45,2 @@collection domatch "search" => "transactions#search", via: %i[ get post ]scope module: :transactions, as: :transaction dostale route that I missed earlier in the transactions cleanup