Add action on "Leave thread" item in thread menu. It displays modal with confirmation before leaving thread.
Details
Details
Select thread, that can be left (like some community thread) and select "Leave thread" from thread menu.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- jacek/menu-actions-enable
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
Accepting, but please address my comment before landing
web/chat/thread-menu.react.js | ||
---|---|---|
142–148 ↗ | (On Diff #10070) | We have a couple of levels of indentation here, so it would be a good idea to define onConfirm function outside this callback as a separate callback - just to improve the readability. |