Add action on Sidebars item in thread menu. It displays modal with sidebars.
Details
Details
Select thread with sidebars inside and select "Sidebars" from thread menu
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
web/chat/thread-menu.react.js | ||
---|---|---|
84 ↗ | (On Diff #10069) | Here I think it would be good practice to separate out this onClick into its own React.useCallback. It's the exact scenario I described in D3332 – a change to hasSidebars here will cause onClick to be regenerated, when otherwise it wouldn't have to be. |