-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add onClick handlers to the schedule and transaction icons in the transaction list (#547) #1228
Add onClick handlers to the schedule and transaction icons in the transaction list (#547) #1228
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ 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 No files were changed View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
805a97b
to
e0b62c5
Compare
d4aa225
to
816a871
Compare
Trying to figure out why |
|
packages/desktop-client/src/components/accounts/TransactionsTable.js
Outdated
Show resolved
Hide resolved
4b68703
to
b81b6fd
Compare
let ScheduledIcon = () => ( | ||
<Button bare style={style} onClick={onScheduleIconClick}> | ||
{recurring ? ( | ||
<ArrowsSynchronize style={colorStyle} /> |
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.
The icons will need to have a width
property set on their style
or else they will size themselves to be too big and the buttons will appear blank.
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.
Should I just pass the same style used in the button to the icons?
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.
You’d need to pass in a smaller width/height since the button has padding defined on it that reduces the available space for the icon. With the size you’ve got now, the button content area is 13×13px.
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.
Also fwiw the old arrow buttons were 10px wide
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.
…and there wasn’t that 5px padding between the icon and the text (for transfers, schedules did have it. ugh not sure which one to pick here, the schedule icon does look bad™ without the spacing, transfer arrow looks fine but when you hover it is a bit odd)
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.
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.
Having the text line up definitely looks better — good point.
(I'll leave this to Jed to approve) Really like this change! Especially jumping to the transfer account. That's super convenient. |
Schedule link is working well for me. The transfer link makes the account page force scroll to the bottom of the ledger. If I navigate back to the original account it does the same thing. This state sticks around and the only way to get it to go away is to close the tab and re-open the page. This is happening on both chrome and firefox for me |
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.
Great improvement!
I am encountering the issue @youngcw mentioned. I am thinking maybe it's due to the |
Oop, that comment must have come in between opening the page and approving. I didn’t see anything like that locally, but i only tested with the transfer being the first transaction. Maybe it has something to do with scrolling? |
I don't encounter it locally as well but it happens in the netlify demo deployment. |
* master: (34 commits) chore: add types to `crdt` package (actualbudget#1076) Fix layout of the management app with the demo bar in place (actualbudget#1267) ♻️ (select) removing 2x usages of the Select component (actualbudget#1259) Fix transaction list scrolling behavior (actualbudget#1260) 🐛 fix link-schedule option in transaction table (actualbudget#1250) cleared/uncleared background update (actualbudget#1265) Fix calculation of how many table rows to render (actualbudget#1262) ♻️ moving more components out of common.tsx (actualbudget#1257) ♻️ moving some components from common.tsx to separate files (actualbudget#1248) 🐛 fix toggling of balances in all-accounts view (actualbudget#1252) 🐛 (mobile) reduce the size of account cards (actualbudget#1247) Fix electron export issue (actualbudget#1242) Saved Filters Page (actualbudget#1122) 🔧 cancel previous CI runs if a new push is made (actualbudget#1251) .gitattributes Check line endings for tsx files (actualbudget#1246) Fix importing transfers from YNAB4/5 (actualbudget#1224) Auto-close the local/nordigen picker modal after creating an account (actualbudget#1219) Run “Handle completed feature requests” in pull_request_target (actualbudget#1243) Add electron options to bug-report.yml (actualbudget#1239) Add onClick handlers to the schedule and transaction icons in the transaction list (actualbudget#1228) ...
…nsaction list (actualbudget#1228) For actualbudget#547 In addition to the arrow icon, I have also updated the recurring/calendar icon to open the edit schedule page.
For #547
In addition to the arrow icon, I have also updated the recurring/calendar icon to open the edit schedule page.