HomePhabricator
Diffusion Comm c38470e72f08

[web] Introduce disable link modal

Tags
None
Referenced Files
F618531: disable.png
Jul 10 2023, 5:49 AM
File Not Attached
F618529: manage-and-disable.png
Jul 10 2023, 5:49 AM
File Not Attached
Subscribers
None

Description

[web] Introduce disable link modal

Summary:
When a link is created, on manage links modal there should be a button which opens disable link modal.
https://www.figma.com/file/a1nkbWgbgjRlrOY9LVurTz/Comm-%2F-Desktop-app?node-id=11341%3A280056&mode=dev

manage-and-disable.png (1×1 px, 122 KB)

Disable links modal should allow disabling link or going back.
https://www.figma.com/file/a1nkbWgbgjRlrOY9LVurTz/Comm-%2F-Desktop-app?node-id=11341%3A280530&mode=dev

disable.png (744×1 px, 82 KB)

Depends on D8417

Test Plan:
Check if disable link button is present only when there's a link.
Click a button and check if it is possible to go back.
Click disable link button and check if it disables a link.

Reviewers: kamil, inka, bartek, ashoat

Reviewed By: ashoat

Subscribers: ted, ashoat

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

Details

Provenance
tomekAuthored on Jun 30 2023, 9:02 AM
Reviewer
ashoat
Differential Revision
D8419: [web] Introduce disable link modal
Parents
rCOMM1c1c441933e7: [web] Call update or create invite link endpoint
Branches
Unknown
Tags
Unknown