Page MenuHomePhabricator

[lib] Turn `canPromoteSidebar` to `useCanPromoteSidebar` hook
ClosedPublic

Authored by atul on Apr 25 2024, 2:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 21, 11:27 AM
Unknown Object (File)
Sat, Sep 21, 10:42 AM
Unknown Object (File)
Sat, Sep 21, 3:27 AM
Unknown Object (File)
Sat, Sep 14, 3:28 PM
Unknown Object (File)
Sat, Aug 31, 11:50 PM
Unknown Object (File)
Aug 29 2024, 5:06 PM
Unknown Object (File)
Aug 27 2024, 12:33 PM
Unknown Object (File)
Aug 27 2024, 6:50 AM
Subscribers
None

Details

Summary

Part of deprecating use of threadHasPermission on client.


Depends on D11791

Test Plan

flow + close reading

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Apr 25 2024, 2:30 PM
ashoat added inline comments.
lib/hooks/promote-sidebar.react.js
34–37

Might as well combine all of these now

This revision is now accepted and ready to land.Apr 25 2024, 2:32 PM
lib/hooks/promote-sidebar.react.js
34–37

Ah yeah that makes way more sense, will update

This revision was landed with ongoing or failed builds.Apr 26 2024, 12:12 PM
This revision was automatically updated to reflect the committed changes.