154 Commits

Author SHA1 Message Date
Pascal Precht
35233a01e7 fix: add upper limit to initialized app window size
This is needed because on screens that are too big, the app becomes
huge.
2021-12-14 12:10:34 +01:00
Pascal Precht
23cd46e831 fix: ensure app tab buuttons match correct app section
Since the timeline was removed, this introduced a little hiccup in
the application section selection.

This commit ensures navigation tab buttons match the correct section.
2021-12-06 13:21:31 +01:00
Alexandra Betouni
5e88a9a91b refactor(desktop): Removed all timeline related code
Removed all timeline associated code from base_bc.
This feature is deprecated and shall be removed

Closes #4064
2021-12-03 19:55:45 +02:00
Pascal Precht
7aa777f2e3 feat: preserve app window size after resize
This adds the functionality that the application window size is saved in the
app settings, so that it restores the same size the next time the application
is started.

Closes #4120
2021-12-02 15:45:24 +01:00
Jonathan Rainville
8be841e0ac fix(notifications): fix missing task bar icon making notif not work
Fixes #4183 and #4205
2021-11-30 15:54:18 -05:00
Pascal Precht
bc7823fa0d fix(@desktop/chat): ensure emoji selection works
This broke in https://github.com/status-im/status-desktop/pull/4135 due to incorrect
initialization of `recentEmojis` property in `localAccountSensitiveSettings`.

Closes #4102
2021-11-25 08:59:21 +01:00
Jonathan Rainville
1b08e21691 fix(app): fix minimising the app on close for Windows and Linux
Fixes #4128
2021-11-18 09:44:19 -05:00
Khushboo Mehta
0c1dc30e5a fix(@desktop/onboarding): backup seed phrase flow is shown for recovered account
fixes #3954
2021-11-11 09:33:02 -05:00
Sale Djenic
3f6bb66536 refactor(@desktop/general): globalSettings moved to Nim 2021-11-05 11:02:45 -04:00
Sale Djenic
f0b2ed6cca refactor(@desktop/general): appSettings moved to Nim 2021-11-05 11:02:45 -04:00
Sale Djenic
80bf896265 refactor(@desktop/general): constants formatted in a better way 2021-11-05 11:02:45 -04:00
Sale Djenic
7a37c50958 refactor(@desktop/general): connection to undefined prop fixed
An error `ReferenceError: mainModule is not defined` is fixed.
That started to happen when we moved registered context properties
from constructors to `load` proc, because of lazy context property
inatialization (after we ensure that a user is logged in), but main.qml is
loaded when the app start, when we don't have `mainModule` registered yet.
2021-11-05 11:02:45 -04:00
Sale Djenic
37e9150021 Cleaning up the code, and removing leftovers 2021-11-05 11:02:45 -04:00
Sale Djenic
11cdd608f3 Log out the app on NodeStopped signal 2021-11-05 11:02:45 -04:00
Sale Djenic
48a39e4569 keychain feature refactored 2021-11-05 11:02:45 -04:00
Sale Djenic
08e7fef491 keychain feature partly refactored 2021-11-05 11:02:45 -04:00
Sale Djenic
4f3ca4eb78 login process refactored 2021-11-05 11:02:45 -04:00
Sale Djenic
30f11c06d4 onboarding process updated, import account feature handled 2021-11-05 11:02:45 -04:00
Sale Djenic
e9bb9b256e Onboarding creating new account process updated. 2021-11-05 11:02:45 -04:00
Alexandra Betouni
426c116bac refactor(desktop) Made shared a QML module
Use it as import shared 1.0, import shared.controls 1.0
etc instead of import "../../../shared"

Closes #3934
2021-10-27 18:05:45 -04:00
Pascal Precht
fa3adb30e4 refactor: move PopupMenu to ui/shared/popups 2021-10-14 12:51:27 -04:00
Pascal Precht
ae31f7e1cb refactor: move ConfirmationDialog to ui/shared/popups 2021-10-14 12:51:27 -04:00
¨Anthony
4c55ad26bb fix(@desktop/settings): Fix precision of volume
Also move soundtrack in assets and reuse audio component
2021-10-13 14:26:04 -04:00
Khushboo Mehta
ee5fef7dda feat(@desktop/onboarding): refactor/restructure ui/onboarding to new architecture
closes #3799
2021-10-13 14:02:06 -04:00
Michele Balistreri
879550d332 rename Keycard flow 2021-10-06 08:32:32 -04:00
Michele Balistreri
3d46e62345 draft authentication dialogs 2021-10-06 08:32:32 -04:00
Michele Balistreri
21b20fbc38 add feature switch for Keycard 2021-10-06 08:32:32 -04:00
Anthony Laibe
22e8c8a7ff fix(@desktop/profile): Split account and profile settings
Avoid to reveal which alias own which settings. The only settings
pre-login available is the storeToKeychain

