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, Dec 21, 5:30 PM
Unknown Object (File)
Sat, Dec 21, 5:30 PM
Unknown Object (File)
Sat, Dec 21, 5:30 PM
Unknown Object (File)
Sat, Dec 21, 5:30 PM
Unknown Object (File)
Sat, Dec 21, 5:30 PM
Unknown Object (File)
Sat, Dec 14, 1:00 PM
Unknown Object (File)
Nov 15 2024, 5:53 PM
Unknown Object (File)
Nov 3 2024, 2:47 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
Branch
arcpatch-D11792 (branched from master)
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 ↗(On Diff #39518)

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 ↗(On Diff #39518)

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.