-
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 13 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
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.
Oh! This change is not required as we need to keep the color green.
I was referring to the
download
action insearch
page where the button size is small and color is grey. There, button size needs to be large and color green as per comment. Is this a quick change? If not, maybe we can do this in a separate PR as mentioned hereThis comment was marked as outdated.
Sorry, something went wrong.
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.
Yes, this is DecisionModal. I have changed the offline modal to use the DecisionModal component. This is the same as the image above.
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 But the button is grey. If we want this button to be green, we must introduce new props.Do we implement this in this pull request?
App/src/components/DecisionModal.tsx
Lines 67 to 71 in ab40264
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.
Since we are talking about changing the default modal, a separate PR may be better as mentioned here.
Let us leave it to @mountiny to decide on this.
Meanwhile, I will complete the checklist.
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.
Yeah lets do that separately