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.
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
Fix/34609: Remove old description page #35137
Fix/34609: Remove old description page #35137
Changes from 6 commits
199a826
c983c5f
d93929e
e690103
f1de3f2
61632f5
df5b209
da8f760
ccc3f5a
481119f
9d0e118
1c45441
37a2280
9cb9602
08ac5dc
2233734
28af0b8
c512a6e
0d60886
e3f6ecf
6579704
7d8e0d5
e86aaa7
446a515
aa29db2
937a390
75cec60
3e557ac
387113a
c40f1d3
2a8a2ff
79c4485
6c41870
4924c67
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Why we are assuming that this is going to be used for edits only? (similar question for
MoneyTemporaryForRefactorRequestConfirmationList.js
)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.
@s77rt if
props.isEditingSplitBill
is false, we will disable this field by this logicApp/src/components/MoneyRequestConfirmationList.js
Line 754 in 9dbc389
Because of
isReadOnly={!isEditingSplitBill}
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.
The isReadOnly is a different prop and we can't assume it will always be related to isEditingSplitBill.
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.
@s77rt In that time, there was only editing split bill that used this component and this component MoneyRequestConfirmationList also be removed in this refactor phrase. But you're right, we can't assume that this is going to be used for edits only. So I updated in this commit to remove condition
and using iouType as param of navigate function
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.
@DylanDylann Is there any need to change the logic there? Can't we just keep using the same logic (i.e. keep isEditingSplitBill conditions) and navigate to the correct pages?
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.
@s77rt We need to change logic to use a new route to
IOURequestStepDescription
for both case. The above code is outdated. This is code after updatingThis file was deleted.