mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-25 04:55:59 +00:00
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
Nim-status-client
Desktop client for the Status Network built with Nim and Qt
note: this documentation is wip
Getting started
Overview
Architecture & Development
Guides & Tutorials
Continuous Integration
API
Translations
License
Licensed under the Mozilla Public License Version 2.0
Description
Languages
QML
39.7%
JavaScript
29.3%
Nim
18.5%
Python
5.6%
C++
5.2%
Other
1.5%