Open koko57 opened 1 day ago
@DylanDylann 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]
@koko57 Step 2 on workspace C seems to be confusing to me
Verify that after choosing Assignee the Card selection step is skipped - you land on the Transaction Start step
I think it should be
Verify that the Assignee and Card Selection steps are skipped - you land on the Transaction Start step
@DylanDylann yes, you're right, fixing it
@koko57 We don't reset assignCard
field on Onyx when starting a new creation flow again
https://github.com/user-attachments/assets/d41e141b-0cf9-4d2d-8b98-ccb41739c65e
My suggestion is that we reset assignCard
field on Onyx when users click on Assign card on both Company page and member Detail page
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and not onIconClick
).myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components using Avatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. for onClick={this.submit}
the method this.submit
should be bound to this
in the constructor)this
are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this);
if this.submit
is never passed to a component event handler like onClick
)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG
)Avatar
is modified, I verified that Avatar
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 the Test
steps.
Explanation of Change
Fixed Issues
$ https://github.com/Expensify/App/issues/52820 PROPOSAL:
Tests
PREREQUISITES: ideally 4 workspaces with Company Cards enabled and a feed added Workspace A - 1 member, multiple cards to assign Workspace B - several members, 1 card to assign (if you don't have a workspace with only 1 card you can change this code from)
to
Workspace C - 1 member, 1 card to assign Workspace D - several members, several cards to assign
Workspace A
Workspace B
Workspace C
Workspace D
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
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)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.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
https://github.com/user-attachments/assets/ce167fa9-e1c8-4d5b-9e58-386b5e84fdc0 https://github.com/user-attachments/assets/869f4f26-4ad6-40cc-abd1-56c9d5360063 https://github.com/user-attachments/assets/170d0213-d565-4ba2-a962-f00019fdd300MacOS: Desktop