Ideally we should also encrypt the profile settings
2021-10-01 10:29:05 -04:00
Alexandra Betouni
4ee21ada05 feat(desktop) Added image function in Style
Introduced Style.svg() Style.png() Style.emoji() and
Style.icon() in Style.qml. Those should be used to
set the source in Images instead of using relative
paths. Usage:
Image {
   source: Style.svg("check)
   ....

Also moved all Singletons inside a new "utils"
folder and made it a QML module, to use
import utils 1.0 instead of relative paths

Closes #3678
2021-09-28 15:28:00 -04:00
Khushboo Mehta
6e3ac7d5dc fix(@desktop/chat): Remember the last tab (in nav bar) opened when status app is reopened
With this fix after a restart the tab which the user was last one (chat, community, wallet, browser, settings) will be the active one.
If the user was on the timeline tab when the app is closed, the app will be launched with the chat tab.

fixes #3559
2021-09-28 15:17:56 -04:00
Anthony Laibe
2322f501fa fix(@desktop/members): Fix missing app settings 2021-09-22 15:06:45 -04:00
Michael Bradley, Jr
9e742e4b4a feat(@desktop/settings): set "Just @mentions" as the new default in Notifications preferences
Closes #3532.
2021-09-21 14:29:14 -04:00
Sale Djenic
c392a473b9 fix(@desktop/general): fix the scenarios for closing the app on Mac (minimise on close On / Off)
Fixes: #3378
2021-09-21 10:46:55 -04:00
Anthony Laibe
b2e263bb3a fix(@desktop/settings): reinstate downloadChannelMessagesEnabled config 2021-09-20 10:40:03 -04:00
Sale Djenic
8af104a16e feat(@desktop/onboarding): support (optionally) OS keychain to login password
This feature works for MacOs only, for now.

On login, whether new or already created user may select between options:
"Store" - store password to the Keychain
"Not now" - don't store it now, but ask next time again
"Never" - don't store them ever and don't ask again

Selected preference may be changed later in:
`ProfileSettings > Privacy and security > Store pass to Keychain`

On the next app run, if `Store` was selected, a user will be asked to confirm
his identity using Touch Id in order to log in the app. If any error happens
he will be able to login using password.

Fixes: #2675
2021-09-17 12:45:34 -04:00
Sale Djenic
e0c53b7012 refactor(@desktop/general): managing local settings added on the nim side
From now on we are able to access local settings (settings and global settings)
on the nim side, not only through the qml.

This change is required as part of the feature issue-2675.
2021-09-17 12:45:34 -04:00
Khushboo Mehta
d8e669d013 fix(@deaktop/chat): drag & drop to upload a file/picture is not working
Also checked and updated drag and drop feature to work in commmunities

fixes #3495
2021-09-15 16:07:30 -04:00
Andrei Smirnov
d159c0e61c feat(@desktop/deep-links): integrated deep links with single-instance IPC 2021-09-15 14:30:34 -04:00
Andrei Smirnov
10de9fc0c1 Rebased 2021-09-15 12:18:09 -04:00
Sale Djenic
a591e91a2e fix(@desktop/general): clicking push notification does expand the app but does not open correct channel/chat
Logic for adding os notifications for Windows and  MacOs added.

Fixes: #2996
2021-09-06 16:39:37 -04:00
Pascal Precht
88092e4966 feat(Communities): add support for drag reodering community categories 2021-08-26 15:39:39 -04:00
B.Melnik
a362efecf4 feat(Communities): implement drag and drop to reorder category channels
Closes: #2776
2021-08-26 10:53:57 +02:00
Andrei Smirnov
754e49bf0f fix(@desktop/communities): improve member list sorting 2021-08-20 14:56:00 -04:00
Sale Djenic
04ca90a7d0 fix(@desktop/general): Changing System Appearance on the fly is not working
App is responsive to the OS theme change event.
Now we're following system set theme when the app is started.

Corresponding part on the side on nimqml is added.

Corresponding part on the side on dotherside is added.

On the side of dother side we had kind of a memory leak, cause objects added to
the filter were not deleted ever. When the app is closing, it just removes
filters, but doesn't delete them.

I faced a logical issue, that we were sending qmlengine pointer to the
installEventFilter method, instead object which may or may not rely on the
qqmlengine instance, that is fixed also.

Fixes: #1725
2021-08-16 16:27:14 -04:00
Sale Djenic
662d20b7ac fix(@desktop/general): right click the icon on the dock and press quit doesn't quit the app (macos)
This issue is reproducible on the app only if you're not logged in yet.
The issue is fixed mostly on the side of dotherside.

Fixes: #3112
2021-08-16 13:35:58 -04:00
Andrei Smirnov
5a7aac0baf fix(@desktop): crash when transitioning from login|onboarding to the app state 2021-08-11 18:51:59 +03:00
Anthony Laibe
02f2789a23 fix(@desktop/communities): fix sharing community link
fixes #3165
2021-08-06 12:46:47 -04:00
Anthony Laibe
6b6ed734f6 fix(@desktop/onboarding): erase mnemonic when register with existing key
fixes #3089
2021-07-29 09:05:02 -04:00
Sale Djenic
c8e3fd8735 Added code to apply default language before qml is loaded. 2021-07-28 12:32:30 -04:00
Iuri Matias
4a5fff42cf fix(@core): issue #3006 fix for cpu usage issue 2021-07-27 17:03:20 -04:00