1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-13 12:05:22 +02:00
Commit graph

32 commits

Author SHA1 Message Date
Sébastien Blin
fe9745ce23 messagewebviewheader: clean code
+ Change name to ChatviewHeader as no webview
+ Avoid anchors hell and use a RowLayout

Change-Id: Iff4bbeabc70cfa496a7a208ee5da0c9ea1b6ff08
2021-10-06 15:51:59 -04:00
Trevor Tabah
2e67dc1bd8 chatview: replace web chat view with qml listview
Introduces a primitive QML ListView based chat view lacking
features present in the previous web chat view, that will be added
in subsequent commits(styling, preview/media/link/file-transfer
message type support, etc.).

Gitlab: #467
Change-Id: Iedc40f6172a6cdacc48cda6f4187053fbf226713
2021-10-06 15:51:20 -04:00
Andreas Traczyk
b334ed370b misc: bump QML modules versions to x.15
Change-Id: Ia80632cf2e217e8dd6844a6a8c0d0d8c0f6e1baf
2021-08-23 19:14:06 -04:00
Andreas Traczyk
a2b5e77568 misc: cleanup QML import modules
Change-Id: Ia344d9f57a216f2d27ef40153af2d6bd787bfb77
2021-08-23 19:12:02 -04:00
Andreas Traczyk
32ac718ef4 qmlengine: bump version to 1.1 for custom modules
Change-Id: I6e912c7a3dbba63f874b063770ba5c68a3f2de2f
2021-08-23 14:40:18 -04:00
Andreas Traczyk
db6c39cc4c chatview: hide the show plugins button for read-only conversations
Gitlab: #492
Change-Id: I4f5d0ed77dd8d2b4ed20af37525b9d33e967d649
2021-08-17 08:53:59 -04:00
Andreas Traczyk
2ea0a000e1 swarm: fix chatview ui state when selecting conversations
depends on: https://review.jami.net/c/ring-lrc/+/18979

Change-Id: Ic29e5a6f6eced04a095dd097352c37ca0b253eda
2021-08-09 16:59:22 -04:00
Andreas Traczyk
f42cd49c25 chatview: avoid drawing a duplicate id in the header
Change-Id: I88e37cac4bce5ba2b66ea7d35d54da84df7ecb86
2021-08-03 13:07:39 -04:00
Andreas Traczyk
f05ffbce44 swarm: prevent interacting with read-only conversations
Read-only conversation has:
- a lock icon in the smartlist item
- no message send bar in the chat view
- no call actions available from the chat view header
- no call actions available from the smartlist context menu
- no double click to call

Change-Id: I0497b94038b450f0a0a22fc007de1281b7b2214d
Gitlab: #475
2021-08-02 12:10:41 -04:00
Andreas Traczyk
1a61af02f3 resources: remove unused images and icons
gen-resources.py should be used to generate resources.qrc and
JamiResources.qml. Steps to add an image resource:
- add the resource file to the appropriate path under resources/
- run gen-resources.py
- use the newly available resource

Note: only icons and images will be represented by Qml properties.

The resource file generation may be made to run during CMake
configuration in a subsequent commit.

Some unused components were also removed during the refactor.

Gitlab: #477
Change-Id: I8e7f13d465031666be2bbadd5f29f9afc94d210d
2021-07-20 21:57:27 -04:00
Ming Rui Zhang
f8d5ab7fe7 messagewebview: chatview message bar qml replacement - logic completion
Functionalities checklist:
  1. Emoji picker refinement
  2. DropArea on messageWebView
  3. Record box
  4. Send message button visibility
  5. TextArea paste (can paste image, files directly)
  6. TextArea content draft
  7. TextArea - Enter key -> Send message
  8. TextArea - Shift + Enter key -> New line
  9. TextArea - Composing indicator
  10. TextArea - Placeholder text

Change-Id: I115ad2927b74264dd396aa55b77a8f003dcd746b
2021-07-09 12:04:32 -04:00
Ming Rui Zhang
14620f8bc8 messagewebview: chatview message bar qml replacement - ui
1. New emoji picker by customizing emoji.js
2. New message bar ui (textarea, buttons, tooltips)
3. New pending files transfer container
4. Use MaterialToolTip for all PushButton

