Nicolas Werner
d941974e35
Simplify logic to suppress wheel events
3 years ago
Malte E
af8fbb990b
remove reparenting
3 years ago
Nicolas Werner
46fbb0e749
Use ListView without scrollview for messages
...
That way we can autohide the scollbar if needed, it should fix some
jumping issues, it makes it possible to flick on mobile, etc.
Some related bugs:
https://bugreports.qt.io/browse/QTBUG-75223
https://bugreports.qt.io/browse/QTBUG-44902
3 years ago
Malte E
c405eddea6
actually fix awkward message spacing
3 years ago
Malte E
a3fcb4d990
fix awkward message spacing
3 years ago
Malte E
144e7cd038
make search usable on mobile
3 years ago
Malte E
8fede53c82
let labels wrap and collapse below the back button
3 years ago
tastytea
624da5e028
Make hover highlight fill the full width of the timeline
...
Rows in the message bubble design are only as wide as the bubbles. This
lead to invisible hover highlight. Now it's consistent.
3 years ago
Nicolas Werner
0629ea5932
Always enable hover for ItemDelegate
3 years ago
Nicolas Werner
c0f415238d
Fix images without size not showing (take5)
3 years ago
Nicolas Werner
c310e6f35c
Fix hover highlight when hovering hover menu
...
fixes #941
3 years ago
Nicolas Werner
d330fdb61f
Fix hovering messages
3 years ago
Nicolas Werner
e077bdbdd5
Allow window sizes smaller than 400x400
3 years ago
Malte E
1cc4f76998
fix overlap in NoticeMessage
3 years ago
Malte E
e69f0fe960
don't mess up old layout
3 years ago
Malte E
6f3ed5b282
space-saving metadata placement
3 years ago
Nicolas Werner
1df1b5037e
Fix second codeblock not wrapping
3 years ago
Nicolas Werner
297c819bf0
Fix padding in redactions
3 years ago
Malte E
ddf11d9a8c
improve spacings
3 years ago
Malte E
ce13ccd677
fix redactions line-wrapping
3 years ago
Malte E
414257bf0e
fix bugs found by Nico
3 years ago
Nicolas Werner
6e1ac16f61
Fix overlapping offline indicator
3 years ago
Malte E
993b0ae721
fix vertical space for some state events
3 years ago
Malte E
987b9bed6b
add small avatars option and tweak colors and spacings
3 years ago
Nicolas Werner
47b822604d
Hidden events: Refactor slightly for reusability
3 years ago
Malte E
894438c6ce
place own bubbles on right and remove user info
3 years ago
Malte E
d0ac110cb7
Fix layout - no more binding loops (hopefully)
3 years ago
tastytea
72cfb06208
Hidden events: Some cleanup
3 years ago
tastytea
49b313e3b8
Hidden events: Make save-function reusable for global account data
3 years ago
tastytea
f7ca41bc49
Hidden events: Change title and prompt depending on isRoomSetting
...
We would have to set text and title separately otherwise.
3 years ago
tastytea
f0bb64030e
Hidden events: Incorporate suggestions from review
...
- Set TitleHint flag on dialog
- Store hidden events as QSet<QString> instead of std::vector<bool>
- Change wording in dialog (disable events instead of turning the hiding
on)
3 years ago
tastytea
d4cc3507f8
Hidden events: Enhance tooltips
...
Shorten tooltip for power levels, expand tooltip for user events.
3 years ago
tastytea
5cd3e61cb0
Add GUI to change hidden events per room
...
This adds a dialog to the room settings in which the user can choose
which of these three event types they want to hide (additionally to the
default):
- m.room.member
- m.room.power_levels
- m.sticker
The current state is read when room settings are opened and saved when
new settings are accepted.
3 years ago
Malte E
0e548b7d39
fixed most of the binding loops
3 years ago
Malte E
5db7ec7f03
Variable width bubbles (still has binding loop)
3 years ago
Malte E
e290f9938a
Update resources/qml/delegates/Reply.qml
...
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
3 years ago
Malte E
12d600db97
add translations and actually add changes to TimelineModel
3 years ago
Malte E
384c9c91e3
print state events without bubbles, displaynames or avatars and in a smaller font
3 years ago
Malte E
9d194cc2e6
clean up margin setting
3 years ago
Malte E
f5a693ac03
place metadata below message when the Layout is narrow (<350)
3 years ago
tastytea
9836443d26
Add maximum width to room name in user profile
...
Layout is: spacing | text | spacing | button | spacing
Therefore we subtract 3x spacing and 1x button(16) from width.
3 years ago
tastytea
721c315be2
Add maximum width to user name in profile
...
Layout is: padding | text | margin | button | padding
Therefore we subtract 2x padding, 1x margin and 1x button from
width. And an extra button for some reason. 🤷
3 years ago
tastytea
2815ad0408
Fix width of room name to dialog width
3 years ago
Malte E
3f7c15c7af
Add message bubbles
3 years ago
Malte E
3c8c02e802
Revert removal of width and height in TextMessage and implicitWidth in MessageDelegate
3 years ago
Nicolas Werner
7b00411dc4
Show widgets as links
3 years ago
Loren Burkholder
9d3d85c5c2
Use different height setting
3 years ago
Malte E
04b47d6882
prepare code for message bubbles and dynamic message layout
3 years ago
tastytea
eb13bed201
Clear search text in StickerPicker when the popup closes
...
Same as emoji picker.
3 years ago
Loren Burkholder
5bed3684ec
Add offline indicator ( #472 )
3 years ago