aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatPage.qml
Commit message (Collapse)AuthorAgeFilesLines
* Move notifications to own header fileMiquel Lionel2022-02-061-1/+1
| | | | | | | | - also make a skel for files in /usr/, useful for sounds and notifyrc - build.sh use plain simple cp -r to copy the skel. also copies the knotifications5 in the current directory for qml.qrc embedding in case the app is used on android.
* Implement notifications + "mute/unmute chat" menuMiquel Lionel2021-12-291-0/+2
| | | | | | | | | | | | | | | - Added icons: Pinned and muted chats have icons. It's from Twemoji font, I've added credits in the README.md and source code of ChatlistItem.qml. I prefer to rely on .PNG for this one because icon might not be installed or exist on the system, and we avoid the black box problem. - Modified CMakeLists: added KNotifications as a required library - Modified build.sh: I cannot comprehend how the install(FILES) function from cmake works, so I used good old install from GNU coreutils. It copies usr/ structure and needed files (.desktop and .notifyrc) for KNotifications to work. - Aesthetic changes: context menu is shorter now due to the text being state-aware. You can now also mute a chat so you won't be notified on incoming messages.
* Less clicks: focus compose pane on chat selection.Miquel Lionel2021-12-201-3/+1
| | | | | | | | | | | | | | | - Also we now use Enter to send chat, and Ctrl/Shift+Enter to add newlines. Updated the F1 help accordingly. - there was no way to refresh the message list until you clicked on the chat again, so I moved updateMessagelist() to trigger on every incoming message. We have working block mechanisms now, so it shouldn't be that much of a bother if someone spams you. - To speed up the delay between the UI displaying the message has waiting to be sent, upon sending a message, the startIo() function is now triggered.
* GIFs, display names on every message and morelink2xt2021-10-311-0/+7
| | | | | | | | | | | | | | | | | | | - now we can view animated gifs ! - name are displayed on top of every message type (not just text messages and audio messages) This avoids some confusion in whether a message has been sent by us or not. - we fix the warnings of NON-NOTIFYABLE properties being used by adding one Q_PROPERTY: fileReadOnly, so we can use it to get the filename and not be bothered by console warnings. - we add some variables in Message.qml because some values were repeated and made more sense to put in a readonly var (maxH and maxW). - make scrollbar visible on hover. # Conflicts: # qml/ComposePane.qml
* Fix QML code stylelink2xt2021-10-021-52/+42
| | | | Mostly qmlformat, also rename root "id"s.
* Accept and reject contact requests in the compose panelink2xt2021-08-281-14/+1
|
* dc_unblock_chat() is replaced with dc_accept_chat()link2xt2021-07-261-1/+1
|
* Get rid of the contact requests chatlink2xt2021-07-261-1/+15
|
* Reference ListView from ChatPage instead of Messagelink2xt2021-06-271-0/+1
|
* ChatPage: update when DC_EVENT_MSGS_CHANGED is reported for chat ID 0link2xt2021-06-061-1/+1
| | | | | 0 means multiple chats have changed, for example when a message is moved from contact requests to its own chat.
* Use Kirigami.Units.largeSpacing for spacing between messageslink2xt2021-06-061-1/+1
|
* Move fillWidth from ComposePane to it's instance at ChatPagelink2xt2021-03-221-0/+1
| | | | ComposePane is not necessarily placed into Layout.
* Move ComposePane to separate QML filelink2xt2021-03-201-37/+4
|
* Remove padding from message compose arealink2xt2021-03-201-0/+1
|
* Replace TextField with TextArea to allow sending multiline messageslink2xt2021-03-201-1/+1
|
* Fix some `qmllint -U` warningslink2xt2021-03-191-1/+1
|
* Mark displayed messages as seenlink2xt2021-03-191-1/+4
|
* eventemitter: remove useless incomingEvent signallink2xt2021-03-191-3/+0
|
* ChatPage: specify onIncomingMessage argumentlink2xt2021-03-191-1/+1
| | | | Otherwise chatId is compared to itself
* Fix some qmllint warningslink2xt2021-03-191-4/+4
|
* Use Connections to connect signals in QMLlink2xt2021-03-191-26/+18
|
* Pass context and eventEmitter to ChatPage as propertieslink2xt2021-03-161-0/+3
|
* Turn ChatPage and ChatlistPage into scrollable pageslink2xt2021-03-021-3/+1
| | | | This removes unnecessary padding between the window boundary and the scrollbar.
* ChatPage.qml: make chatId a required propertylink2xt2021-02-271-1/+1
|
* ChatPage: fix displayed chat namelink2xt2020-10-281-1/+1
|
* Reduce QML version requirementslink2xt2020-10-061-3/+3
| | | | Now KDeltaChat runs on openSUSE Leap 15.2
* Initial commitlink2xt2020-10-031-0/+156