-
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
[$1000] WS - Default currency field isn't disabled when account have Control Policy #16756
Comments
Triggered auto assignment to @laurenreidexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
@laurenreidexpensify @kbecciv Can you also mention an account with control policy enabled? |
@laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I suspect this is intentional cos any account on a Control or Collect plan is being billed in the currency selected for the default billing. I just tested this in account of mine where the billing is on GBP and the default currency populated as that. Gonna ask around further now. |
I am asking in Slack here https://expensify.slack.com/archives/C049HHMV9SM/p1680517071785079 If that link doesn't work please search for "BUG DISCUSSION: WS - Default currency field isn't disabled when account have Control Policy" |
Job added to Upwork: https://www.upwork.com/jobs/~0187a24a9f8cb94f28 |
Current assignee @laurenreidexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @joelbettner ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Currency field is not disabled even when accounts are having Control Policy What is the root cause of that problem?
App/src/pages/workspace/WorkspaceSettingsPage.js Lines 139 to 150 in 17ea27f
What changes do you think we should make in order to solve the problem?If we change the variable from
I have noticed, by default any workspace has a default account policy so when we target the policy name it will be disabled. What alternative solutions did you explore? (Optional)if we create a
|
@joelbettner @rushatgabhane bump on review ^^ |
thanks, on this |
It's really hard to make proposal without a control policy account |
@joelbettner @laurenreidexpensify what exactly is an account having control policy? |
@spantheslayer I think the main problem here is how to find if a policy has a control policy and disabling based on that. Your proposal doesn't explain that |
@rushatgabhane Yeah, the issue is that when you try to create a new policy from staging.expensify.com , it creates a workspace. which I believe has an account policy I believe (correct me if I am wrong). But when we create a workspace from our expensify chat dashboard, it also reflects there in the staging.expensify.com section. that means by default every workspace gets created gets assigned a policy right? That's why I thought of modifying the |
I don't think that's related. We need to figure out what an account with Control policy means. |
Sure thanks that helps. Please let me know, I will raise another updated PR accordingly. |
Alright, we found out that control policy is of type |
@rushatgabhane so what's your though on this? should I try finding if the account is of corporate or what? |
ProposalPlease re-state the problem that we are trying to solve in this issue.When visiting the general settings section of the workspace, the default currency field is not disabled. What is the root cause of that problem?I believe that this is not a bug/issue, this is simply a case of incomplete tests steps from #16449. The main blocker here is the concept of "Control Policy", which is leading us away from the main problem. The use of a Control Policy is different from a Workspace, a control policy is not even displayed in the workspaces page, as can be seen here: Lines 68 to 77 in e56b9c7
A Control Policy is a "corporate" policy type while a Workspace is a "free" policy type. The changes made in #16449 is responsible for improving the disabled state for the picker in a workspace. I further verified this by starting a free trial on expensify.com and creating a control policy. As can be seen in the OP as well, the Control Policy is the email ID name while the Workspace is "Applause's Workspace". The picker is not disabled in the "Applause's Workspace". Now, let's talk about when exactly the picker is supposed to be disabled. As can be seen in the slack thread created by @laurenreidexpensify here, the default currency picker is disabled only when a bank account is linked to the "Workspace".
As far as I can tell in the OP, the tester has not linked a bank account to the WS, thus allowing the picker to be visible. I tried linking a bank account to the workspace myself but it involves verification technicalities from Concierge which I don't an external contributor can test yet. The App/src/pages/workspace/WorkspaceSettingsPage.js Lines 139 to 150 in 17ea27f
I propose that we test the #16449 once again but on an account which has a workspace with a reimbursement account linked, which need not be an expensifail account and if it works as expected, do nothing. |
@joelbettner @rushatgabhane bump ^^ |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@joelbettner @rushatgabhane please address today ^^ Note for myself: C+ offer sent to Rushat |
sorry i forgot about this |
I agree with @Prince-Mendiratta do nothing for this issue. @kbecciv could you please retest this issue after adding a bank account to the workspace? |
@joelbettner @rushatgabhane @laurenreidexpensify this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@kbecciv can you please retest this issue after adding a bank account to the workspace? |
@joelbettner, @rushatgabhane, @laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
bump @kbecciv thanks |
@laurenreidexpensify Checking |
@laurenreidexpensify After adding a bank account to the workspace - the Default currency field is disabled |
perfect! Thanks for confirming @kbecciv |
Awesome thanks all! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #16449
Action Performed:
Expected Result:
Verify that the default currency field is disabled and has styles matching this comment.
Actual Result:
The default currency field isn't disabled when the account have Control Policy
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.92.1
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Bug5999182_WS.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: