-
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
Define type definition for the connections
property
#37806
Conversation
@aimane-chnaif 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] |
Co-authored-by: Francois Laithier <francois@expensify.com>
There must be a way to test this locally, no? Like connect a policy in OldDot, then update the response of a random NewDot API command to include the |
Co-authored-by: Francois Laithier <francois@expensify.com>
@francoisl This PR just changes the type definitions. Even if we were to send the connection data to the front end for testing, it doesn't help to confirm that the types defined here is correct. 😓 |
Ok fair, let's ship this then. @aimane-chnaif can you give it another look and do the checklist please? Thanks! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-03-11.at.5.32.30.AM.movMacOS: Desktop |
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.
Please merge main
Co-authored-by: Francois Laithier <francois@expensify.com>
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.
Happy to review next PR (if exists) which depends on this PR.
🚀 Deployed to staging by https://github.com/francoisl in version: 1.4.51-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.51-3 🚀
|
Hi, I'm currently working on a task to add comments for all onyx types and I noticed that most of the type introduced by this PR aren't being used currently. Can you help me understand what each property represents and how it will be used in the app, so that I can provide descriptions? Here you can find which properties I need help with, marked with |
@francoisl if you have time and can quickly check the data format of
connections
property, I'd appreciate it 🙇Details
As part of the QBO project, we will begin sending data related to the integration between Expensify and third-party accounting software to New Expensify. This will allow users to modify the integration configurations on New Expensify.
To accommodate this new data, this PR specifies the type for the
connections
property within thepolicy
object, which stores the connection configuration data.Fixed Issues
$ #37801
PROPOSAL: N/A (PR by an internal employee)
Tests / Offline tests /
This PR just adds a new Typescript type. The PR doesn't have any logic or UI changes to be tested.
QA Steps
NO QA
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectionI built and ran the web app and ensured that the app works. Because this PR only changes TypeScript code, I didn't test on other platforms.
toggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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-03-05.at.5.15.54.PM.mov
MacOS: Desktop