-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix suggested payee issues #3317 #3316 #3318
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Bundle Stats — desktop-clientHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged
|
Bundle Stats — loot-coreHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged No assets were unchanged |
This also fixes my large mistake never implementing the 3 months ago part of the query to find common payees. |
The fix for #3316 is included; this fixes the display of the payee list when no account is yet selected, which is the list that favourite payees is found in. |
Did something not get committed? The diff contains no string |
Yep, I merging both clobbered the tombstone line. I've re-added it. |
Added a couple of tests for the bugfixes. |
cc @psybers would you please mind verifying if this patch fixes the linked bug issues? |
@MatissJanis yes, it fixed both reported bugs. But introduced a new bug. Favorites used to be sorted to the top of the suggestions, now they are not: |
I'm not sure it did sort favourites first, common second in the list - it sorted them with localeCompare before display, and that has not changed. |
If we like that better, where favorites are at the top, I can add that though. I'll do it in a new bug, though. |
Don't include that here. It was just an artifact of the specific payees I selected while testing. The existing behavior does not sort. |
Yep. To clarify: is this additional sorting desired behavior? I'm uncertain it is. Should I open a new bug for that? |
You can open an issue. I would upvote it. I desire that behavior. ;-) |
My 2cents: agreed that favorites should be at the top. If they are not there - what purpose do they serve? Just an icon besides them? That's not really rhat useful. But putting them at the top if the list: definitely useful. |
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.
Change looks good to me! Thanks for the fix
Fix issue #3317 by adding tombstone filter to common payee query.