From 7301d9f4754a799926635a8f64dc9218d4793eaf Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Tue, 19 Aug 2025 13:39:57 -0300 Subject: [PATCH 1/2] feat(monthly): turn filter, order and search into a single bar --- .../monthly_overview/pages/overview.html | 154 +++++++++++------- frontend/src/styles/_bootstrap.scss | 4 + 2 files changed, 102 insertions(+), 56 deletions(-) diff --git a/app/templates/monthly_overview/pages/overview.html b/app/templates/monthly_overview/pages/overview.html index d078f73..0f8db3d 100644 --- a/app/templates/monthly_overview/pages/overview.html +++ b/app/templates/monthly_overview/pages/overview.html @@ -44,12 +44,12 @@ {# Action buttons#} -{#
#} -{# #} -{#
#} + {#
#} + {# #} + {#
#} {# Monthly summary#}
@@ -133,59 +133,101 @@
-
-
- {# Filter transactions button #} - -
- {# Ordering button#} -
-
- - -
-
-
- {# Filter transactions form#} -
-
-
- {% crispy filter.form %} -
- -
-
- + + {# Filter transactions form #} +
+
+
+ +
+ +
+ {% crispy filter.form %} +
+ +
+ +
+
+
{# Transactions list#}
Date: Tue, 19 Aug 2025 14:01:35 -0300 Subject: [PATCH 2/2] feat(all-transactions): turn filter, order and search into a single bar --- .../monthly_overview/pages/overview.html | 4 +- .../transactions/fragments/list_all.html | 169 +++++++++--------- .../transactions/pages/transactions.html | 124 +++++++++---- 3 files changed, 180 insertions(+), 117 deletions(-) diff --git a/app/templates/monthly_overview/pages/overview.html b/app/templates/monthly_overview/pages/overview.html index 0f8db3d..e54afa1 100644 --- a/app/templates/monthly_overview/pages/overview.html +++ b/app/templates/monthly_overview/pages/overview.html @@ -152,7 +152,7 @@ - {# 2. Search box #} + {# Search box #} in <#transactions-list/> when its textContent.toLowerCase() contains my value.toLowerCase()"> - {# 3. Order by icon dropdown #} + {# Order by icon dropdown #} + + {# Search box #} + + + + {# Order by icon dropdown #} + +
- {# Ordering button#} -
-
- - + + {# Filter transactions form #} +
+
+
+ +
+ +
+ {% crispy filter.form %} +
+ +
+ +
- {# Filter transactions form#} -
-
-
- {% crispy filter.form %} -
- -
-