-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix 49974 attachment infinite loading #50511
Closed
Kalydosos
wants to merge
22
commits into
Expensify:main
from
Kalydosos:fix-49974-attachment-infinite-loading
+50
−17
Closed
Changes from 3 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
fff2058
fix-49974 infinite loading for invalid attachment source
Kalydosos 0d498e2
fix-49974 infinite loading for invalid attachment source
Kalydosos 1113ed6
update with design
Kalydosos 59ca13c
update from translation
Kalydosos 6090c91
Update index.tsx with Design to match current icon theme
Kalydosos e99c8e4
update for offline status managment
Kalydosos a45ee64
updates for offline status managment
Kalydosos 8502139
clean up
Kalydosos 92948a5
update esling prettier
Kalydosos 7edda3f
Merge branch 'Expensify:main' into fix-49974-attachment-infinite-loading
Kalydosos 643dfbb
update for eslint
Kalydosos 3320b50
update to make images loaded with errors clickable
Kalydosos 08dd49b
fix code taste
Kalydosos f4dbdc1
update to make change to isLocalFile function local
Kalydosos 9965a0c
Merge branch 'fix-49974-attachment-infinite-loading' of https://githu…
Kalydosos 560496b
Update for eslint
Kalydosos 4c83a8c
Update for eslint
Kalydosos e0e79d0
Merge branch 'Expensify:main' into fix-49974-attachment-infinite-loading
Kalydosos e729446
merge with main and some eslint fix
Kalydosos a58ee30
fix for prettier tool
Kalydosos 568406e
clean up useState
Kalydosos 8ccbaf9
fix eslint
Kalydosos 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -1959,6 +1959,7 @@ const translations = { | |||||
afterLinkText: 'para verlo.', | ||||||
formLabel: 'Ver PDF', | ||||||
}, | ||||||
attachmentNotFound: 'Adjunto no encontrado' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, got it. Thx a lot |
||||||
}, | ||||||
messages: { | ||||||
errorMessageInvalidPhone: `Por favor, introduce un número de teléfono válido sin paréntesis o guiones. Si reside fuera de Estados Unidos, por favor incluye el prefijo internacional (p. ej. ${CONST.EXAMPLE_PHONE_NUMBER}).`, | ||||||
|
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.
Consider making this theme.icons instead
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.
Ok, thx for the feedback
I tried theme.icon but it"s still light as you can see in the pic below
but a theme that seems to match better the "Attachment not found" text in both light and dark modes is theme.iconHovered as you can see in the pic below
What do you think ? also @dannymcclain
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 first pic (
theme.icon
) looks 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.
Ok @dannymcclain thx for the feedback 👍 , @shawnborton i will update the code if it's ok with you
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.
Yup, Danny is 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.
@shawnborton yes, i have updated the code already. thx for the feedback 👍
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.
Thanks!