Skip to content

[Due for payment 2026-05-22] [Device Management] Implement Device Management UI #86580

Closed

Description

@arosiclair

Part of the Add Device Management to NewDot project

Main issue: #81346
Doc section: Steps 4 - 6 of the detailed design
Project: https://github.com/orgs/Expensify/projects/270/views/1

Feature Description

4. Add a new Device Management menu item in Account Security settings that opens a new page in the RHP

We’ll add a new menu item to the page similar to the other items.

  • The item will always be visible
  • We’ll add a new Device icon for this in Expensicons
  • Clicking it will navigate to a new route for the page
    • Add SETTINGS_DEVICE_MANAGEMENT that points to /settings/security/device-management in ROUTES.ts
    • Add SCREENS.SETTINGS.DEVICE_MANAGEMENT to SCREENS.ts
    • Add the screen to SCREENS.RIGHT_MODAL.SETTINGS
    • Add the screen to the SettingsModalStackNavigator and link it to a new DeviceManagementPage component

5. Implement the Device Management page which shows a list of devices that can be removed similar to how they appear in Classic.

We’ll implement a new DeviceManagementPage component that’s styled like the mocks. It will

  • Subscribe to Onyx key logins
  • Display a row for each login that has the following partnerIDs
    • PARTNER_ID_IPHONE = 14
    • PARTNER_ID_ANDROID = 16
    • PARTNER_ID_NEWDOT = 83
  • The displayed timestamp on each row will correspond to the lastLogin formatted using datetimeToRelative
  • Selecting the Revoke button will call a revokeDevice action which updates the login in Onyx
    • optimisticData sets the login’s pending action to CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE
    • successData sets the login to null
    • failureData adds an entry to login.errorFields with a generic message

6. Add a RBR for RevokeDevice errors

When RevokeDevice fails and a device login has an error set in errors, we’ll show a RBR for Avatar > Security > Device Management > {device with an error}

  • Settings button: add an additional check in useNavigationTabBarIndicatorChecks
  • Settings page: set brickRoadIndicator on the security menu item
  • Security page: set errors on Device Management menu item
  • Device with error: display a dismissible error using OfflineWithFeedback

Manual Test Steps

https://docs.google.com/document/d/1BFE5uWz5A_BmCM-TSPeKItE5KWYYfO6Cw4_lzDhGSAw/edit?usp=sharing

Automated Tests

We’ll add a unit test to verify the expensifyLoginsSelector correctly returns logins with partnerID = 1.

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. self-assigned this
    on Mar 27, 2026
  2. added
    Weekly
    NewFeature
    on Mar 27, 2026
  3. melvin-bot commented on Mar 27, 2026

    @melvin-bot

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

  4. changed the title [-][HOLD] Implement Device Management UI[/-] [+][HOLD][Device Management] Implement Device Management UI[/+] on Mar 27, 2026
  5. bernhardoj commented on Apr 4, 2026

    @bernhardoj
    Contributor

    Can I get the icon file for Device?

  6. bernhardoj commented on Apr 4, 2026

    @bernhardoj
    Contributor

    Where should the "Learn more" links to?
    Image

  7. bernhardoj commented on Apr 4, 2026

    @bernhardoj
    Contributor

    Also, can we have the Figma link? I currently see the design from https://docs.google.com/document/d/1FDEYeoqQGEGt1XtylBluO9Kuu-EsPyFHP6PtbUVNNsY/edit?tab=t.0#heading=h.d8ho5q4jeajn

    The mock link above links to #86580 (comment)

  8. 61 remaining items

  9. melvin-bot commented on May 21, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  10. melvin-bot commented on May 22, 2026

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@mallenexpensify)

    • (if NewFeature) I have created a PR for any necessary HelpDot updates, or I confirmed no updates are necessary.
    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
    • I have verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  11. arosiclair commented on May 25, 2026

    @arosiclair
    ContributorAuthor

    @mallenexpensify payment for this job should be $1000 to both

  12. bernhardoj commented on Jun 4, 2026

    @bernhardoj
    Contributor

    @mallenexpensify hi, can we get a payment summary for this? Thanks!

  13. mallenexpensify commented on Jun 4, 2026

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor+: @bernhardoj due $1000 via NewDot
    Contributor+: @dukenv0307 due $1000 via NewDot

    ^ Test case created. Thx

  14. quinthar commented on Jun 13, 2026

    @quinthar
    Contributor

    Approved $1000 to @dukenv0307

  15. flaviadefaria commented on Jun 16, 2026

    @flaviadefaria
    Contributor

    Approved: @bernhardoj due $1000 via NewDot

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

Metadata

Metadata

Labels

Awaiting PaymentDailyNewFeature

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions