-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bulk selection UI controls #840
Conversation
<div class="col-span-2 ml-auto"> | ||
<%= render "transactions/amount", transaction: transaction %> | ||
</div> | ||
<% end %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
@@ -43,7 +43,9 @@ | |||
|
|||
resources :transactions do | |||
collection do | |||
match "search" => "transactions#search", via: %i[ get post ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stale route that I missed earlier in the transactions cleanup
This PR introduces a Stimulus controller to handle bulk selection of transactions (although the controller is generic to any collection of records).
CleanShot.2024-06-07.at.12.41.03.mp4
Future PRs will handle the bulk edit and delete operations.