1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-23 00:45:29 +02:00
Commit graph

43 commits

Author SHA1 Message Date
Ming Rui Zhang
a8b0adbef7 mainview: code optimization for page on stack view checking
Change-Id: I8ff7122a430b73f1c5626ae931f13f5a4ffe242a
2020-10-07 17:06:13 -04:00
Andreas Traczyk
3da2361c86 mainwindow: include "beta" in app title
Change-Id: Ie22e7bcadc0f0a19a0050670bc087d761acba5a9
2020-10-02 17:00:35 -04:00
Ming Rui Zhang
eac59e5294 mainview: prevent showing of accountComboBox when pushing chatview onto sidepanel
Change-Id: Ifb6c321dffb90aed3e39f0ffb6426a79a00300b1
2020-10-02 13:43:46 -04:00
Ming Rui Zhang
4ec1807512 mainview: make ambiguous shortcuts activate
For hang up call shortcut, use onActivatedAmbiguously since
we have two existences.

Gitlab: #126
Change-Id: I46167b95212821c88651a06700013aeec38a96a3
2020-10-02 13:43:46 -04:00
Andreas Traczyk
3ef4d3ddb1 smartlist: always refocus to chatview when showing a conversation
Gitlab: #116
Change-Id: Ibf2fdf3eeeb2e36c08450ef99ac42ca48913a0ed
2020-09-30 15:51:29 -04:00
Andreas Traczyk
8a064c3a64 chatview: acquire message input focus when selecting conversation
Change-Id: I0f4ad161f0f05959c4f5a312e92f256b56c9fd57
Gitlab: #107
2020-09-29 16:34:08 -04:00
ababi
3a023b0775 misc: avoid unnecessary signals for contact request
- avoid "needTo" signal/slots and unnecessary propagation loops

Gitlab: #86
Gitlab: #88

Change-Id: I25a373b4e02f53502fdc302602ffcc7117b4b97a
2020-09-29 12:32:34 -04:00
ababi
d056f56c5e misc: set UI on wizard exit
- switch to welcome view or call view when exiting wizard

Gitlab: #105
Change-Id: Ib6c334b7297b17d92e9292ffb454f6430b3e7034
2020-09-29 12:32:34 -04:00
ababi
a737855426 misc: refactor account change
- UI sensitive to currentAccountId property, remove getCurrAccId from UtilsAdapter
- centralize signals / functions at MainView and avoid unnecessary propagation between modules
- name revision (avoid syntax such as "needTo" or "slot..")

Gitlab: #85
Gitlab: #86

Change-Id: Ie4060df4b64990bdd3f412d0e491080a4cd20092
2020-09-25 14:49:10 -04:00
ababi
95146f97b3 misc: avoid unnecessary signals for WelcomeView
- centralize signals / functions at MainView when switching back to welcome view
- avoid unnecessary signal propagation between modules
- avoid names such as "needTo"

Gitlab: #85
Gitlab: #86

Change-Id: I121cbc12a83db269df4329a2690f5cedaa0534d5
2020-09-24 12:53:51 -04:00
ababi
9d8fd5da04 misc: avoid duplicate account combo box refresh
refresh is already performed on property change

Change-Id: I274d22e131e628db40f6a91c425fc72369310117
2020-09-23 13:45:47 -04:00
ababi
f38b0b527f settings: avoid race condition
fix inSettingsView flag toggle avoids infinite loops when coming back from settings
menu with an incoming call

Gitlab: #89
Change-Id: I54e0bdd4b437a9aee4f0575010e889bf891c287c
2020-09-18 18:36:07 -04:00
Ming Rui Zhang
c4e6af3607 settings: do not change window size when exceeding the minimum size
Gitlab: #93
Change-Id: I6bab91cf691cba40095ec8a8571c0e3b3772192c
2020-09-18 18:33:18 -04:00
ababi
cc61e2c576 misc: update view on contact banned
- use of specific MessagesAdapter::blockConversation function
- signal contactBanned subscription
- fix missing string

Gitlab: #82

