Page MenuHomePhabricator

[native] Show actions conditionally
ClosedPublic

Authored by tomek on May 19 2023, 10:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 5:55 PM
Unknown Object (File)
Thu, Dec 5, 2:38 PM
Unknown Object (File)
Nov 22 2024, 5:43 PM
Unknown Object (File)
Nov 22 2024, 12:35 PM
Unknown Object (File)
Oct 28 2024, 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
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