Commit Graph

116 Commits

Author SHA1 Message Date
Lukáš Tinkl ab96c17fb2 chore(AppMain): use Loaders more aggressively, unloading any previous unused section
- another bit on the road to reduce startup time and be more conservative
towards RAM usage
- remove more imperative JS code
- only preload/prepare the currently active community, not all of them on
startup

Fixes #8782
2023-01-11 21:55:52 +01:00
Boris Melnik 9b8a86a3cb feat(communities): Add ban state for spectated community
Fixes: #8761
2023-01-09 10:30:54 -05:00
mprakhov 0675d6a7d9 fix(@desktop/chat): message box buttons do not work in group chat creation screen 2023-01-09 12:51:35 +02:00
Alexandra Betouni ba811acc27 fix(improvements): remove console warnings pt1
Closes #7959
2023-01-04 17:28:59 +02:00
Sale Djenic 0e65f2a7ff feature(@desktop/keycard): create a new Keycard account with a new seed phrase
Fixes: #7028
2023-01-04 14:24:55 +01:00
Alexandra Betouni 99c7b33e1e fix(Global): Cleaned up Global from backend dependencies
Closes #7933
2022-12-19 16:28:41 +02:00
Boris Melnik 0ff0047167 fix(warnings): Fix warnings from AppMain and main on start
Fixes: #8293
2022-12-15 18:03:11 +03:00
Igor Sirotin 50427390dd ens: Fix ens name inconsistency across app 2022-12-14 23:46:50 +03:00
Lukáš Tinkl 73cc621f0c fix: Rename "Chat" tooltip to "Messages"
... and do it the proper way, ie. make the string translatable as we
can't handle translations coming from NIM files at the moment

Closes #8418
2022-12-13 03:46:25 +01:00
Lukáš Tinkl f62acae911 fix(Settings): cant switch off sounds for notifications
Fix a bunch of problems with handling sound/notifications related options
coming from the backend:
- `volume` and `notificationSoundsEnabled` live in a different settings
object; adjust the stores for that
- unbreak loading the actual wav/mp3 files (was never working on Linux
outside of AppImage!) -> use "qrc:/", same as the NIM backend does
- fix the volume scaling (backend has [1,100], QML is [0, 1])
- simplify our Audio QML item interface; no need for an extra property
and resolving the URL twice (which results in broken scenarios mentioned
above); we know which sounds we want to load

Closes #8668
2022-12-09 11:01:18 +01:00
Lukáš Tinkl c32dfa48be fix: CTRL+K (jump to) modal is case sensitive
make the ChannelPicker/StatusSearchListPopup search case insensitive

Fixes #8460
2022-12-07 17:10:38 +01:00
Igor Sirotin e3bfdc0f09 fix(StatusPopupMenu): Refactoring 2022-12-02 10:30:50 +03:00
Pascal Precht d5db1e6356 Add banner that indicates history archive downloads are in progress
This needs: https://github.com/status-im/status-go/pull/2995
2022-12-01 18:01:27 +01:00
Khushboo Mehta 9ded9d4ffa feat(@deaktop/wallet): Add bridge view
fixes #8236
2022-12-01 17:15:55 +01:00
Lukáš Tinkl 9559789030 chore: reduce the number of (verification) RPC calls
- when calling `Utils.getColorHashAsJson()` we don't actually need to
issue ID verification requests at all and there might be situations when
we know beforehand that we don't need the ENS verification either
- change these helper functions' syntax and do early returns in that case
- in MessageContextMenuView, the "contact details" were duplicated, so
remove one
- remove dead code, fix some warnings
2022-12-01 16:50:23 +01:00
Patryk Osmaczko 5d305a5221 refactor(StatusAppNavBar): simplify navbar
- removed imperative filtering
- removed imperative size calculation
- removed all ugly hacks

fixes: #7167
fixes: #8463
2022-11-29 16:06:33 +01:00
Lukáš Tinkl d5478babfb fix: unbreak the image context menu
- don't reference non-existent code
- positioning it manually is wrong anyway

Fixes: #8447
2022-11-25 16:15:29 +01:00
Michal Iskierko a46206e4fd fix(@desktop/chat): Hide create chat panel when some other menu items are selected
Fix #7675
2022-11-25 14:17:23 +01:00
Khushboo Mehta 8084b90b5c test: Renabled test case for Simple transaction
fixes #7983
2022-11-20 14:44:37 +01:00
Jonathan Rainville 312dd72955 fix(windows): fix windows chat list empty because of popup overflow
Fixes #7906
2022-11-16 15:41:32 -05:00
Boris Melnik 13acb5730d fix(profile-settings): Add usage dirty values for preview and load image profile on save
Closes: #7920 #7917
2022-11-14 14:59:46 +03:00
MishkaRogachev 06f1f9a7aa fix(ActivityCenter): Fix positioning AC popup
Close #8030
2022-11-14 10:23:13 +01:00
Pascal Precht df3f3d3d7b fix(AppSearch): ensure app search loader is deactivated when popup is
closed

Otherwise, the loader stays active, which requires users to hit CTRL-F
twice to reopen it again (because it'll first deactivate, then activate
again).

Fixes #7989
2022-11-10 16:07:57 +01:00
MishkaRogachev 6a72773ab6 feat(ActivityCenter): Refactor AC Store and fix notifications counting
Close #7654
2022-10-28 12:29:40 +03:00
Michal Iskierko 58fe1ed8ca fix(@desktop/chat): If profile popup is opened close it before another opening
Fix #6650
2022-10-28 11:02:42 +02:00
Khushboo Mehta aec7a30d03 feat(@desktop/wallet): Updated UI for bridge and multi routing support
fixes #7334
2022-10-26 18:48:30 +02:00
Jonathan Rainville afaf7717e8 fix: fix signals not passing the callback
Fixes #8038