Change-Id: I5e35d0939f8a5f23208f91f19bbb9cc2047b33b4
2020-09-18 14:44:08 +02:00
Ming Rui Zhang
3409d00193 dialog: remove MessageDialog to jami customized style
Change-Id: I67230d9395a1f25214692a24f099d4306b6b1dc9
2020-09-17 17:33:33 -04:00
Andreas Traczyk
87a4602b9a notifications: implement incoming message notifications
- Note: adds forcing the main window to the top to overcome a
  Qt/QML bug which prevents this from working when activating
  from a notification window source.

Change-Id: Ib5a93d3937fe5a4de0229f7aeae8469d1ffdfba3
2020-09-17 17:32:40 -04:00
ababi
6e43a456fd dialogs: migrate dialogs to native-style
Gitlab: #20
Change-Id: I05358244ad9cae5d335934a2947c18de6d79683e
2020-09-16 17:55:55 -04:00
Ming Rui Zhang
d84144c74c settings: make settings page align in center when the window grows
Change-Id: I87b731f754762b78fc13257a0a9aede0bd8c034c
2020-09-16 16:43:26 -04:00
Ming Rui Zhang
4e01784158 mainview: change settings responsive behavior and stacklayout page arrangement
Change-Id: I3f7e2050be74cd8cc9f6d732cc96b0f218cd1676
2020-09-16 16:40:40 -04:00
Ming Rui Zhang
a79bf21a27 misc: resolve qml warnings present on application start
- Resolves a portion of the warnings present prior to navigation
  or resizing.

Gitlab: #5
Change-Id: Ifa843d7613ddcca562256399a977c2eec62df404
2020-09-15 15:28:26 -04:00
ababi
be70e36bf7 mainview: call flow review
- incoming / outgoing call UI management
- add system native notifications
- incoming call page same model as outgoing
- UserInfoCallPage is used to display common information for incoming / outgoing calls

Gitlab: #32
Change-Id: If33196a30c51698b4edad55cb8f718066034e422
2020-09-14 11:04:21 +02:00
Andreas Traczyk
ae058405a5 qml interop: remove clientwrapper
The clientwrapper class masks granular object registration within
qml, and encourages code duplication between viewmodels(adapters)
and code lasagnafication and the misuse of declarative Qml.

Change-Id: I85fef214363e62e54fc0681282323ea4861000d6
Gitlab: #66
2020-09-10 14:55:07 -04:00
Andreas Traczyk
88816940fb qml interop: refactor and remove utilsadapter from clientwrapper
- Separate utilsadapter into files and expose it to Qml so it can
  be used without passing through clientwrapper.

Change-Id: I7c351d7191cd166521b6e0a685ea9d4a9731f165
Gitlab: #66
2020-09-10 14:54:58 -04:00
agsantos
c5687508cd settings: code clean up
Correct Layout and Anchors emplacement
Erase inutile code
Fix binding loop warnings
Replace magic numbers by JamiTheme values
Remove multiline comments from qml files

Change-Id: Icdde094750ccc39fa3b3c9fb9368f8609eb8981d
Gitlab: #5
2020-09-10 13:00:40 -04:00
Andreas Traczyk
eb53a622b7 qml interop: start replacing QMetaObject::invokeMethod with signals
It seems concurrent calls to invokeMethod using qml component
object pointers can lead to access violations. These method
invocations can be replaced with a signal/slot mechanism.

This patch replaces only the invocations in conversationsadapter
and accountsadapter that are known to be problematic for now.

Some code cleanup is done for QmlAdapterBase derived classes.

Gitlab: #61
Change-Id: I72f47c9229a9bf42299ae52822c3a1a8c04eb423
2020-09-03 16:25:59 -04:00
Sébastien Blin
0dd3a39721 conversationsadapter: do not listen to signals when in settings
Change-Id: Iba3e67431c817362c3242af9d56c8985c2e62534
Gitlab: #21
2020-09-03 13:59:50 -04:00
Sébastien Blin
214d9add58 shortcuts: re-add shortcuts and shortcuts view
Gitlab: #2
Change-Id: Ic04fe6f2dfd01c561799d1707601b48058a9c89c
2020-09-02 12:03:58 -04:00
Sébastien Blin
acb1cf0c00 settingsview: fix alignments and homogeneize items
Change-Id: I8ea60715a14b481da5c4d4d0078dc8de7df28eec
2020-09-01 15:03:32 -04:00
Ming Rui Zhang
e5a75ad7e7 mainview: add account presence cycle to account combo box delegates
Make account presence cycle a component, and remove redundant
update function

