HomePhabricator
Diffusion Comm 10bd397d84d4

[web] fix user profile long username bug

Description

[web] fix user profile long username bug

Summary:
This diff fixes the bug where we had text overflow with longer usernames. To address this I introduced a version of SingleLine for web.

For context here is the native version of SingleLine
https://github.com/CommE2E/comm/blob/master/native/components/single-line.react.js

Linear task: https://linear.app/comm/issue/ENG-5372/fix-user-profiles-for-long-usernames

Test Plan:
Please see screenshots below

Before:

Screenshot 2023-10-25 at 11.17.54 PM.png (1×3 px, 663 KB)

after:

Screenshot 2023-10-25 at 11.24.46 PM.png (1×3 px, 660 KB)

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ted, ashoat, tomek, wyilio

Differential Revision: https://phab.comm.dev/D9604

Details

Provenance
ginsuAuthored on Oct 25 2023, 8:26 PM
Reviewer
atul
Differential Revision
D9604: [web] fix user profile long username bug
Parents
rCOMM2957186830f5: [landing] replace Patryk with Monika on team page
Branches
Unknown
Tags
Unknown