-
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
Copilot error refactor - display error from server #51588
Conversation
backend is merged but not yet on staging. Will let you know! |
Okay backend is on staging! This should be ready to test/review. Thanks! |
Reviewer Checklist
Screenshots/Videos |
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.
LGTM.
Hey! So this looks good - except - I didn't change the The only ones I updated the handling for was Add, Remove, and UpdateDelegateRole |
@dangrous i did not change how they are interpreted from backend response. I just changed where the error is stored on frontend. Why? To have all errors stored in one place connect and disconnect errors only show a generic error message |
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.
ugh, sorry. My brain is very distracted these days. Confirmed what you said. This looks good then!
✋ 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/dangrous in version: 9.0.58-0 🚀
|
This PR is failing because of issue 52118 |
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.58-2 🚀
|
Details
Fixed Issues
$ #51356
PROPOSAL:
Tests
Verify error cases for all copilot flows.
Connect
Disconnect
Add copilot
Update copilot role
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-10-28.at.22.25.24.mov
MacOS: Desktop