Gitlab: #23
Change-Id: I93cb37f2886da2e8e5e41d4c97ce054497e4e399
2020-09-01 14:57:23 -04:00
Sébastien Blin
59c8eadb8a recordbox: move to correct position
Change-Id: Ic5bad27e2d20f6c84b1defe4c37c0328000bb1af
Gitlab: #26
2020-08-31 15:28:14 -04:00
ababi
76b94aac11 mainview: get call state from API's enumeration
In order to make it work with the translations, call status is no longer passed as a string but as an integer (from enum lrc::api::call::Status).

Gitlab: #10
Change-Id: If8d8b7093fbf82e9b7732e6991eec647ad0d50b7
2020-08-31 15:18:27 -04:00
Ming Rui Zhang
a70e13082f wizardview: temporary fix for page arrangement when deleting the last account
When deleting the last account, wizard view's page can be incorrect
if the user has created an account before.

Gitlab: #43
Change-Id: I82055456a9df608d88b81fc51049b0623c6d0a35
2020-08-28 13:31:26 -04:00
Ming Rui Zhang
b07f7afe92 mainview: fix crash when deleting account
Fix the deletion crash issue and remove redundant account changed
signals.

Gitlab: #17
Change-Id: I1858fa051fd5171e1261dbc35d361631dc3ea01d
2020-08-28 12:35:26 -04:00
Sébastien Blin
a84e5fdbdc welcomepage: re-add credits + changelog
Change-Id: Ib253521997c3271885f83c628e918bb26ae61a2c
2020-08-28 11:19:36 -04:00
ababi
69f5dfcd2a mainview: fix account selection
- avoid duplicate call of LRC's setTopAccount()
- welcome view displays always the first account on the list, so passing the index is not necessary
- conversationsadapter and messagesadapter no longer listen to currentAccountChanged signal since there is a specific function for the setup

Gitlab: #12
Change-Id: Iac932d2596bf59c7528d83be799342ccefeea6b0
2020-08-27 18:51:06 -04:00
ababi
adc78a8045 mainview: fix crash when call is declined or hanged up
deleted unused calls to getCallId with empty id's

Gitlab: #30, #33
Change-Id: Id26b883907c6dd1e03ac9c12e7ebf8a8c8c2711b
2020-08-27 09:27:25 +02:00
Sébastien Blin
8cb4e442d9 mainview: fix side panel size
Change-Id: I414b8f2f482f4fef436156be1d3edd538ff36c06
2020-08-25 17:29:05 -04:00
Sébastien Blin
c75335fee1 wizardview: redesign
Change-Id: If0a3d896b35385f24c9d04b67b12146febfff7c2
2020-08-25 16:44:39 -04:00
ababi
6fa0861fbd settingsview: redesign UI
Gitlab: #3
Change-Id: I382bc51b78cb5aff45e7dad008c97368494780d8
2020-08-21 13:19:58 -04:00
ababi
a284cae16d mainview: account combo box visible from settings menu
Change-Id: I8eafea9d1cf07a11a8780f8d2f3495480b2360ed
2020-08-20 10:41:13 -04:00
Sébastien Blin
8940f3c46e callview: redesign
Change-Id: I8ce1e02be798104aaca9d09d9dc5d931133ada6d
2020-08-18 14:15:14 -04:00
ababi
df651a2486 mainview: improve UI theme
- SmartList menu
- SideView/CallView separator width
- AccountComboBox
- UserProfile
- WelcomeView
- Rescale RecordBox

Change-Id: I5bb75bddcd49c5ff8b48ee9568942df015292e14
Gitlab: #574
2020-08-13 09:09:49 -04:00
Sébastien Blin
1f91576a0b
client-qml: add initial commit
Change-Id: I32bfdd2a618aa7ac6181da2697e241667b010aab
2020-08-03 13:27:42 -04:00