feat: log network response and request with filter options in debug console#45769
Conversation
…y-App into hur/feat/log-network-response
|
Tagging this held issue here so we can unblock it later: #45275 |
|
Linting and TS checks are failing because of missing type for |
…y-App into hur/feat/log-network-response
|
@allroundexperts Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@hurali97 Lint and Type checks failing. |
Reviewer Checklist
Screenshots/Videos |
@allroundexperts Reasons here |
…y-App into hur/feat/log-network-response
|
@hurali97 Conflicts. |
package.json
Outdated
| "dom-serializer": "^0.2.2", | ||
| "domhandler": "^4.3.0", | ||
| "expensify-common": "2.0.57", | ||
| "expensify-common": "2.0.60", |
There was a problem hiding this comment.
This needs to be updated as new version is available now!
There was a problem hiding this comment.
@allroundexperts I have no issues bumping it in this PR but this version bumped here is specifically related to the changes in the PR. If I bump it here and there are regressions, this PR will be reverted which I don't think would be correct.
Let me know if you agree, otherwise I will bump it 🙂
…y-App into hur/feat/log-network-response
allroundexperts
left a comment
There was a problem hiding this comment.
Looks good to me!
…y-App into hur/feat/log-network-response
…y-App into hur/feat/log-network-response
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 9.0.17-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
2 similar comments
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
| * requests because they contain sensitive information. | ||
| */ | ||
| if (request.command !== 'AuthenticatePusher') { | ||
| extraData.request = request; |
There was a problem hiding this comment.
This change raise regression issue #47509 when enable client log request data include has file can not store to indexdb, so we should serialize request data







Details
Fixed Issues
$ #45275
PROPOSAL:
Tests
.jsonand open in any editorrequestandresponsedata for API related logsYou can also follow the video:
Video
logs.mp4
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mp4
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mp4
iOS: mWeb Safari
ios-web.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov