Transactions & Activities pages improvements (#452)

* feat: Add toggle on mobile to show/hide checkboxes in transaction page

* fix: Add multi-select toggle also in activities page. Make JS controller compatible also in this view.

* feat: Add category in mobile view

* feat: Add mobile layout for transaction categories

* feat: Add margin for pagination on mobile

* fix: Ensure category exists when displaying the name

* fix: Adjust mobile paddings

* fix: Display "uncategorized" label if no category is set

* fix: Expand transaction name/subtitle

* feat: Add merchant name on desktop view

* feat: Move merchant name before account name

* fix: Add class to hide merchant on mobile

* feat: Add merchant logo on mobile

* fix: add pointer-events-none to merchant image on mobile view

* feat: toggle header checkbox in transaction page when button is clicked

* Remove unnecessary CSS class

* Remove duplicate CSS class

* Remove wrong Enable Banking logo URL

* Update app/views/transactions/_transaction.html.erb

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Alessio Cappa <104093777+alessiocappa@users.noreply.github.com>

* Revert "Update app/views/transactions/_transaction.html.erb"

This reverts commit 9766c50a1d.

* Add translation for Loan Payment/Transfer

* Apply review comments

* Add accessible name for toggle based on review comments

* Use border instead of border-1 class

* Apply review comments

* Missing l10n key

---------

Signed-off-by: Alessio Cappa <104093777+alessiocappa@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
Alessio Cappa
2025-12-24 01:57:16 +01:00
committed by GitHub
parent f76f541c05
commit b3af8bf1ae
28 changed files with 211 additions and 54 deletions

View File

@@ -1,7 +1,7 @@
<%# locals: (pagy:) %>
<nav class="flex w-full items-center justify-between">
<div class="flex items-center gap-1">
<div class="flex items-center gap-1 mr-3">
<div>
<% if pagy.prev %>
<%= link_to pagy_url_for(pagy, pagy.prev),

View File

@@ -1,2 +1,2 @@
<%# locals: (classes: nil) %>
<hr class="border-divider <%= classes || "mx-4" %>">
<hr class="border-divider <%= classes || "mx-3 lg:mx-4" %>">