Page MenuHomePhabricator

[web] Move `hasPermissionForTab` up from `ThreadSettingsModal` to `ConnectedThreadSettingsModal`
ClosedPublic

Authored by atul on Apr 18 2022, 3:41 PM.
Tags
None
Referenced Files
F3168595: D3770.id11756.diff
Thu, Nov 7, 7:07 AM
Unknown Object (File)
Wed, Nov 6, 11:40 AM
Unknown Object (File)
Tue, Oct 22, 11:15 AM
Unknown Object (File)
Tue, Oct 22, 11:15 AM
Unknown Object (File)
Tue, Oct 22, 11:15 AM
Unknown Object (File)
Tue, Oct 22, 11:15 AM
Unknown Object (File)
Tue, Oct 22, 2:05 AM
Unknown Object (File)
Mon, Oct 21, 11:37 PM

Details

Summary

Move hasPermissionForTab up from ThreadSettingsModal to ConnectedThreadSettingsModal.

As part of the work to refactor ThreadSettingsModal... specifically to turn it into a functional component.


Depends on D3769

Test Plan
  1. Open ThreadSettingsModal for a few threads
  2. Ensure that the expected tabs are visible based on permission

Diff Detail

Repository
rCOMM Comm
Branch
actuallylandapril21 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Apr 18 2022, 3:46 PM
This revision is now accepted and ready to land.Apr 21 2022, 3:12 AM