[Image enhancements] POC: Pass authToken via Image header#12146
Closed
Beamanator wants to merge 6 commits intomainfrom
Closed
[Image enhancements] POC: Pass authToken via Image header#12146Beamanator wants to merge 6 commits intomainfrom
header#12146Beamanator wants to merge 6 commits intomainfrom
Conversation
kidroca
reviewed
Oct 26, 2022
| @@ -1,10 +1,13 @@ | |||
| import React, {PureComponent} from 'react'; | |||
| import {View, Image} from 'react-native'; | |||
Contributor
There was a problem hiding this comment.
@Beamanator can you use Image from react-native-fast-image
import Image from '@pieter-pot/react-native-fast-image';Or does that break a lot of stuff?
Perhaps headers would be fixed on Android this way?
Contributor
Author
There was a problem hiding this comment.
Oohhh I will definitely try that tomorrow (didn't test that today)
mountiny
reviewed
Nov 8, 2022
Contributor
mountiny
left a comment
There was a problem hiding this comment.
Tested this with https://github.com/Expensify/Web-Expensify/pull/35310 and works fine so merged it.
95 tasks
Contributor
Author
|
Closing in favor of #12648 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Details
Goes with Web-E PR: https://github.com/Expensify/Web-Expensify/pull/35310
Fixed Issues
$ GH_LINK
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
header#12146npm run ios- it doesn't work on any other platform YET!npm run ios, then open the chat report w/ the imagemainbranch in App, then do step 4 againQA Steps
PR Review Checklist
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Screenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Screen.Recording.2022-10-26.at.5.59.37.PM.mov
Android