Commit graph

58 commits

Author SHA1 Message Date
Nicolas Werner
c793506dc4
fix click to go to reply after merge 2023-10-10 01:01:37 +02:00
Nicolas Werner
3a0d5788e1
Merge branch 'delegate-rework' 2023-10-10 00:33:39 +02:00
Nicolas Werner
c4d2ec875d
Fixup reply and state event rendering 2023-10-08 23:52:23 +02:00
Nicolas Werner
6c6370c83f
Switch to manual polishing of event delegates 2023-10-08 20:14:13 +02:00
Loren Burkholder
879ef31fcf
Qt 6.4 properly supports scrolling text with touch 2023-09-30 10:26:45 -04:00
Nicolas Werner
184806bf71
Move message styles to their own files and work around hover not propagating to siblings 2023-09-20 02:17:20 +02:00
Nicolas Werner
eab8731f5b
Port state events and images 2023-08-25 19:03:15 +02:00
Nicolas Werner
76b40f452b
Working text messages in delegate rework 2023-08-25 19:03:14 +02:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
2cb04fd741
Remove explicit link styling 2023-06-18 22:33:24 +02:00
Nicolas Werner
04cbbd2837
Replace some binding loops with others 2023-06-08 22:32:14 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
Nicolas Werner
d0d33660ba
Cleanup table rendering
fixes #1406
2023-03-09 21:08:18 +01:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
15d7a2f021
Make code tags preserve whitespace 2023-01-22 17:36:23 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Nicolas Werner
12da7bd08c
Enable spoilers in replies 2022-09-11 00:29:23 +02:00
Nicolas Werner
08b304eccf
Break http images and implement barebones spoiler support when not in mobile mode
see #1042
see #483
2022-08-17 01:35:40 +02:00
Nicolas Werner
c21711830f
Fix pinned messages getting clipped 2022-04-24 16:37:35 +02:00
Malte E
f66ec626f0 fix tapping messages, fix pressandhold/doubletap on touch 2022-03-28 20:22:58 +02:00
Malte E
6f3ed5b282 space-saving metadata placement 2022-02-14 21:07:03 +01:00
Nicolas Werner
1df1b5037e
Fix second codeblock not wrapping 2022-02-14 16:47:27 +01:00
Malte E
993b0ae721 fix vertical space for some state events 2022-02-13 13:27:31 +01:00
Malte E
3c8c02e802 Revert removal of width and height in TextMessage and implicitWidth in MessageDelegate 2022-02-04 21:20:25 +01:00
Malte E
04b47d6882 prepare code for message bubbles and dynamic message layout 2022-02-03 20:26:20 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
750c64f323
Get rid of some useless code 2021-12-31 00:48:55 +01:00
Nicolas Werner
ad1e6c8298
Support bootstrapping crosssigning
Showing the bootstrap state and showing there are unverified devices is
still missing.
2021-10-09 05:01:53 +02:00
tastytea
c122915c28
Decrease left margins on blockquotes to 1em.
It is intentionally impossible to add borders to blockquotes via CSS:
<https://bugreports.qt.io/browse/QTBUG-23244>.

Bug: https://github.com/Nheko-Reborn/nheko/issues/704
2021-09-04 17:45:22 +02:00
resolritter
3f8bb19ba1 right-click tap handler for replies 2021-08-31 16:45:44 -03:00
Nicolas Werner
bd26624ed8
Prepare for reuseItems in timeline
The actual reuseItems is still blocked on a few upstream bugs.
2021-07-12 00:24:33 +02:00
Nicolas Werner
1da3f2e1da
Add ugly borders to tables 2021-06-08 22:21:29 +02:00
Nicolas Werner
e2765212fb
Reimplement room context menus 2021-05-28 17:25:46 +02:00
Nicolas Werner
39a43ad4ab
Reorganize TimelineView to prepare porting the room list 2021-05-14 15:23:40 +02:00
Nicolas Werner
a7f8b23b52
Make palette global in Qml 2021-05-13 08:23:56 +02:00
Nicolas Werner
2d678bdcf6
Allow copying messages via right click
fixes #291
2021-04-29 23:38:45 +02:00
Nicolas Werner
c03f716e8b
Fix conflict between qmlformat and license check 2021-03-07 05:57:56 +01:00
Nicolas Werner
bb6ff8cec8
Show mxid on hovering username
fixes #507
2021-03-07 05:53:54 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Nicolas Werner
d43607d01c Fix hover handling in the timeline 2021-02-14 01:28:28 +01:00
Nicolas Werner
e2fc676c77 Revert keeping whitespace in html, it breaks lists 2021-02-12 18:22:41 +01:00
Nicolas Werner
97688763f6 Background color for code and don't collapse space in timeline 2020-12-14 02:21:58 +01:00
Nicolas Werner
e959443831 Speed up rendering the timeline by a LOT by reducing clipping
Sadly still required for replies, otherwise this would be perfect.
2020-10-22 21:02:39 +02:00
Nicolas Werner
1a029112d9 Lint qml with qml-format 2020-10-08 21:11:21 +02:00
Nicolas Werner
4862be06be Fix presence indicator 2020-07-30 22:10:27 +05:30
Nicolas Werner
fdcf91f5eb Fix binding loop and non integer text height 2020-07-25 22:08:02 +02:00
Nicolas Werner
f452bdf2b0 Make settings update immediately in qml and allow limiting timeline width
Limiting improves readability on wide monitors.

The immediate update of the settings is done by just exposing settings
as properties and then setting the settings as a context property.
2020-05-26 22:54:51 +02:00
lkito
d8b89e2ef0 Added an optional feature to show bigger emoji-only messages with 3 or less emoji 2020-05-21 16:31:27 +04:00
Nicolas Werner
004d10bfee Clip replies by default
In the future we should probably add a gradient when clipped...
2020-05-13 01:09:45 +02:00
Nicolas Werner
b1eff0a37f Improve link theming 2020-02-27 00:34:58 +01:00