Skip to content

[HOLD for payment 2023-08-14] [HOLD for payment 2023-08-08] [HOLD for payment 2023-08-03] [$1000] Polish admins-only policy room feature #21456

Closed

Description

@amyevans

Background

We recently added a configurable setting to all default and user-created policy rooms, available to admins only, that allows admins to define who can post in that room: All members or Admins only. This enables admins to "control the conversation" in rooms that have large membership, or for whatever other reason should be lower-noise.

While the bulk of the work is complete, there's some remaining polish to be done on the FE.

Tasks

  • The default form value should be all
  • Send the writeCapability value when calling the AddWorkspaceRoom endpoint
  • Ensure the value is included in the optimisticData (to support offline creation)
  • Note: BE PRs supporting the writeCapability value in the AddWorkspaceRoom endpoint aren't live yet, but don't need to block work here
  • Filter out admin-only rooms for members in the "Share somewhere" selector of the "Assign task" action (accessible via the FAB menu) - so that members cannot share a task to the room
  • Reduce the padding between the last message and the bottom of the page when the composer isn't present (e.g. for the "member" view in an admin-only room)
  • Update the room description to be Use ${roomName} to hear about important announcements related to ${workspaceName} for admin-only rooms
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~012ddadecb1f0a54b9
  • Upwork Job ID: 1675048364496478208
  • Last Price Increase: 2023-07-01

Activity

  1. added
    Weekly
    NewFeature
    on Jun 23, 2023
  2. self-assigned this
    on Jun 23, 2023
  3. melvin-bot commented on Jun 23, 2023

    @melvin-bot
  4. melvin-bot commented on Jun 23, 2023

    @melvin-bot

    Triggered auto assignment to Design team member for new feature review - @shawnborton (NewFeature)

  5. amyevans commented on Jun 23, 2023

    @amyevans
    ContributorAuthor

    Internal issue for reference: https://github.com/Expensify/Expensify/issues/282865

    I shared in Slack to see if a Callstack team member has capacity for this.

  6. jliexpensify commented on Jun 24, 2023

    @jliexpensify
    Contributor

    LMK if you need any Upworks stuff sorted!

  7. rezkiy37 commented on Jun 26, 2023

    @rezkiy37
    Contributor

    Hi, I'm Michael (Mykhailo) from Callstack and I would like to work in this issue.

  8. rezkiy37 commented on Jun 26, 2023

    @rezkiy37
    Contributor

    @amyevans Hi!
    Is it possible to add my Expensify accounts to the white list of Create Policy Room and tasks?

    Screenshot 2023-06-26 at 17 07 42
  9. amyevans commented on Jun 26, 2023

    @amyevans
    ContributorAuthor

    Done

  10. rezkiy37 commented on Jun 27, 2023

    @rezkiy37
    Contributor

    @amyevans I have a question about the last task.
    Do you mean to replace entirely?

    • Before: Collaboration among ${workspaceName} admins starts here! 🎉 Use ${roomName} to chat about topics such as workspace configurations and more.

    • After: Use ${roomName} to hear about important announcements related to ${workspaceName}.

    Screenshot 2023-06-27 at 17 25 00
  11. amyevans commented on Jun 27, 2023

    @amyevans
    ContributorAuthor

    Collaboration among ${workspaceName} admins starts here! 🎉 Use ${roomName} to chat about topics such as workspace configurations and more.

    This is the copy for the #admins room, and the #admins room is something different - it is one of 2 rooms created by default when you create a new workspace aka policy (#announce being the other default room). The purpose of the #admins room is for collaboration between admins. Users who are members of the policy (but not admins of the policy) are not in the #admins room.

    Then we have this feature we're working on here, which is any room that is restricted to only admins posting (but plenty of non-admins are in the room). Check out the screen recordings/code in #19094 for more context. So we'll want to insert a new condition here-ish:

    } else if (isDomainRoom(report)) {

    that checks if it's a room where only admins can post and then spits out Use ${roomName} to hear about important announcements related to ${workspaceName}.

    Does that make sense?

  12. 68 remaining items

  13. changed the title [-][HOLD for payment 2023-08-08] [HOLD for payment 2023-08-03] [$1000] Polish admins-only policy room feature[/-] [+][HOLD for payment 2023-08-14] [HOLD for payment 2023-08-08] [HOLD for payment 2023-08-03] [$1000] Polish admins-only policy room feature[/+] on Aug 7, 2023
  14. melvin-bot commented on Aug 7, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.50-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2023-08-14. 🎊

    After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    For reference, here are some details about the assignees on this issue:

    • @mananjadhav does not require payment (Eligable for Manual Requests)
    • @rezkiy37 does not require payment (Contractor)

    As a reminder, here are the bonuses/penalties that should be applied for any External issue:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  15. mananjadhav commented on Aug 11, 2023

    @mananjadhav
    Collaborator

    There won't be any offending PR because this was more of a feature request. About regressions steps, @amyevans Can you confirm if these are added during the feature design?

  16. amyevans commented on Aug 11, 2023

    @amyevans
    ContributorAuthor

    About regressions steps, @amyevans Can you confirm if these are added during the feature design?

    Good reminder, I haven't put in the request for new regression tests yet but I will Monday!

  17. jliexpensify commented on Aug 14, 2023

    @jliexpensify
    Contributor

    Payment summary here (to save me/JMills/Anu scrolling up)

  18. amyevans commented on Aug 14, 2023

    @amyevans
    ContributorAuthor

    Regression tests GH created: https://github.com/Expensify/Expensify/issues/308182

    I think we're set to proceed with payment today!

  19. added
    Daily
    and removed
    Weekly
    Help Wanted
    on Aug 14, 2023
  20. jliexpensify commented on Aug 15, 2023

    @jliexpensify
    Contributor

    Cool, so there isn't anything to pay in Upworks - @mananjadhav is getting paid in New.Dot and @rezkiy37 is invoicing us.

    @amyevans are you happy to close this one, if everything is done?

  21. amyevans commented on Aug 15, 2023

    @amyevans
    ContributorAuthor

    Sure, I wasn't sure if we had to keep it open until the payment was made in NewDot. Closing now!

  22. JmillsExpensify commented on Aug 15, 2023

    @JmillsExpensify
    Contributor

    Reviewed the details for @mananjadhav. Approved for payment in NewDot based on BZ summary above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentDailyExternalNewFeature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions