-
Notifications
You must be signed in to change notification settings - Fork 3.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
handle offline mode for bank connection #55338
Merged
mountiny
merged 16 commits into
Expensify:main
from
huult:55096-direct-card-feed-bank-authentication
Feb 4, 2025
Merged
Changes from 11 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0b6e8a8
handle offline mode for bank connection
huult 9cfd06b
fix eslint
huult b233a3b
Merge remote-tracking branch 'upstream/main' into 55096-direct-card-f…
huult 822de82
Merge remote-tracking branch 'upstream/main' into 55096-direct-card-f…
huult 86490d8
Disable assign card button when offline
huult f115b9b
Update dependencies
huult 399f7fc
Merge remote-tracking branch 'upstream/main' into 55096-direct-card-f…
huult 7ce7b83
Update condition to disable button
huult bcf33be
Merge remote-tracking branch 'upstream/main' into 55096-direct-card-f…
huult 9835df5
Merge remote-tracking branch 'upstream/main' into 55096-direct-card-f…
huult 4327547
Merge remote-tracking branch 'upstream/main' into 55096-direct-card-f…
huult da198cc
add offline alert modal for direct feed
huult fb84a50
Update download button and remove unused actions
huult 84e050f
Merge remote-tracking branch 'upstream/main' into 55096-direct-card-f…
huult adf01fb
change to DecisionModal
huult 82aafc1
fix lint
huult File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@huult is this for both direct and custom feeds? this change should only be for direct feeds because only then we might be opening the popuo window
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.
Oops! I missed interpreting the expectation correctly here. Thanks for pointing out.
On thinking further, I am not that sure if we would get an empty page for direct feeds. If the empty cards page is not applicable for direct feeds, no changes are needed here. But looks like some more understanding is needed here.
And it looks like we may have to make changes in the header buttons here by considering
isOffline
andisCustomFeed
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.
Feed added empty state
can occur for direct feeds also. The test video in OP also demonstrates this. So, we need to disableAssign card
here only forDirect
feed.I think no change has to be made to the
Assign card
button in the card list header.@mountiny Is this understanding correct?
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.
@rojiphil @huult Sorry i feel like this still was not addressed, we only need to do this for the direct feeds that need to open the web view to authenticate directly with the bank