-
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
Implement the policy report fields creation flow #44275
Implement the policy report fields creation flow #44275
Conversation
commit 99eede8 Author: Mykhailo Kravchenko <[email protected]> Date: Mon Jun 24 17:02:48 2024 +0200 fix ts error commit 931ae8c Author: Mykhailo Kravchenko <[email protected]> Date: Mon Jun 24 16:37:18 2024 +0200 fix name commit 4cecf53 Merge: 1a48c84 2526e31 Author: Mykhailo Kravchenko <[email protected]> Date: Mon Jun 24 16:36:35 2024 +0200 Merge branch 'main' of https://github.com/rezkiy37/Expensify into feature/43684-report-fields-creating-flow commit 1a48c84 Author: Mykhailo Kravchenko <[email protected]> Date: Mon Jun 24 16:30:57 2024 +0200 integrate list of values commit 5b33862 Author: Mykhailo Kravchenko <[email protected]> Date: Mon Jun 24 16:08:29 2024 +0200 integrate add new report field commit 75ab729 Author: Mykhailo Kravchenko <[email protected]> Date: Mon Jun 24 16:07:54 2024 +0200 create ListValuesSelector commit 16bb5ac Author: Mykhailo Kravchenko <[email protected]> Date: Mon Jun 24 16:07:47 2024 +0200 create ListValuesSelectorModal commit c80252d Author: Mykhailo Kravchenko <[email protected]> Date: Mon Jun 24 16:07:31 2024 +0200 integrate shouldClearOnClose for TextSelectorModal commit a5a4061 Merge: 1987234 5f45b4c Author: Mykhailo Kravchenko <[email protected]> Date: Mon Jun 24 11:43:14 2024 +0200 Merge branch 'main' of https://github.com/rezkiy37/Expensify into feature/43684-report-fields-creating-flow commit 1987234 Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 18:58:03 2024 +0200 add rightLabel for date commit d38ba2d Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 16:04:59 2024 +0200 prepare list values form commit 473629c Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 15:48:38 2024 +0200 use setInitialCreateReportFieldsForm commit bfdd2b9 Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 15:48:20 2024 +0200 create report fields actions file commit 19226bc Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 15:22:57 2024 +0200 rework date value commit ed7f7dc Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 15:22:23 2024 +0200 add translations commit 2ffc376 Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 15:12:37 2024 +0200 clarify comments commit e1b931f Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 15:11:38 2024 +0200 integrate alternative text for type picker commit 2532fa5 Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 15:06:02 2024 +0200 pass subtitles commit 2d94a2d Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 15:05:52 2024 +0200 support subtitle in TypeSelectorPicker commit 7e3a26c Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 15:05:17 2024 +0200 add padding for subtitle of TextSelectorModal commit d52f20e Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 14:53:49 2024 +0200 support subtitle in TextPicker commit a25217f Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 14:52:20 2024 +0200 add translations commit b8295a4 Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 14:27:43 2024 +0200 rename to list commit 8ea203c Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 14:24:40 2024 +0200 use list text commit ca31ef8 Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 12:25:54 2024 +0200 test commit 46b7d4a Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 12:25:41 2024 +0200 test commit 2070fea Author: Mykhailo Kravchenko <[email protected]> Date: Fri Jun 21 12:21:53 2024 +0200 test commit 951d7c2 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 17:37:12 2024 +0200 reset initial value on type change commit bf86638 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 17:18:56 2024 +0200 add input ref commit cffa2d5 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 17:08:19 2024 +0200 fix refs commit 9638f48 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 16:59:01 2024 +0200 fix default value of data picker commit a21d8b0 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 16:46:52 2024 +0200 integrate DateSelector commit 8a30dc5 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 16:30:43 2024 +0200 remove label type commit 206f3d6 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 15:58:59 2024 +0200 improve TypeSelector props commit 6a4342c Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 15:52:11 2024 +0200 add translations commit 66f5555 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 15:12:56 2024 +0200 rename commit c6fb5d9 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 15:09:13 2024 +0200 integrate draft creation of report field commit 1ea2d2e Merge: d41223a 5bbbb11 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 14:56:04 2024 +0200 Merge branch 'feature/43678-report-fields-on-more-features-page' of https://github.com/rezkiy37/Expensify into feature/43684-report-fields-creating-flow commit d41223a Merge: e135c2f 526ba21 Author: Mykhailo Kravchenko <[email protected]> Date: Thu Jun 20 14:55:43 2024 +0200 Merge branch 'feat-43677-report-fields-main-page' of https://github.com/waterim/Expnesify into feature/43684-report-fields-creating-flow commit e135c2f Author: Mykhailo Kravchenko <[email protected]> Date: Wed Jun 19 15:30:09 2024 +0200 create and connect CreatePolicyReportFieldPage commit ecd4360 Merge: 1c5af2a 18999b8 Author: Mykhailo Kravchenko <[email protected]> Date: Wed Jun 19 15:08:18 2024 +0200 Merge branch 'feat-43677-report-fields-main-page' of https://github.com/waterim/Expnesify into feature/43684-report-fields-creating-flow commit 1c5af2a Merge: d5d1e04 eab52fb Author: Mykhailo Kravchenko <[email protected]> Date: Wed Jun 19 14:35:39 2024 +0200 Merge branch 'feature/43678-report-fields-on-more-features-page' of https://github.com/rezkiy37/Expensify into feature/43684-report-fields-creating-flow commit d5d1e04 Merge: 904d49d 67563a1 Author: Mykhailo Kravchenko <[email protected]> Date: Wed Jun 19 14:34:36 2024 +0200 Merge branch 'feat-43677-report-fields-main-page' of https://github.com/waterim/Expnesify into feature/43684-report-fields-creating-flow
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
Original PR - #44089. |
…ture/43684-report-fields-creating-flow-4
…ture/43684-report-fields-creating-flow-4
BUG: App crashes on selecting optimistic entry Fixed - a78985e. |
BUG: Deleted item doesn't get removed from selection Fixed - 05d3319. |
Fixed - e005d47. |
…ture/43684-report-fields-creating-flow-4
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-07-03.at.6.40.17.PM.moviOS: NativeScreen.Recording.2024-07-03.at.6.49.03.PM.moviOS: mWeb SafariScreen.Recording.2024-07-03.at.6.29.54.PM.movMacOS: Chrome / SafariScreen.Recording.2024-07-03.at.6.23.29.PM.movMacOS: DesktopScreen.Recording.2024-07-03.at.6.42.25.PM.mov |
src/pages/workspace/reportFields/ReportFieldTypePicker/index.tsx
Outdated
Show resolved
Hide resolved
✋ 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/mountiny in version: 9.0.4-0 🚀
|
🚀 Cherry-picked to staging by https://github.com/tgolen in version: 9.0.4-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀
|
Details
The PR introduces a new flow to create a report field. Confirmed translations here.
Fixed Issues
$ #43684
PROPOSAL: N/A
Tests
Note: the feature works only on the staging server for now.
Note: the feature is under the beta (
reportFieldsFeature
).Text type
Date type
List type
Error cases
Offline tests
Same as "Tests".
QA Steps
Same as "Tests".
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.Chrome.mp4
iOS: Native
IOS.mp4
iOS: mWeb Safari
IOS.Safari.mp4
MacOS: Chrome / Safari
Chrome.mp4
MacOS: Desktop
Desktop.1.mp4
Desktop.2.mp4