Page MenuHomePhabricator

[native] Show actions conditionally
ClosedPublic

Authored by tomek on May 19 2023, 10:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 8:57 AM
Unknown Object (File)
Oct 17 2024, 1:00 PM
Unknown Object (File)
Oct 17 2024, 7:18 AM
Unknown Object (File)
Oct 16 2024, 4:57 PM
Unknown Object (File)
Oct 16 2024, 4:57 PM
Unknown Object (File)
Oct 16 2024, 4:56 PM
Unknown Object (File)
Oct 16 2024, 4:51 PM
Unknown Object (File)
Sep 24 2024, 2:40 PM
Subscribers

Details

Summary

For all the users, if there's a public link, we should show a button for it.
For all the admins, we should always show manage button.
Three dots menu should be visible only when at least one button is visible.

Depends on D7880

Test Plan

Check if:

  1. The three dot's button isn't visible for a normal user when there's no link.
  2. Invite link button should be visible only when there's a link for both normal and admin users.
  3. Manage links button should be always visible for admins.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable