-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$500] Request Money - Category edit page shown for normal money request (betweem 2 users) #28192
Comments
Triggered auto assignment to @CortneyOfstad ( |
Job added to Upwork: https://www.upwork.com/jobs/~01445341bcc011416f |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @dylanexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Category modal opens in one-to-one money request when redirecting to /edit/category. What is the root cause of that problem?Modal opens whenever path satisfies mask /edit/category What changes do you think we should make in order to solve the problem?Add additional check on request type to open category list. App/src/pages/EditRequestPage.js Line 182 in 4ea4a55
What alternative solutions did you explore? (Optional)Remove either Category modal block or CATEGORY constant from request due to unnecessary categories field inside of a one-to-one money request |
ProposalPlease re-state the problem that we are trying to solve in this issue.Catergory page editable for dms What is the root cause of that problem?We have not checked if the category is editable in EditRequestCategoryPage What changes do you think we should make in order to solve the problem?We should wrap the EditRequestCategoryPage here with What alternative solutions did you explore? (Optional)xx |
Proposal[Updated]link to proposal |
@kbecciv Can you please add the proposal from slack here. |
Proposal by: @BhuvaneshPatil ProposalPlease re-state the problem that we are trying to solve in this issue.We can access edit category page using link for 1:1 request, but the category feature is only for workspace money requests What is the root cause of that problem?We don't have any check in What changes do you think we should make in order to solve the problem?we check for showing category in
We shall have same check for What alternative solutions did you explore? (Optional)We can also add App/src/pages/EditRequestPage.js Lines 182 to 197 in 4ea4a55
The advantage of this is that some information is already available and we don't need to add props for them. |
Proposal[UPDATE] #28192 (comment) , Added permalink by rushatgabhane suggestion. |
|
Triggered auto assignment to @cead22, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
cool, thanks @Ollyws |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
This is now fixed on staging, we're good to close this issue. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
/edit/category
to urlExpected Result:
Category shouldn't be shown for 1:1 money request, user should see page is not found with appropriate message
Actual Result:
Category edit page shown for normal money request (between 2 users)
Workaround
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.74.0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-09-24.at.10.14.28.AM.mov
Recording.4767.mp4
Expensify/Expensify Issue URL:
Issue reported by: @BhuvaneshPatil
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695530860289029
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: