Nicolas Werner
5af6f6528b
Use fetchMore for native lazy loading of item model data
5 years ago
Nicolas Werner
946ab4d0f2
invert timeline
5 years ago
Nicolas Werner
dee49508de
Simplify scroll logic
5 years ago
Nicolas Werner
8c44c5e2d0
Change scroll behaviour of timeline
...
This requires Qt 5.9 (to calculate overshoot).
The default scroll behaviour of list views has far too much inertia.
This should make scrolling feel more like scrolling the other scroll
areas of nheko.
5 years ago
Nicolas Werner
05aa7f948a
Try to fix binding loop warning
5 years ago
Nicolas Werner
6c2ec3fe67
Rename qml namespace from com.github.nheko to im.nheko
5 years ago
Nicolas Werner
9fd279c020
Show encryption enabled and use a non zero size for zero size vide
5 years ago
Nicolas Werner
c424e397b0
Add loading spinner and restore message send queue
5 years ago
Nicolas Werner
2bfb885b47
optionally use QQuickWidget and replace ColorOverlay -> colorImageProvider
5 years ago
Nicolas Werner
993926e189
Make user clickable and improve button cursor look
5 years ago
Nicolas Werner
4f7a45a0a6
Improve avatar look and layouting
...
Thanks to red_sky for the feedback!
5 years ago
Nicolas Werner
2055c75f8b
Organize qml files a bit
5 years ago
Nicolas Werner
3d6f502bcc
Incubate delegates asynchronously
5 years ago
Nicolas Werner
c8f97216fa
Small fixes to delegate chooser implementation
5 years ago
Nicolas Werner
c37495fae2
Use a basic implementation of a DelegateChooser for compat with older Qt
...
The interface is taken from Qt/KDE, but the implementation is different,
because the Qt implementation depends on some Qt internals.
5 years ago
Nicolas Werner
cff46d97a8
Add native themeing to QML (where possible)
5 years ago
Nicolas Werner
a83ae7e95f
Fix section layout issues and pagination issues
...
Pagination could get stuck, if the messages request failed.
Section height seemes to have been calculated to late, which would make
some section overlap the next message in some cases. Fix that by doing
the height calculation manually.
5 years ago
Nicolas Werner
0fd2199112
Load content if no scrollbar is needed
5 years ago
Nicolas Werner
d90038cf20
Misc layout fixes
5 years ago
Nicolas Werner
b9076c5c4d
Try out DelegateChooser
...
requires Qt5.12+
5 years ago
Nicolas Werner
489165d579
Lower requirement on QtQuick.Layouts version
5 years ago
Nicolas Werner
e196450428
Use QtQuick.Controls compatible with Qt 5.8
5 years ago
Nicolas Werner
425d534e22
Enable Sticker and Emote messages
5 years ago
Nicolas Werner
67d255a2de
Add basic video messages
...
Size is fixed for now, otherwise the Video output ends up somewhere...
5 years ago
Nicolas Werner
ea98d7b2ae
Add simple audio message widget
5 years ago
Nicolas Werner
a8166462ad
File messages (qml)
5 years ago
Nicolas Werner
aee29c6ed5
Reenable redactions
5 years ago
Nicolas Werner
e2d733a01a
Restore saving of media
5 years ago
Nicolas Werner
82091999c4
Add lock to encrypted messages
5 years ago
Nicolas Werner
c8315d792b
Make avatar in timeline smaller
5 years ago
Nicolas Werner
d34067a257
Enable read receipts action and sync read receipts from cache
5 years ago
Nicolas Werner
240b3a566b
Add send/received indicator
5 years ago
Nicolas Werner
5200db17e9
Implement basic placeholder and disable unimplemented event types
5 years ago
Nicolas Werner
d1fffd6617
Implement simple scroll state handling
5 years ago
Nicolas Werner
62d0cd74da
Implement replies in qml timeline
5 years ago
Nicolas Werner
a1c97fc8d6
Show redactions in qml timeline
5 years ago
Nicolas Werner
7aca8a9430
Reenable view raw message
5 years ago
Nicolas Werner
86f4119a05
Implement basic ImageMessages in qml timeline
...
I suck at sizing so the images in the message are currently hardcoded to
300 pixels in width...
5 years ago
Nicolas Werner
ebeb1eb772
Implement avatars in qml timeline
5 years ago
Nicolas Werner
7947ba57cc
Make reply and options buttons smaller
5 years ago
Nicolas Werner
8727831de7
Fix QML emojis
5 years ago
Nicolas Werner
bbbd5df75f
Use system colors for now
5 years ago
Nicolas Werner
34f5400e99
Implement TextMessage delegate
...
Text selection over multiple items doesn't work yet
5 years ago
Nicolas Werner
56e27ced25
Format date (close to) the old way in qml timeline
5 years ago
Nicolas Werner
ccedbde38b
Add avatar placeholder and scrollbar to qml timeline
5 years ago
Nicolas Werner
2dd636456c
Add basic sections and button placeholders to qml timeline
5 years ago
Nicolas Werner
699fd7b38e
Implement loading of history, when timeline is displayed
5 years ago
Nicolas Werner
47fbfd3f44
Add items to timline
5 years ago
Nicolas Werner
8b5c7b2f2f
Add placeholder timeline model
5 years ago
Nicolas Werner
8e611abe87
Replace timeline with empty qml view
5 years ago