A local-first personal finance app
update filtering page (#635)
Matt Fiddamanbfc1b0ef3f0b
diff --git a/docs/transactions/filters.md b/docs/transactions/filters.mdindex e4709c7bd1..60bf565a21 100644--- a/docs/transactions/filters.md+++ b/docs/transactions/filters.md@@ -17,11 +17,7 @@ Inevitably, there are some restrictions but these offer a great opportunity forWell, having got that out of the way please don’t let any of this put you off. Filters are a great tool – and there is lots more scope for further development.-First go to the **All Accounts** view. This is to be sure that you are picking up all relevant transactions, rather than those from just one Account or Credit Card.----Now select **Filter**. You will see from this drop-down that there are a number of options to choose from:+First go to the relevant account screen and select **Filter**. You will see from this drop-down that there are a number of options to choose from:@@ -29,35 +25,33 @@ The great thing is that you are not limited to just one Filter. You can select mThere are further options within each area to narrow the filter further. Here are a couple to illustrate the choices – Dates and Categories:-`Matches` is *[regular expressions](https://regextutorial.org/)*, the other condition types are further explained at [Rules Page](../budgeting/rules/#condition-types).+The `matches` operator uses *[regular expressions](https://regextutorial.org/)*, the other condition types are further explained at [Rules Page](../budgeting/rules/#condition-types).-**Note**: There are further options available by clicking the down arrow under **Date** and **Amount**. The **Date** options are *Year* and *Month*. The **Amount** options are to choose between *Inflow* and *Outflow*.+**Note**: There are further options available by clicking the down arrow under **Date** and **Amount**.### Example-In this example we are finding out how much the Mercedes car cost to run during the 2021 calendar year. To enhance this analysis a Note of each vehicle owned was added to transactions in the “Car” category group. Adding such a note is made much easier by ensuring that the Note is added to each relevant scheduled (recurring) transaction. In this instance the Note was added using the tag symbol (#Merc) but the # is not needed. It is a personal preference. Alternatively, you could just be more granular in your creation of Categories.+In this example we are finding out how much the Mercedes car cost to run during the 2024 calendar year. To enhance this analysis a tag of each vehicle owned was added to transactions in the “Car” category group. Alternatively, you could just be more granular in your creation of Categories.-Here is an image of the multiple filters that have been selected. In this example, these include a Date range, multiple Categories, and a Note.--+Now we want to see the total spent on the Mercedes car in 2021. This is shown at the top center of the page.-Now we want to see the total spent on the Mercedes car in 2021. This is shown at the top center of the following image.+-+But what if we need to drill down further and calculate just the costs were for maintenance of this particular car? By selecting the applicable transactions a revised total appears as shown below. Alternatively just remove the non-applicable category filters.-But what if we need to drill down further and calculate just the costs were for servicing this particular car? By deselecting the non-applicable transactions a revised total appears as shown below. Alternatively just remove the non-applicable category filters.+In the above Example we used the **Date is greater than** and **Date is less than** filters to illustrate the fine tuning that is possible. However, in this example of a simple calendar year it would have been quicker simply to click on the down arrow below **Date** and select as follows:- +- +### Saving Filters@@ -69,7 +63,7 @@ You'll then get a window that asks for you to name the saved filter. Type in wha-When you want to re-visit a previously saved filter, go to the **All accounts** tab, click on **Filter**, and select **Saved** in the dropdown.+When you want to re-visit a previously saved filter, go to the relevant account page, click on **Filter**, and select **Saved** in the dropdown.diff --git a/static/img/filtering/[email protected] b/static/img/filtering/[email protected]deleted file mode 100644index f3cfbc19dd..0000000000Binary files a/static/img/filtering/[email protected] and /dev/null differdiff --git a/static/img/filtering/[email protected] b/static/img/filtering/[email protected]deleted file mode 100644index ef3ac2e074..0000000000Binary files a/static/img/filtering/[email protected] and /dev/null differdiff --git a/static/img/filtering/accounts.png b/static/img/filtering/accounts.pngnew file mode 100644index 0000000000..4050b0678fBinary files /dev/null and b/static/img/filtering/accounts.png differdiff --git a/static/img/filtering/[email protected] b/static/img/filtering/[email protected]deleted file mode 100644index eb9425674e..0000000000Binary files a/static/img/filtering/[email protected] and /dev/null differdiff --git a/static/img/filtering/conditions-1.png b/static/img/filtering/conditions-1.pngindex b4fb7d5c53..bfc2f3f370 100644Binary files a/static/img/filtering/conditions-1.png and b/static/img/filtering/conditions-1.png differdiff --git a/static/img/filtering/conditions-2.png b/static/img/filtering/conditions-2.pngindex 9e2eef0423..109d1ad3ea 100644Binary files a/static/img/filtering/conditions-2.png and b/static/img/filtering/conditions-2.png differdiff --git a/static/img/filtering/filter.png b/static/img/filtering/filter.pngindex 30be8c4544..5ca6d57c9d 100644Binary files a/static/img/filtering/filter.png and b/static/img/filtering/filter.png differdiff --git a/static/img/filtering/filtered-total.png b/static/img/filtering/filtered-total.pngnew file mode 100644index 0000000000..a2b967dd03Binary files /dev/null and b/static/img/filtering/filtered-total.png differdiff --git a/static/img/filtering/highlight-2.png b/static/img/filtering/highlight-2.pngdeleted file mode 100644index 72f049cf79..0000000000Binary files a/static/img/filtering/highlight-2.png and /dev/null differdiff --git a/static/img/filtering/highlight.png b/static/img/filtering/highlight.pngdeleted file mode 100644index 52f88e9627..0000000000Binary files a/static/img/filtering/highlight.png and /dev/null differdiff --git a/static/img/filtering/modify-saved.png b/static/img/filtering/modify-saved.pngindex b2883480a5..0cc8b14956 100644Binary files a/static/img/filtering/modify-saved.png and b/static/img/filtering/modify-saved.png differdiff --git a/static/img/filtering/multiple-filters.png b/static/img/filtering/multiple-filters.pngindex 662df3c83e..2bb01fc76d 100644Binary files a/static/img/filtering/multiple-filters.png and b/static/img/filtering/multiple-filters.png differdiff --git a/static/img/filtering/save-filter.png b/static/img/filtering/save-filter.pngindex 537ddbd738..726b092a32 100644Binary files a/static/img/filtering/save-filter.png and b/static/img/filtering/save-filter.png differdiff --git a/static/img/filtering/select-saved-1.png b/static/img/filtering/select-saved-1.pngindex fdbf72e113..6f14535836 100644Binary files a/static/img/filtering/select-saved-1.png and b/static/img/filtering/select-saved-1.png differdiff --git a/static/img/filtering/select-saved-2.png b/static/img/filtering/select-saved-2.pngindex d967966343..b829797588 100644Binary files a/static/img/filtering/select-saved-2.png and b/static/img/filtering/select-saved-2.png differdiff --git a/static/img/filtering/selected-total.png b/static/img/filtering/selected-total.pngnew file mode 100644index 0000000000..2b5dd563c5Binary files /dev/null and b/static/img/filtering/selected-total.png differdiff --git a/static/img/filtering/set-filter-name.png b/static/img/filtering/set-filter-name.pngindex 482e20ec6c..a48ebac924 100644Binary files a/static/img/filtering/set-filter-name.png and b/static/img/filtering/set-filter-name.png differdiff --git a/static/img/filtering/year-1.png b/static/img/filtering/year-1.pngnew file mode 100644index 0000000000..86e0b4b533Binary files /dev/null and b/static/img/filtering/year-1.png differdiff --git a/static/img/filtering/year-2.png b/static/img/filtering/year-2.pngnew file mode 100644index 0000000000..a4de3d3877Binary files /dev/null and b/static/img/filtering/year-2.png differ