-
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
feat: log network response and request with filter options in debug console #45769
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
@@ -110,7 +110,7 @@ | |||
"date-fns-tz": "^2.0.0", | |||
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be updated as new version is available now!
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.
@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
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
.json
and open in any editorrequest
andresponse
data for API related logsYou can also follow the video:
Video
logs.mp4
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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