Page MenuHomePhabricator

[web] Introduce edit link modal
ClosedPublic

Authored by tomek on Jul 3 2023, 5:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 6, 5:06 PM
Unknown Object (File)
Mon, May 6, 10:15 AM
Unknown Object (File)
Sat, May 4, 11:52 AM
Unknown Object (File)
Sat, May 4, 5:15 AM
Unknown Object (File)
Sat, May 4, 5:15 AM
Unknown Object (File)
Sat, May 4, 5:15 AM
Unknown Object (File)
Sat, May 4, 5:15 AM
Unknown Object (File)
Sat, May 4, 5:15 AM
Subscribers

Details

Summary

Introduce a stage of manage link modal where a link can be modified / created.

https://www.figma.com/file/a1nkbWgbgjRlrOY9LVurTz/Comm-%2F-Desktop-app?node-id=11341%3A281468&mode=dev

edit-modal.png (938×1 px, 104 KB)

Depends on D8414

Test Plan

Check if edit link and enable link buttons point to edit link modal. Check if the modal is displayed correctly.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek added a reviewer: ashoat.
tomek requested review of this revision.Jul 3 2023, 5:29 AM
ashoat added inline comments.
web/invite-links/manage/edit-link-modal.react.js
38–44 ↗(On Diff #28345)

In ENG-4304, I shared replacement text for this screen on native. We can use the same text on web:

Invite links make it easy for your friends to join your community. Anybody who knows your community's invite link will be able to join it. Note that if you change your public link's URL, other communities will be able to claim the old URL.

This revision is now accepted and ready to land.Jul 3 2023, 11:05 AM

Update copy

web/invite-links/manage/edit-link-modal.react.js
38–44 ↗(On Diff #28345)

web-edit-link-new-copy.png (952×1 px, 100 KB)

web/invite-links/manage/edit-link-modal.react.js
41–42 ↗(On Diff #28436)

Let's avoid using <br /> for spacing

Use 12px gap instead of new line chars

web/invite-links/manage/edit-link-modal.react.js
41–42 ↗(On Diff #28436)

Changed line breaks to 12px gap

web-edit-link-gap.png (976×1 px, 103 KB)

This revision was automatically updated to reflect the committed changes.