Pascal Precht 84806ee96c feat(MessageContextMenu): add copy link actions
This commit adds a menu item to the message context menu to
copy links that may exist inside of a message.

There are three possible scenarios:

1. There's no link in the message, which causes the menu to not
render the dedicated menu item at all
2. There's one link in the message, which renders an additional
`Action` with a copy-to-clipboard functionality
3. There are multiple links in a single message. This adds a
nested `PopupMenu` in the existing menu with menu items for each
link extracted from the message

To make this work there were some changes in the `PopupMenu` component
needed, as it wasn't take the sub menu's `enabled` state into account
properly. This makde it always render nested menus even when they
should've been invisible.

Closes: #1733
2021-02-23 08:53:54 -05:00
..
2021-02-18 15:23:58 -05:00
2020-09-16 16:57:18 -04:00
2020-09-16 16:57:18 -04:00
2020-12-17 16:44:25 -05:00
2021-02-18 15:23:58 -05:00
2020-09-17 15:40:01 -04:00
2020-11-11 12:14:35 -05:00
2020-08-17 12:07:11 +02:00
2021-01-14 15:59:45 -05:00
2020-07-06 14:17:19 -04:00
2020-11-26 11:33:32 -05:00