Status Desktop client made in Nim & QML https://status.app
Go to file
Jonathan Rainville fe8a58c5db fix(badges): fix muted chat not being marked as read
Fixes #11041

Fixes the bug where going to a muted channel with a mention doesn't mark it as read. This was because the QML doesn't call mark as read when a channel doesn't have unviewed messages. That was because our Nim code put 0 as unviewedMessageCount when a channel is muted.

I changed it so that channels always have the value from status-go. No more conditions on the Nim side. Now the condition is on the QML side. So we hide the badge in QML instead. That also means that showing the number of unviewed message, even in a muted channel works.

I also fixed a bug where we counted muted messages on app restart for the normal badge. Usually it didn't cause issues, because it's rare that you had messages in a muted channel and nothing else. You'd also have unread messages in an unmuted channel. so you'd go there, read it, and it would then update the parent badge. 
While testing this issue, I discovered that we in fact count muted channels for the parent badge.
So i fixed it in this one too.
So while chats don't have any Nim code for muted chats, sections do, because status-go doesn't really give us that information.
2023-06-16 15:12:12 -04:00
.github chore(general): pull_request_template.md updated 2022-09-21 18:20:15 +02:00
app Fix: typo 2023-04-11 13:42:21 -04:00
ci ci: disable QML cache to avoid stale cache 2023-06-14 14:18:57 +02:00
cmake chore(CPP/CI): basic CI setup for linux cmake build 2022-07-01 14:41:28 +02:00
libs fix(@desktop/cpp): Implement StatusGoQt::sendMessage() function 2023-04-18 10:47:42 +02:00
monitoring feat(Monitoring): Backend's properties and models visualization 2023-01-16 14:46:58 +01:00
resources feat: add api to get list of owners from a given nft contract 2023-04-19 16:34:58 -03:00
scripts ci: upgrade from Go 1.19.5 to 1.20.4 2023-05-04 16:01:17 +02:00
src fix(badges): fix muted chat not being marked as read 2023-06-16 15:12:12 -04:00
storybook feat(@dekstop/wallet): use amounts from activity backend 2023-06-16 11:06:23 -03:00
test chore(@e2e_tests): split scenario to create and edit, improved edit logic 2023-06-15 18:14:13 +03:00
test-scripts chores(@general): remove status-lib deps 2022-02-03 11:52:45 -05:00
ui fix(badges): fix muted chat not being marked as read 2023-06-16 15:12:12 -04:00
vendor fix(badges): fix muted chat not being marked as read 2023-06-16 15:12:12 -04:00
.clang-format style(@desktop/cpp): apply clang-format on src-cpp/* 2022-02-21 19:55:01 +01:00
.clang-tidy refactor(@desktop/cpp): improve cpp code 2022-03-01 16:05:21 +01:00
.gitignore Nim 1.6 2023-04-24 12:38:35 -04:00
.gitmodules chore: remove dictionary 2023-06-09 14:50:08 -04:00
.npmrc chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
.yarnrc chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
AppRun build: use same container as Jenkins CI for local packaged builds on Linux 2021-04-27 13:49:46 -05:00
AppRun-cpp chore(CPP/CI): basic CI setup for linux cmake build 2022-07-01 14:41:28 +02:00
CMakeLists.txt chore(cpp): add chat section and list chats 2022-08-11 21:40:39 +02:00
I18N.md chore(translations): update I18N docs 2022-07-14 22:04:33 +02:00
Info.dev.plist fix(deeplinks): Update plist files to new url scheme 2023-06-09 12:40:03 +03:00
Info.plist fix(deeplinks): Update plist files to new url scheme 2023-06-09 12:40:03 +03:00
LICENSE.md docs: indicate MPL 2.0 as the license 2020-09-23 15:14:59 -04:00
Makefile chore: remove dictionary 2023-06-09 14:50:08 -04:00
QtWebEngineProcess.plist chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
README.md chore(CPP): Basic project configuration setup using Qt6 2022-06-30 12:16:33 +02:00
Status.entitlements feat(universal-links): Adds universal links support for macOS 2023-06-15 14:29:06 +03:00
VERSION chore: bump git master version post 0.9 release 2023-02-01 16:55:30 +01:00
build-linux.sh QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
cacert.pem fix(@desktop/windows): installer to include cacert.pem 2021-09-06 14:47:18 -04:00
conanfile.txt chore(CPP): integrate tokens balance status-go API (POC) 2022-08-02 16:06:33 +02:00
config.nims Nim 1.6 2023-04-24 12:38:35 -04:00
docker-linux-app-image.sh QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
env.sh feat: get collectibles from the contracts and their respective apis 2020-06-18 10:55:48 -04:00
fleets.json chore: add status.prod fleet 2022-03-11 15:52:47 -05:00
nim-status.desktop build: use same container as Jenkins CI for local packaged builds on Linux 2021-04-27 13:49:46 -05:00
nim.cfg feat(wallet) complete the filter API 2023-05-31 08:16:28 +02:00
nim_status_client.nimble docs: indicate MPL 2.0 as the license 2020-09-23 15:14:59 -04:00
package-lock.json chore(@desktop/general): Upgrade fileicon to v. 0.3.0 2022-04-11 12:18:54 -04:00
package.json chore(@desktop/general): Upgrade fileicon to v. 0.3.0 2022-04-11 12:18:54 -04:00
screenshot.png remove docs folder from repo (moved to https://hackmd.io/@status-desktop/B1eOaf-nd) 2021-06-24 15:07:30 -04:00
status-dev.icns chore: revise how dev version of app icon is set on macOS during `make run` 2021-01-21 15:36:32 -06:00
status-dev.svg chore(@desktop/general): use different icons for Windows/Linux and MacOS 2021-07-19 13:37:56 -04:00
status-macos-dev.svg chore: refactor prod/dev app icon and related logic for macOS 2021-01-15 19:12:42 -05:00
status-macos.ico chore(@desktop/general): use different icons for Windows/Linux and MacOS 2021-07-19 13:37:56 -04:00
status-macos.svg chore: refactor prod/dev app icon and related logic for macOS 2021-01-15 19:12:42 -05:00
status.desktop chore(CPP/CI): basic CI setup for linux cmake build 2022-07-01 14:41:28 +02:00
status.icns chore: revise how dev version of app icon is set on macOS during `make run` 2021-01-21 15:36:32 -06:00
status.ico chore(@desktop/general): use different icons for Windows/Linux and MacOS 2021-07-19 13:37:56 -04:00
status.iss fix(deeplinks): Update plist files to new url scheme 2023-06-09 12:40:03 +03:00
status.svg chore(@desktop/general): use different icons for Windows/Linux and MacOS 2021-07-19 13:37:56 -04:00
windows-install.txt build: implement packaging steps for the Windows build 2020-07-17 13:57:32 -05:00