-
Notifications
You must be signed in to change notification settings - Fork 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
Sage intacct export: offline and error #44739
Merged
yuwenmemon
merged 30 commits into
Expensify:main
from
software-mansion-labs:war-in/sage-intacct-export-config-offline-error
Jul 15, 2024
Merged
Changes from 19 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
7a0ba43
update SelectionScreen and add Offline with feedback to components
war-in 9088361
add offline with feedback to remaining pages
war-in 91c62d9
show errors in correct places
war-in 95da618
style selection screen correctly
war-in c420893
move error and pending fields up in onyx data
war-in 42f683c
handle offline state
war-in d2c8472
Merge branch 'refs/heads/main' into war-in/sage-intacct-export-config…
war-in 36ba4c9
Merge branch 'refs/heads/war-in/sage-intacct-export-config' into war-…
war-in 80cc058
track errors in (non)reimbursable in main page
war-in 968970a
Merge branch 'refs/heads/war-in/sage-intacct-export-config' into war-…
war-in c836521
address comments
war-in 59c0fa8
use already defined type
war-in 76b2328
Merge branch 'refs/heads/war-in/sage-intacct-export-config' into war-…
war-in 32d879f
Merge branch 'refs/heads/war-in/sage-intacct-export-config' into war-…
war-in 847706e
Merge branch 'refs/heads/war-in/sage-intacct-export-config' into war-…
war-in a6d6588
include safe area padding bottom on errors
war-in 452d279
polish endpoints usages
war-in 759c350
Merge branch 'refs/heads/war-in/sage-intacct-export-config' into war-…
war-in df588a0
Merge branch 'refs/heads/main' into war-in/sage-intacct-export-config…
war-in e39b199
Merge branch 'refs/heads/main' into war-in/sage-intacct-export-config…
war-in 97f476a
fix Policy.ts after merge
war-in 43fc0f8
make error message sticky
war-in b70782a
fix margin in non-reimbursable config
war-in 5f9dc94
fix prettier
war-in 0bd28cc
dry the code
war-in d465864
Merge branch 'refs/heads/war-in/demonstrate-sticky-footer' into war-i…
war-in 161f0ec
unify spacing
war-in 51fe9f1
Merge branch 'refs/heads/main' into war-in/sage-intacct-export-config…
war-in 4285951
fix selection list padding bottom in (non)reimbursable pages
war-in fcb95f9
Merge branch 'refs/heads/main' into war-in/sage-intacct-export-config…
war-in 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
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
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.
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.
This will add the error at the bottom of the screen. cc @Expensify/design for reviewing.
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.
Interesting, should this be closer to the list options above? How does this error get triggered in the first place?
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.
In this case, the error will show when user selected a card but the api was failing.
Screen.Recording.2024-07-10.at.14.08.58.mov
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.
Wow, I think we need to clean up the spacing here. For example, I would expect there to be at least 12px of space below this error message and above the row below it:

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.
cc @war-in
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.
It does seem much better with the error closer to the list.
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 I think it would be great to further explore how to dry this up, from design perspective I agree it looks better
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.
@war-in Can you fix this spacing in other places as well? (ie: Advance page).
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.
@mountiny Do you think we need separate issue for adjusting error handling in other integrations? I can take care of it once this PR is merged
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.
@mountiny Kind bump :)