-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Implement the policy report field edit flow #44730
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
Merged
mountiny
merged 63 commits into
Expensify:main
from
rezkiy37:feature/43685-report-fields-edit-flow
Jul 9, 2024
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
56b504f
create bare NamePage
rezkiy37 e943bf6
create bare TypePage
rezkiy37 dd40132
create bare InitialValuePage
rezkiy37 af0cec5
create EditReportFieldPage
rezkiy37 cddeaf9
connect screens to navigation
rezkiy37 7631cca
create bare setters
rezkiy37 143964f
remove name and type editing pages
rezkiy37 ce74ea8
use reportFieldID
rezkiy37 56a31ea
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 71a92cd
Merge branch 'feature/43684-report-fields-creating-flow-4' of https:/…
rezkiy37 7c95c6d
restrict initial value fore date type
rezkiy37 ab2b1b0
create InitialListValuePicker
rezkiy37 1d60889
add route to type
rezkiy37 861bd0c
convert ReportFieldsInitialListValuePicker as a input picker
rezkiy37 cd47a6e
integrate InitialValuePage
rezkiy37 75dc491
integrate initial value state
rezkiy37 9c96dce
improve initial value form submitting
rezkiy37 694414a
connect reportField values of policy
rezkiy37 44eaf49
integrate values based on props
rezkiy37 3500726
Merge branch 'feature/43684-report-fields-creating-flow-4' of https:/…
rezkiy37 23748f1
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 26b8885
rename create report field page
rezkiy37 b942422
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 2a97b7d
fix values getting
rezkiy37 6562d40
rename initial value page
rezkiy37 a3e9e98
rename value settings page
rezkiy37 c6a0795
rename report field edit page
rezkiy37 980bc8e
create bare report field updates
rezkiy37 8841b35
create tests for updateReportFieldInitialValue
rezkiy37 111c4ee
create tests for updateReportFieldListValueEnabled
rezkiy37 bbae275
integrate updateReportFieldInitialValue and updateReportFieldListValu…
rezkiy37 1240918
improve tests
rezkiy37 84284fd
integrate initial value updating
rezkiy37 46a1a65
integrate list value enabling
rezkiy37 a34a928
add correct failure data
rezkiy37 b9a0da0
improve updateReportFieldListValueEnabled to handle batch update
rezkiy37 05f8642
integrate batched updates
rezkiy37 430d092
integrate draft add list value
rezkiy37 9df8869
integrate addReportFieldListValue
rezkiy37 029dded
prettify tests
rezkiy37 a3f1b1f
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 ee455fa
memorise reportFieldsSections
rezkiy37 48c185c
integrate values list removing
rezkiy37 acf5dd0
use update pending action for values list
rezkiy37 aef7cb5
clarify routes
rezkiy37 b10ad13
add js doc
rezkiy37 c3bfe81
Merge branch 'feat-43686-report-fields-delete-flow' of https://github…
rezkiy37 2655a14
fix ref error
rezkiy37 0380655
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 773706c
clarify route
rezkiy37 abf31ce
Revert "clarify route"
rezkiy37 69e9f79
fix list key
rezkiy37 72ec86e
fix scroll view nesting
rezkiy37 a09e692
mark value as not required property of a report field
rezkiy37 b844f08
fix and improve pendingAction setting
rezkiy37 9ca2958
not capitalize
rezkiy37 0376879
revert form props for ReportFieldsInitialListValuePicker
rezkiy37 c01d2a4
move ReportFieldsInitialListValuePicker
rezkiy37 68610ed
remove ref from ReportFieldsInitialListValuePicker
rezkiy37 ac9c1a8
add js doc
rezkiy37 001061f
refactor ReportFieldTest
rezkiy37 b18736a
tweak comment
rezkiy37 e724077
fix type usage
rezkiy37 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/libs/API/parameters/CreateWorkspaceReportFieldListValueParams.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| type CreateWorkspaceReportFieldListValueParams = { | ||
| policyID: string; | ||
| /** | ||
| * Stringified JSON object with type of following structure: | ||
| * Array<string> | ||
| */ | ||
| reportFields: string; | ||
| }; | ||
|
|
||
| export default CreateWorkspaceReportFieldListValueParams; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/libs/API/parameters/EnableWorkspaceReportFieldListValueParams.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| type EnableWorkspaceReportFieldListValueParams = { | ||
| policyID: string; | ||
| /** | ||
| * Stringified JSON object with type of following structure: | ||
| * Array<string> | ||
| */ | ||
| reportFields: string; | ||
| }; | ||
|
|
||
| export default EnableWorkspaceReportFieldListValueParams; |
10 changes: 10 additions & 0 deletions
10
src/libs/API/parameters/RemoveWorkspaceReportFieldListValueParams.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| type RemoveWorkspaceReportFieldListValueParams = { | ||
| policyID: string; | ||
| /** | ||
| * Stringified JSON object with type of following structure: | ||
| * Array<string> | ||
| */ | ||
| reportFields: string; | ||
| }; | ||
|
|
||
| export default RemoveWorkspaceReportFieldListValueParams; |
10 changes: 10 additions & 0 deletions
10
src/libs/API/parameters/UpdateWorkspaceReportFieldInitialValueParams.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| type UpdateWorkspaceReportFieldInitialValueParams = { | ||
| policyID: string; | ||
| /** | ||
| * Stringified JSON object with type of following structure: | ||
| * Array<string> | ||
| */ | ||
| reportFields: string; | ||
| }; | ||
|
|
||
| export default UpdateWorkspaceReportFieldInitialValueParams; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.