Skip to content
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

Transactions date filtering + settings improvement #129

Merged
merged 8 commits into from
Dec 29, 2023

Conversation

lucaantonelli
Copy link
Collaborator

  • Add notification settings
  • Update layouts and color to match figma
  • Add filter for month on transactions tab with correct design on list
  • Merge of transaction_list_tile.dart in transaction_list.dart to have only one widget
  • Working create/update/delete of transactions
  • Partial budget page improvement
  • close transfers addition issue #88

. add notification settings
. update layouts and color to match figma
. Add filter for month on transactions tab with correct design on list
. merge of transaction_list_tile.dart in transaction_list.dart to have only one widget
. Working create/update/delete of transactions
. partial budget page improvement
. close RIP-Comm#88
Copy link
Collaborator

@theperu theperu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! I just one question and two small suggestions/requests. I saw that you added the notification toggle but we still need to make it work right?
For the suggestions:

  • I see that the bug for the transfer is fixed but a user is still able to make a transaction from an account to the same one (ex. Revolut -> Revolut) which is a bit strange to me, it would be better if we could avoid this kind of behaviour. Of course it depends on how much time this change would take, if it's too much let's leave it as is.
  • The word "View:" in the Transactions page looks odd to me and seems unnecessary, I see it also in the Figma from @federicopozzato but if he agrees I would remove it since it should be clear to the user what they are seeing in that page (I know that this was already there but I just noticed and we could take advantage of this PR to remove it)
    Screenshot_2023-12-24-12-58-34-741_com example sossoldi

@federicopozzato
Copy link
Contributor

@theperu agreed👌

. Working totals in the widget when filtering in transactions tab
. Remove text "View:" from transactions tab
. Disable the selected account in "from" for "to" account selection, to avoid unwanted transfer on same account
@lucaantonelli
Copy link
Collaborator Author

@theperu i updated the code following your suggestions, and yes, actually the notifications settings is just graphically done.

@mikev-cw
Copy link
Collaborator

Super!!
I see some errors on Categories and Accounts tabs (the old bad boy "type 'int' is not a subtype of type 'double'"), but most probably are just TODOs.

Other than that looks very good to me. If all of you agreed, we can surely merge.

@lucaantonelli
Copy link
Collaborator Author

@mikev-cw Thanks! About the error, it might be about data, clearing in settings should solve it.

. add dashboard provider for real data on home page
. fix a bug in transactions list not showing some transaction
. add categories and account filtering fully working on transactions tab
. add dashboard working with real data
. improve custom widgets
. update some query
@lucaantonelli
Copy link
Collaborator Author

lucaantonelli commented Dec 27, 2023

I just did a lot of work on the PR!
Now the dashboard is working, updated some queries with join to use less code inside widgets, categories and accounts tab in transactions is working, even the selection between income and expense (probably not the best way, but for now it's working great). So this PR should close #103

When switching between the income and expense filters, if a category or account was selected, the app would throw an error. Now, every time the selected category/account is pressed, it gets reset.
@lucaantonelli lucaantonelli merged commit c4556a5 into RIP-Comm:main Dec 29, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

transfers addition issue
4 participants