Page MenuHomePhabricator

[web][native] Display both thread and community names in the modal
ClosedPublic

Authored by tomek on Jun 13 2024, 5:23 AM.
Tags
None
Referenced Files
F3381852: D12422.diff
Thu, Nov 28, 6:47 AM
Unknown Object (File)
Sun, Nov 24, 9:55 PM
Unknown Object (File)
Mon, Nov 18, 1:24 AM
Unknown Object (File)
Sat, Nov 16, 6:29 PM
Unknown Object (File)
Fri, Nov 1, 8:16 PM
Unknown Object (File)
Fri, Nov 1, 8:16 PM
Unknown Object (File)
Fri, Nov 1, 8:16 PM
Unknown Object (File)
Fri, Nov 1, 8:16 PM
Subscribers
None

Details

Summary

Display both a community and thread names when a link points at a thread. Show just the community name for community links.

https://linear.app/comm/issue/ENG-8417/show-a-thread-name-to-which-a-link-points-in-the-modal

Web

web_community_link.png (714×932 px, 46 KB)

web_thread_link.png (918×952 px, 55 KB)

Native

native_community_link.png (303×378 px, 18 KB)

native_thread_link.png (392×386 px, 22 KB)

Long names, e.g. A thread with a long name containing words with a lot of characters like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:

native_long.png (616×377 px, 43 KB)

web_long.png (1×938 px, 112 KB)

Depends on D12421

Test Plan

Checked on both platforms and for both link types that the names are displayed correctly.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.Jun 13 2024, 5:40 AM

How does it look if the names are really long?

This revision is now accepted and ready to land.Jun 13 2024, 11:17 AM
tomek planned changes to this revision.EditedJun 14 2024, 3:16 AM

How does it look if the names are really long?

Good call! It doesn't handle it well on web - going to update the diff.

Handle long names on web. Updated the summary with some screenshots.

This revision is now accepted and ready to land.Jun 14 2024, 3:29 AM

"within" is not centered on web (vertically), can we fix this?

In D12422#355471, @inka wrote:

"within" is not centered on web (vertically), can we fix this?

Created https://linear.app/comm/issue/ENG-8728/fix-the-styling-of-invite-link-modal-on-web to track