Introduce top bar thread menu. Currently, without any actions.
Menu disappears after clicking outside.
The eslint-ignore is only for current diff, as the following will add actions that use ThreadInfo.
Differential D3187
[web] Introduce `ThreadMenu` • jacek on Feb 14 2022, 3:22 AM. Authored by Tags None Referenced Files
Details
Introduce top bar thread menu. Currently, without any actions. The eslint-ignore is only for current diff, as the following will add actions that use ThreadInfo. Tested the menu with actions (in following diffs) in many different thread types, to make sure proper items are displayed for each thread.
Diff Detail
Event TimelineComment Actions Interesting approach. I think this is better than what we've done for thread list dropdown (the one with set read / unread). We probably should use the same approach there... maybe we can extract a component / hook that can be reused there?
Comment Actions Renamed clickOutside..., replaced window with document and created switchMenuCallback function.
Comment Actions This comment has been deleted.
Comment Actions There seems to be a strong disagreement on the subject of whether we should strip padding from icons. @benschac, @palys-swm, @def-au1t – I suspect the quickest / healthiest way to resolve it would be a video call. Would suggest scheduling that ASAP in order to unblock @def-au1t
Comment Actions I need to update the Icon sets and use the default icons with their paddings. https://linear.app/comm/issue/ENG-800/re-introduce-default-paddings-in-icon-set |