We added a callback arg to the signals, but signals do not support default args. You need to pass the exact number of args.
2022-10-26 10:29:33 +02:00
Michał Cieślak 57e80255bf fix(Global): Popup components moved from Global.qml to dedicated non-singleton component
Closes: #7992
2022-10-25 15:35:18 +02:00
Alexandra Betouni 080bc44971 fix(AppMain): only show banner when disconnected
Closes #7416
2022-10-25 08:26:29 -04:00
Lukáš Tinkl 8e307d6c35 chore: minor Discord import related UI fixes
- correct plural in qsTr()
- readonly properties
- remove obsolete/dead/unused code
2022-10-20 10:40:41 +02:00
Lukáš Tinkl 025a45d1a4 chore(AppMain): improve startup time
- wrap everything we can in AppMain with a (async) Loader
- do not access globals w/o a proper store
- drop some dead code

Although I wasn't able to completely fix the bug, the ~50% improvement in
startup time is still worth trying imho. On my machine, the startup time
went down from ~7s to under 4s.

Related: #7292
2022-10-19 10:48:20 +02:00
Lukáš Tinkl 7a407662e2 feat: New Profile Modal
Fixes: #7360
2022-10-17 12:05:54 +02:00
Michał Cieślak 948dc8e747 fix(AppMain): Community color shown in left bar
Closes: #7763
2022-10-13 13:05:47 +02:00
Alexandra Betouni 6fa4553d08 fix(DragnDrop): re-enabled drag and drop
Closes #7484
2022-10-12 10:34:46 -04:00
PavelS 2da05c0025 fix(@desktop/chat): update toast message logic
Fixes #7487
2022-10-06 11:43:35 +02:00
Pascal Precht bf14b06d55 feat(CreateCommunityPopup): add discord import progress panel and discord message handling
This adds the UI plus all necessary models and signal handling to render
discord import progress in the desktop application.

It also introduces message handling for discord chat message types.

Requires status-im/status-go#2826 to function

Co-authored with @caybro
2022-10-06 09:13:57 +02:00
Igor Sirotin f32e551c75 fix(InviteFriendsToCommunityPopup): Created single global instance. Fixed profile icons. 2022-10-05 14:37:36 +03:00
Noelia b2f927b716 test(suite_messaging): Created new suite_messaging
Created new `suite_messaging` where all related chat tests will be migrated to.
- `tst_ChatFlow` has been moved to new `suite_messaging`. It still contains some broken tests.
- `tst_groupChat` has been moved to new `suite_messaging`. It is now working (but it relies on the mailserver so could fail sometimes).
- `tst_statusLoginPassword` has been moved to new `suite_onboarding`.
- It has been needed to move some object definitions from `chat_names.py` to `global_names.py` since they are shared between different suites.
- Some other minor object and steps definitions have been moved to fit with the new structure.

Closes #7624
2022-10-04 11:17:47 +02:00
Noelia d0fc2db9bd test(chore): Added splash screen animation recognition and general banners management
"the user lands on the signed in app" step incorporates the following verifications (main screen is ready):
- Splash screen animation is loaded and ended.
- Banners that appear in the main screen are closed before starting other actions (secure seed phrase, connection information and update app information banners).
2022-10-04 11:17:47 +02:00
Michal Iskierko 3bcd26b6ae fix(@desktop/general): Fix sections switching shortcuts
Ctrl+n shortcut changes enabled section.

Fix #7478
2022-09-28 09:42:14 -04:00
Lukáš Tinkl a209d39881 fix: ENS name issues
- don't display identicon rings for contacts with an ENS name
- prefer the at-form (@foo-user) whenever possible, and don't display their
  username or pubkey unless they are locally given a nickname
- show compressed keys everywhere instead of the regular ones

Fixes: #7319
Fixes: #7515
2022-09-26 22:38:02 +02:00
Lukáš Tinkl 54c73b0be7 chore: cleanup, fix warning, remove dead code 2022-09-26 22:38:02 +02:00
MishkaRogachev 2681542a98 feat(ActivityCenter): Store AC properties globaly
Close 7489
2022-09-26 15:49:46 +03:00
Lukáš Tinkl d7cfa3318c fix broken contact/chat images in StatusSearchListPopup
Fixes: #7409
2022-09-19 07:57:45 +02:00
Igor Sirotin b2e26dfaa2 fix(AppMain): Fixed typo that lead to hiding "Back up seed" banner 2022-09-15 15:25:32 +03:00
Lukáš Tinkl 9943a7cf1f hotfix: make sure to remove all references to pinnedMessagesListPopup
Fixes app startup
2022-09-15 11:30:15 +02:00
MishkaRogachev 25c5be2f78 feat(ActivityCenter): Refactor AC from chat and place in mainui
Close #7338
2022-09-15 12:21:06 +03:00
Sale Djenic 03bb1e5bf0 feat(@desktop/keycard): authenticate flow added
- Added `Authenticate` flow
- `Setup a new Keycard with an existing account` updated so it includes `Authenticate` flow
from the point where is needed (when migrating a profile keypair)
- We are missing `Unlock Keycard` flow for this one, will be added once it is developed
2022-09-14 16:05:52 +02:00
Igor Sirotin b2485603de fix(AppMain): Made all banners global and stacked 2022-09-08 20:47:54 +08:00
Lukáš Tinkl 4026d3c60d fix(AppMain): profile image doesn't look good after changing language
Fixes #7197
2022-09-05 19:16:03 +02:00