# Feature DREAM-391 - Redesign the "My Account / Session management" page using Primer

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-391

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 16.5.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| DREAM-510 | Bug | Wrong warning message when revoking a browser session | closed |  | 16.5.0 |  | Modules and project features / My account, Frontend components and Primer design system |
| OP-18524 | Bug | Ambiguous icon for Session revocation on Session management page | closed |  | 17.0.0 |  | Frontend components and Primer design system, Modules and project features / My account |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / My account, Frontend components and Primer design system |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups | https://www.figma.com/design/pb7hkwUvLmG5Du9NoDaXIX/Account-Settings--Primerised-?node-id=474-11966&p=f&t=0GMuzf4JB7Gxm9fu-0 |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Behrokh Satarnejad |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Acceptance criteria**

  - Primerise My Account → Session management

  - Merge the two tables in current design (sessoins and 'Remembered devices') into one Border Box Table
    
      - With four columns:
        
          - Browser
        
          - Device
        
          - Expires (new)
            
              - For remembered sessions, shows expiry date of the session in relative time ("in {n} days")
            
              - *\[open\] For non-remembered sessions, don't they have an expiry date too? Don't all sessions?*
        
          - Last connection
            
              - For current session, replace the last login date with the word "Current (this device)"
    
      - The last on each is a 'Revoke' action:
        
          - Icon: `x`
        
          - On hover, show Primer tooltip with text, 'Revoke'. On click, show browser native confirmation with text: "Are you sure you want to revoke this session? You will be logged out on this device."

**Translation considerations**

  - For 'Revoke', use existing string `button_revoke`

**Visuals**

See [Figma mockups](https://www.figma.com/design/pb7hkwUvLmG5Du9NoDaXIX/Account-Settings--Primerised-?node-id=474-11966). The following is for reference only:

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/784067/content">
