-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[WIP] Add Financial Institution Column to Link Accounts Modal #3579
Conversation
WalkthroughThe pull request introduces updates to the Assessment against linked issues
Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ 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
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
|
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (3)
packages/desktop-client/src/components/modals/SelectLinkedAccountsModal.jsx (3)
Line range hint
139-145
: LGTM! Consider using a constant for column widths.The addition of the "Financial Institution" column aligns well with the PR objectives, improving the visibility of account information. The implementation is straightforward and consistent with the existing structure.
For improved maintainability, consider defining a constant for common column widths (e.g., 200) used across multiple columns.
212-213
: LGTM! Consider adding a fallback for missing institution names.The addition of the financial institution field is well-implemented and aligns with the PR objectives. The use of optional chaining (
?.
) is a good practice to prevent errors.Consider adding a fallback value or placeholder text for cases where
externalAccount.org?.name
might be undefined or empty. For example:<Field width={200}>{externalAccount.org?.name || 'N/A'}</Field>This ensures that users always see some information in the "Financial Institution" column, even if the data is missing.
Line range hint
1-262
: Overall, the implementation successfully meets the PR objectives.The changes effectively add the "Financial Institution" column to the Link Accounts Modal, addressing the feature request outlined in issue #3529. The implementation is consistent with the existing code structure and doesn't introduce any apparent issues.
Key points:
- The new column is added to both the
TableHeader
andTableRow
components.- The financial institution name is correctly sourced from the
externalAccount.org?.name
property.- The changes maintain the existing functionality of the modal.
The implementation improves the clarity of account information, making it easier for users to identify which financial institution each account belongs to when managing multiple accounts across different files.
To further enhance this feature, consider the following suggestions for future improvements:
- Add sorting functionality for the new "Financial Institution" column.
- Implement filtering options to allow users to view accounts from specific financial institutions.
- Consider adding tooltips or info icons to provide more details about each financial institution when users hover over the name.
These enhancements would further improve the user experience and make it easier for users to manage their linked accounts.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
⛔ Files ignored due to path filters (1)
upcoming-release-notes/3529.md
is excluded by!**/*.md
📒 Files selected for processing (1)
- packages/desktop-client/src/components/modals/SelectLinkedAccountsModal.jsx (2 hunks)
Misunderstood it should be the PR # instead of the issue #.
👋 Hi! It looks like this PR has not had any changes for a week now. Would you like someone to review this PR? If so - please remove the "[WIP]" prefix from the PR title. That will let the community know that this PR is open for a review. |
👋 Hi! It looks like this PR has not had any changes for a week now. Would you like someone to review this PR? If so - please remove the "[WIP]" prefix from the PR title. That will let the community know that this PR is open for a review. |
This PR was closed because it has been stalled for 5 days with no activity. |
Fixes #3529