Skip to content
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

Workspace - Description field missing in WS profile settings in which user has joined #36913

Closed
4 of 6 tasks
lanitochka17 opened this issue Feb 20, 2024 · 7 comments
Closed
4 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 20, 2024

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.43-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): applausetester+1117ck@applause.expensifail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Issue found when executing PR #36426

Action Performed:

Precondition : Open workspace in which user joined (but not have the role - Admin)

  1. Open workspace page
  2. Click on profile option
  3. Observe description field missing

Expected Result:

Description field (read only) should be displayed in WS profile settings in which user has joined

Actual Result:

Description field missing in WS profile settings in which user has joined

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6385714_1708434668165.Recording__72.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

Triggered auto assignment to @johncschuster (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@lanitochka17
Copy link
Author

@bz 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

@eucool
Copy link
Contributor

eucool commented Feb 21, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Description field missing in WS profile settings in which user has joined

What is the root cause of that problem?

We do not show description if the workspace settings is read-only

{(!_.isEmpty(policy.description) || !readOnly) && (

What changes do you think we should make in order to solve the problem?

Remove the !readOnly condition.

It won't have any effect on the editing ability of non authorized workspace employees as we have set editing to true only if the user is admin:

shouldShowRightIcon={!readOnly}
disabled={readOnly}

What alternative solutions did you explore? (Optional)

N/A

@eucool
Copy link
Contributor

eucool commented Feb 21, 2024

@lanitochka17 , i guess you have mentioned the wrong person, @johncschuster is assigned to this issue :)

@melvin-bot melvin-bot bot added the Overdue label Feb 22, 2024
@johncschuster
Copy link
Contributor

I'm not sure this is a bug. I'm asking in #product to see what the expected behavior of the Description field is when a non-admin views the profile page of a WS.

@melvin-bot melvin-bot bot removed the Overdue label Feb 22, 2024
@johncschuster
Copy link
Contributor

We had a chat about this in #product and agree this is expected behavior.

Basically, when a non-admin views the Workspace profile page and the description for the workspace is blank, we will how show the description field to the non-admin at all.

Closing!

@eucool
Copy link
Contributor

eucool commented Feb 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
None yet
Development

No branches or pull requests

3 participants