Change-Id: I05d0531c65c019ced42b04668a780919c8a4fac3
2021-07-09 10:06:42 -04:00
Andreas Traczyk
83bb6fb082 conversations: refactor list reselection when making permanent
This should fix a race condition preventing the right conversation
from being selected after an outgoing interaction and, more rarely,
accepting an invitation.

Change-Id: Iccd1f91ba4d46285c2f1e4594122a736824b752f
2021-06-25 15:27:41 -04:00
Ming Rui Zhang
9568f1c9ab pluginadapter: add handler list count properties
All plugin buttons will be listening on these properties to
decide visibility or enabled

Change-Id: Id04f9b533e6aba26033c27a607fa531ce65ac588
2021-06-02 18:04:31 -04:00
Sébastien Blin
9fc13c7689 ui: update icons
Change-Id: Ib7e5758c8ce1e8122a7378d4ebed38e38f915ef9
2021-04-19 14:36:47 -04:00
ababi
61de0c4eef misc: follow chatview and side panel design changes
- Remove icons and resize side panel tab bar.

- Change icons and style for chatview header and combo box buttons.

- Update chatview colors.

Gitlab: #241

Change-Id: Ic5f4e0db5e1912c85cc4f658264371af8104cd8f
2021-04-19 14:36:32 -04:00
Ming Rui Zhang
fcb56bfb87 misc: qml module import clean up
The main reason for this change is to remove the misusage
of QQuick one in ElidedTextLabel and useless QQuick one
module import

Change-Id: Ie296c0f7a90c6ec26ab85bcf3d8b75393463fbed
2021-03-25 14:40:22 -04:00
agsantos
b55be608f3 settings: add always preference by handler
GitLab: #266
GItLab: #267
Change-Id: I0f2d31f9d5aebbbc645f4f85cad2ba5fdee45a79
2021-02-03 13:25:58 -05:00
agsantos
a5ec0c8e65 plugins: add ChatHandler API
Change-Id: I415fc953b9111ca7e3d899c1531a42bd43716ab2
2021-02-03 09:09:26 -05:00
ababi
7bd7b2e9ee misc: move JamiTheme and JamiStrings to net.jami.Constants namespace
Change-Id: Ief728a8bd36f6c29a906686988b28b0640b2065c
2020-12-07 17:02:00 -05:00
Sébastien Blin
56560914bf misc: add parametrizable colors for theme support
GitLab: #160
Change-Id: I44e7584af070fd355af623fe12433cdd68d32d30
2020-12-07 17:01:53 -05:00
Andreas Traczyk
5d8256fb9b misc: fix image button svg rendering and cleanup button components
- provides a base component for rendering scaled svg images
- simplifies the normal/hovered/pressed state transitions
- uses color overlay to factor out image source changes for
  checked states
- fixes sizing inconsistencies and visual bugs
- removes manual background color changes and minimizes the use
  of MouseArea components
- removes the unused HoverableGradienButton component

Gitlab: #14
Change-Id: I06357d3cc6d8d04d9d1f062753dc39223a64d4f6
2020-10-08 12:39:13 -04:00
ababi
95df47c717 misc: fix contact request UI issues
- switch between "conversations" - "invitations" smartlists according to call origin
- "Accept Request" button from msg's view header: hide on contact accepted, set on view load according to userType
- correct requests smartlist item selection on tab switch
- accept incoming call from pending contact makes conversation permanent

Gitlab: #74

Change-Id: Iadfef0d7e4032002d8007a4f18a9eae27f7ba230
2020-10-07 17:06:13 -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
ef776637ad callview: add hangup to context menu and icon change
- during a call context menu shows "hangup" and hides "clear", "remove", "block" and "start call"
- change start call and record call (context menu) icons

Gitlab: #104

Change-Id: I6c213b525fa6cd9d8063aae0065614c94d9e2209
2020-09-28 03:04:38 -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
Ming Rui Zhang
2cb4921779 messagewebview: change the incorrect usage of ElidedTextLabel
Change-Id: Ibeb097b4dae6b723329d46be030ef5546597518f
2020-09-18 17:31:20 -04:00
Ming Rui Zhang
b1a7ba7f5a messagewebview: adapt message webview header in different scale factor
Change-Id: I4cf7b16663b5bdbb3f0f095d61411f12b02707d1
2020-09-16 16:43:42 -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
ababi
0b68664220 conversations: support new APIs for user search
Gitlab: #4
Change-Id: I7570099c20d2d406e538aea4c366ba7d85777686
2020-08-25 09:35:39 +02: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