-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[HOLD for payment 2024-05-14][$250] Send invoice - Hide visibility and room name fields in the Settings page of the Invoice room #41280
Comments
Triggered auto assignment to @robertjchen ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@robertjchen FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Related to #40303 |
Does not appear to be a serious deploy blocker to me and should be addressable by external contributors 👍 |
Job added to Upwork: https://www.upwork.com/jobs/~01a3de929b3f13fc60 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Changing visibility on BE is not allowed for invoice yet we do not block it on What is the root cause of that problem?we decide whether to change visibility or not based on the boolean App/src/pages/settings/Report/ReportSettingsPage.tsx Lines 152 to 158 in d299b32
shouldAllowChangeVisibility takes value from
Here we do not check if the report chatType is of invoice. What changes do you think we should make in order to solve the problem?We need to add a extra condition to check if report chatType is invoice and block changing the visibility based on that value: --- a/src/pages/settings/Report/ReportSettingsPage.tsx
+++ b/src/pages/settings/Report/ReportSettingsPage.tsx
@@ -41,11 +41,9 @@ function ReportSettingsPage({report, policies}: ReportSettingsPageProps) {
- const shouldAllowChangeVisibility = useMemo(() => ReportUtils.canEditRoomVisibility(report, linkedWorkspace), [report, linkedWorkspace]);
-
+ const shouldAllowChangeVisibility = useMemo(() => ReportUtils.canEditRoomVisibility(report, linkedWorkspace), [report, linkedWorkspace]) && report.chatType !== CONST.REPORT.CHAT_TYPE.INVOICE; What alternative solutions did you explore? (Optional)We can update the check Lines 5705 to 5707 in d299b32
|
Hey, Im Artem from Callstack and would like to take this issue |
isn’t this issue external? @waterim ? |
Yes, this one can be taken by someone External, will jump to the other issues |
this is #vip-billpay related. @danielrvidal could you please help prioritze? |
This is a solid clean up item, but given it's not breaking the room I'm assigning it a Medium. |
Awesome, looks like this should be good to go and on staging tomorrow. Thank you! |
@cristipaval could you please attach payment summary for this issue 🙇 |
Payment summary: @rushatgabhane for the C+ review Note: I don't think this is a regression as it was not clear in the initial design that we were going to hide these for the invoice rooms |
Triggered auto assignment to @miljakljajic ( |
@miljakljajic Could you please help with this when it gets due? |
Thank you, I will! |
tomorrow is the payment day, Melv |
Payment Summary
BugZero Checklist (@miljakljajic)
|
Issuing these payments! |
@rushatgabhane owed 250 for their work @GandalfGwaihir paid in upwork. closing! |
@miljakljajic this should be $500 right? Because critical issue |
Sorry @rushatgabhane Updated payment summary: @rushatgabhane owed 250 for their work @GandalfGwaihir I will issue a bonus to cover the outstanding amount |
Paid the outstanding 250 USD via an upwork bonus to @GandalfGwaihir |
@miljakljajic i get that you've mentioned i owe 250 extra. |
Agreed, we still need a payment summary with the $500 amounts. |
@rushatgabhane is owed 500 USD for their work on this issue I'm so sorry - I didn't mean to type 250, total mistake on my part |
$500 approved for @rushatgabhane |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.68-0
Reproducible in staging?: Y
Reproducible in production?: N
**If this was caught during regression testing, add the test name, ID and link from TestRail:**N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #40015
Action Performed:
Expected Result:
Invoice workspace chat should not show visibility settings if it cannot be changed
Actual Result:
Invoice workspace chat shows visibility settings and it always reverts to "Private"
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6466105_1714440134762.bandicam_2024-04-30_09-19-02-277.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: