Status Desktop client made in Nim & QML https://status.app
Go to file
Pascal Precht c2f418205f feat(StatusChatList): introduce `popupMenu` property
Chat list items can open a context on right click as well, so `StatusChatList`
needs to provide an API for users to pass down a `StatusPopupMenu` accordingly.

This is now possible with a dedicated `popupMenu` proporty that can be
used as follows:

```qml
StatusChatList {
    ...
    popupMenu: StatusPopupMenu {

        property string chatId

        openHandler: function () {
            ...
        }

        StatusMenuItem {
            ...
        }
        ...
    }
}
```

As will all `popupMenu` properties in StatusQ component, having this explicit API
option enables us to have control over how triggering components (in this case chat
list items) behave when they open a context menu (e.g. keeping them highlighted as long
as the menu is active).

When defining a `chatId` property, `StatusChatList` will hydrate it with the id of
the chat list item that has triggered the menu.

If there's more logic to be executed upon opening the menu, `openHandler` serves
as a hook similar to other popup menus. Inside the hook, users have access to the
specific `chatId`.

Closes #171
2022-09-21 18:20:02 +02:00
.github
app fix(CPP): fix linux compiling issues 2022-08-23 19:38:23 +02:00
ci ci: set PKG_URL to avoid interrobang for builds 2022-09-21 12:35:48 +02:00
cmake
libs feat(CPP): Saved addresses code review fixes 2022-09-12 17:03:17 +04:00
resources chore(CPP): integrate tokens balance status-go API (POC) 2022-08-02 16:06:33 +02:00
scripts test: Add xvfb to the runtime dependencies 2022-08-08 15:36:32 +02:00
spellchecking@f1a88d1147
src chore: use enrtrees for status.* fleets instead of connecting directly to the nodes 2022-09-21 11:42:06 -04:00
test fix(tests): don't rely on quick actions, wait for components to be ready 2022-09-19 13:16:22 +02:00
test-scripts
ui feat(StatusChatList): introduce `popupMenu` property 2022-09-21 18:20:02 +02:00
vendor chore: bump status-go 2022-09-21 08:57:18 +02:00
.clang-format
.clang-tidy
.gitignore test(community): add a test that pins and unpins messages 2022-08-26 10:29:28 -04:00
.gitmodules Remove submodule ui/StatusQ 2022-09-21 18:20:01 +02:00
.npmrc
.yarnrc
AppRun
AppRun-cpp
CMakeLists.txt chore(cpp): add chat section and list chats 2022-08-11 21:40:39 +02:00
I18N.md
Info.dev.plist
Info.plist
LICENSE.md
Makefile chore: remove npx 2022-09-14 15:52:16 -04:00
QtWebEngineProcess.plist
README.md
VERSION
build-linux.sh
cacert.pem
conanfile.txt chore(CPP): integrate tokens balance status-go API (POC) 2022-08-02 16:06:33 +02:00
config.nims feat(@desktop/keycard): initial keycard implementation 2022-08-04 09:50:04 +02:00
docker-linux-app-image.sh
env.sh
fleets.json
nim-status.desktop
nim.cfg
nim_status_client.nimble
package-lock.json
package.json
screenshot.png
status-dev.icns
status-dev.svg
status-macos-dev.svg
status-macos.ico
status-macos.svg
status.desktop
status.icns
status.ico
status.iss
status.svg
windows-install.txt