Tobias Fella
c3ee277ede
Fix opening room using touch
...
The previous fix wasn't enough for non-mobile touch devices. Now, we limit the TapHandler to mouse instead
2022-07-13 14:59:16 +02:00
Tobias Fella
78d62e9376
Revert "Disable opening context menu by right-clicking on mobile"
...
This reverts commit 51efecaa25 .
2022-07-13 14:55:55 +02:00
Tobias Fella
51efecaa25
Disable opening context menu by right-clicking on mobile
...
Apparently TapHandlers interpret a tap as a right click, which causes rooms to not open reliably
2022-07-11 12:41:27 +02:00
Tobias Fella
2bcd7118f4
Ensure that text isn't formatted in context menu
2022-07-09 23:01:13 +02:00
Tobias Fella
e0df553a72
Remove unused imports & includes
2022-07-08 13:16:07 +02:00
James Graham
9c2e0669f6
Fixe Reply or Edit from Chatbar
...
Fixes it so that the cleaned text is shown when using the shortcuts to reply or edit from the chatbar. Also ensures that the correct eventids are passed when the message is an edit.
This also fixes the issue of having html pasted into the chatbar when editing and edit.
Fixes network/neochat#448
BUG: 455016
2022-06-14 13:47:13 +00:00
Jan Bidler
b44e81c849
Make Right Click on Room bring up Context Menu
...
BUG: 454892
2022-06-07 08:42:39 +00:00
Tobias Fella
8700611235
Fix hoverActions
2022-06-04 20:32:49 +02:00
James Graham
10da870ab3
Fix search item being behind the roomlist in collapsed mode by moving code into ListView. Now the search item is always at the top of the list.
2022-05-15 14:17:38 +01:00
James Graham
cef5d11130
Fix scrollbar behaviour in Room List
...
In the Room List there is always a gap left for the scrollbar in normal mode whether it is visible or not. This commit makes the gap disappear when the scrollbar is not visible by using the verticalscrollbarpolicy of the scrollpage.
Fixes network/neochat#518
2022-05-12 19:16:40 +00:00
Tobias Fella
f381cc4623
Close WelcomePage after account is loaded
2022-04-09 19:47:36 +02:00
Tobias Fella
7362b90c42
Don't try to load more messages than there are in the timeline
...
The function call from qml is removed because it is redundant
2022-04-08 18:44:30 +00:00
Snehit Sah
9a5f2e4938
Show subtitle text without markdown
...
Create new role in RoomListModel to send back cleaned subtitle text
2022-03-31 17:39:34 +00:00
Tobias Fella
62f6cfbf9a
Force RoomListDelegate to use plaintext
...
Text.AutoText isn't robust enough to handle this
2022-03-08 14:45:33 +01:00
Tobias Fella
9252e0e65e
Disable the BusyIndicator
...
For some reason having the busyindicator running increases the time
required to load the state cache by several orders of magnitude
2022-03-01 12:18:07 +00:00
Carl Schwan
80ee5e9356
Apply 1 suggestion(s) to 1 file(s)
2022-03-01 00:29:07 +00:00
Tobias Fella
be802a28c2
Make invitation notifications persistent
2022-03-01 00:29:07 +00:00
Tobias Fella
db8b2fd64b
Aggregate similar state events
2022-02-25 20:10:07 +00:00
Jose Flores
fdfbbb1b04
Uses the formatted message to enable clickable links for mobile.
2022-02-19 14:30:16 +00:00
Carl Schwan
ca8a21c0eb
Implement sharing with Purpose (export)
...
This provide both a mobile and desktop view
Fix #181
2022-02-05 16:30:02 +00:00
ivan tkachenko
3e6f38c8ea
Use ellipsis in «Loading…» strings
2022-02-04 20:59:17 +03:00
Tobias Fella
a6ab447955
Implement adding labels for account
...
This gives the user the ability to label different account (e.g. "work",
"private") and shows this label in the account switcher. Showing the
label in more places will be done in future MRs.
The label is stored in the user's account data and thus transfers
automatically to other instances of neochat
2022-01-31 22:45:17 +01:00
Carl Schwan
67bc66ee0c
Allow using ESC to go back to room list
...
Fix #392
2021-12-25 18:12:13 +00:00
Tobias Fella
0c5932b3da
Use a reasonable role for message source
2021-12-15 01:03:05 +01:00
Tobias Fella
599ab11656
Refactor delegates
2021-12-14 22:27:29 +00:00
Tobias Fella
ff707b7a58
Remove dead code
2021-12-14 16:48:42 +01:00
Carl Schwan
6e1c07047e
Add a mobile oriented context menu for the room list
...
It works similarly as in the timeline with a bottom based drawer on
mobile and a normal context menu on desktop
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2021-12-12 22:09:46 +00:00
Carl Schwan
bf08303a8e
Fix glitch in timeline scrolling
...
Turnout that reuseItems with loader and dynamically sized items is not
great.
2021-11-19 22:52:51 +01:00
Tobias Fella
c81ca6f8bb
Set the height of statedelegates
2021-11-16 00:45:42 +01:00
Carl Schwan
46e1e64ee1
Improve source menu
2021-11-14 19:35:00 +00:00
Tobias Fella
8089e5bdfa
Fix pagestack after login after logout
2021-11-12 16:21:48 +01:00
Tobias Fella
d494eb1c63
Use Quotient's accountregistry
2021-11-01 19:36:39 +00:00
Carl Schwan
6afeaf1619
Move copy pasted to TextDelegate component
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2021-10-21 22:18:47 +02:00
Carl Schwan
6b8358874a
Simplify function call in RoomPage
...
Instead of passing every argument in the right order, pass the entire
model/event object to the context menu functions. This is less copy
pasta of code and the order of the args is now less likely to break in
the future.
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2021-10-21 19:54:06 +00:00
Carl Schwan
fc9f37d4a4
Port global settings to Kirigami.CategorizedSettings
2021-10-21 19:38:03 +00:00
Tobias Fella
65cc392805
Fix flicking the timeline
2021-10-18 15:35:56 +02:00
Carl Schwan
ec1cc34855
Fix missing import
2021-10-16 18:11:59 +02:00
Carl Schwan
a5aafde331
Unify look of loading pages
2021-10-16 17:59:31 +02:00
Carl Schwan
d42ad85b30
Port to OverlaySheet.title
2021-10-16 17:44:42 +02:00
Carl Schwan
14a358ed58
Fix cliping problems in room list when using multiple accounts
...
Before the rooms from the room list would go above the account selector,
making it not possible to switch accounts and creating weird visual
artifacts.
2021-10-11 18:35:13 +02:00
Tobias Fella
011cf3c652
Fix highlighted room when opening room from notification
2021-10-03 16:21:53 +00:00
Tobias Fella
3977aee4ba
Remove usage of Kirigami.Units.devicePixelRatio
...
It's deprecated and as far as i can tell it doesn't really do anything
since it is always set to 1
2021-10-02 14:33:27 +00:00
Tobias Fella
71d01593b1
Fix rejecting and accepting invitations
2021-09-24 23:32:19 +02:00
Tobias Fella
7c7d296981
Fix HTML escaping
2021-09-24 12:44:32 +02:00
Tobias Fella
50040230f5
Port away from onFoo in Connections
2021-09-20 23:04:40 +02:00
Tobias Fella
da7b3a1ea9
Fix text formatting
2021-09-20 22:55:55 +02:00
Tobias Fella
821993c443
Fix DevicesPage and AccountsPage on mobile
...
Also make the padding smaller
2021-09-17 19:24:16 +00:00
Noah Davis
2a9d739bc9
Use new crop tool from KQuickImageEditor
2021-09-11 01:08:29 +00:00
Tobias Fella
5c86692fb5
Port away from onFoo in Connection
2021-09-06 22:58:37 +02:00
Tom Z
cd461da413
Fix hoverItem positioning.
...
In the "Compact" layout the hover item is on top of the time label
and the wrong mapping base caused a weird offset. Now we simply
just position the hover item immediately above the current item.
2021-08-23 21:42:11 +00:00