-
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
[Simplified Collect][Workflows] Create main workflow page (App) #36345
Conversation
WIP Currently did the part and the parts before that here in the DD. Screenshot on how it is currently: What is left:
|
@lakchote are all the other menu items in the LHN just because you're testing the development in a |
That seems like a free workspace |
Yes, I'm just testing things right now to have the correct look and feel. I'll ensure it's only available for |
Screen.Recording.2024-02-14.at.18.14.45.movWhat is left:
|
Lint tests are passing now. @ishpaul777 waiting for the video to upload. It looks good |
For some reason, GH won't let me upload my video (it's stuck) I've put it here |
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 🎉🚀 tests well
I dont consider this as blocker(may be not even related) just mentioning so it, toggling on a option seems to select submenu item content see vid 👇👇
Screen.Recording.2024-02-23.at.11.40.22.PM.mov
@youssef-lr 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] |
🎯 @ishpaul777, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #37157. |
I didn't experience this during my tests. Was there some pre-requisite to reproduce that, e.g. selecting the toggle before or something? |
Didn't experience it either too. Was just able to reproduce it. Toggle a switch and reload the page |
I'd say that's not a blocker for this PR. |
Just toggle on/off a option multiple times quickly, it will be reporoducible |
Created an issue for it here |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Can you assign me as c+ if this goes external 🙃 |
done |
Thank you 🙃🙂 |
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.44-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀
|
guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_WORKFLOWS} | ||
shouldShowOfflineIndicatorInWideScreen | ||
shouldShowNotFoundPage={!isPaidGroupPolicy || !isPolicyAdmin} | ||
> |
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 caused #36345, we have had tp wrap this view in a scrollview
Details
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/368331
PROPOSAL:
Tests
Create a new Collect policy on OldDot
Follow the steps outlined here to enable the Collect workspace to show up on NewDot
Login to NewDot, then navigate to Settings > Workspaces. You should see your Collect workspace, click on it.
On the LHP, you should only see the menu items below, specific to paid policies:
-
Delay submissions
Add approvals
Make or track payments
It should open a new sub item for each just like below
Note:
a. When you toggle
Add approvals
, the default approver should be the policy's owner nameb. The right switch icons do not work for now as it will be done in follow-up issues:
Delay Submissions
toggle and inspect the responsepolicy.autoReporting
should be set totrue
Refresh the page, the switch for
Delay Submissions
should be onOpen Onyx Data,
Application> IndexedDB > Onyx > keyvaluepairs
(in your browser's inspector)Go into the policy's ID data (you can find the policy ID directly in the URL).
autoreporting
should be set to true just like belowDelay Submissions
switch to off and inspect the response againpolicy.autoReporting
should be set tofalse
autoreporting
should be set to false in Onyx (don't forget to refresh Onyx data)12. Refresh the page, the switch for
Delay Submissions
should be offAdd approvals
, look for the following:Toggle switch ON, expected response:
Expected Onyx values:
Toggle switch OFF, expected response:
Expected Onyx values:
Offline tests
Repeat the same steps as in the video below, ensuring you have the same look and feel.
Screen.Recording.2024-02-23.at.1.02.30.AM.mov
QA Steps
Same as in Tests section above.
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)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
![Screenshot 2024-02-21 at 17 09 20](https://github.com/Expensify/App/assets/21549771/dc6182ef-fdf6-45a1-9b91-4392b1a85940)iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop