Carl Schwan
ca2b5fde8e
Remove lag when starting user autocompletion
...
We realistically don't need to interate over every user when typing '@',
since this is not usefull for the user and create some lag.
2021-12-25 18:31:22 +01:00
Carl Schwan
0801b815c8
Make room address selectable
...
Help with #469
2021-12-25 15:33:26 +01:00
Carl Schwan
e79e06235f
Fix QuickSwitcher activation
...
By making sure the global menu bar is disabled when not needed. This
should also help with memory usage.
Fix #482
2021-12-25 14:41:43 +01:00
Tobias Fella
0c5932b3da
Use a reasonable role for message source
2021-12-15 01:03:05 +01:00
Tobias Fella
332d6c9782
Minor improvements
...
- Rename TextDelegate to RichLabel since it's not actually a delegate
- Allow web search for whole messages
2021-12-15 00:53:43 +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
Tobias Fella
e551319245
Don't render html in RoomDrawer heading
2021-12-14 15:54:14 +01:00
Fushan Wen
59430cce89
Add support for minimizing to system tray on startup
...
If the user wants to automatically launch NeoChat when the system
starts up, the user may also want to minimize the window to system tray
on startup. So a new option named "Minimize to system tray on startup"
is added.
The option is only visible on desktop platforms, and is only enabled
when "Close to system tray" is checked.
In order to restore window geometry for the first time the user opens
the window if the option is checked,
1. a new function named `restoreWindowGeometry` is added, and
`restoreWindowGeometryConnections` will be enabled if the option is
checked, and will be disabled after the window debuts.
2. `saveWindowGeometryConnections` will be enabled if the option is not
checked, and will be disabled if checked and enabled after the window
debuts.
2021-12-13 22:05:20 +08: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
738270f513
Fix loading room settings on mobile
...
Required properties don't work correctly with StackLayou.push
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2021-12-12 16:57:40 +00:00
Carl Schwan
658eb187c9
Prevent instability with TextArea with null as background
2021-12-08 14:16:34 +01:00
Tobias Fella
d65962cbaa
Use plaintext in completion menu
2021-11-22 00:20:49 +01: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
Tobias Fella
740662e3f0
Remove visibility setting from FullScreenImage
2021-11-16 00:21:01 +01:00
Carl Schwan
46e1e64ee1
Improve source menu
2021-11-14 19:35:00 +00:00
Carl Schwan
b44963d572
Copy SonnetConfigPage since we can't put it in Sonnet for now
2021-11-13 13:10:28 +01:00
Carl Schwan
25ac18e800
Revert "Revert "Spellchecking with new Sonnet declarative API""
...
This reverts commit dada3e300b .
2021-11-13 13:10:16 +01:00
Tobias Fella
8089e5bdfa
Fix pagestack after login after logout
2021-11-12 16:21:48 +01:00
Christopher Hock
d1dce37ea7
Allow user to copy the room address to the clipboard
...
Contributes to #469
2021-11-07 16:12:29 +00:00
Carl Schwan
dd75eaec2c
Remove dead code
...
It seems this was never used even by the commit introducing it
2021-11-05 20:54:29 +01:00
Tobias Fella
0568bed62d
Use plaintext in TypingPane
2021-11-02 00:08:02 +01:00
Tobias Fella
d494eb1c63
Use Quotient's accountregistry
2021-11-01 19:36:39 +00:00
Carl Schwan
a146fab5a0
Fix color of Pane in room info drawer
...
This is temporary hack and the real solution is to add a Pane
implementation in qqc2-desktop-style
2021-10-23 20:33:34 +00:00
Carl Schwan
6c3ae87340
Support resizing right drawer
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2021-10-21 23:04:52 +02: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
890860df92
Improve room setting
...
* Port away from OverlaySheet
* Use Kirigami.CategorizedSettings
* Add join rules (read only for now)
2021-10-21 20:00:50 +00: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
48e410196c
Don't allow opening a room in a new window on mobile
2021-10-18 21:07:35 +00:00
Tobias Fella
65cc392805
Fix flicking the timeline
2021-10-18 15:35:56 +02:00
Tobias Fella
1d7c20e1c7
Make user list search case insensitive
2021-10-16 18:18:07 +00:00
Tobias Fella
b22ebf3671
Show number of joined users instead of joined+invited users in room drawer
2021-10-16 19:28:51 +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
Tobias Fella
8648b4a3bf
Fix copying whole messages
2021-10-14 22:14:36 +02:00
Tobias Fella
bdca636fb8
Copy only selected text instead of whole message
...
Fixes #457
2021-10-14 21:44:32 +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
2fc4c6456f
Escape more html
2021-10-10 12:26:35 +02:00
Tobias Fella
76675719cf
Wrap the placeholdertext in the chatbar
2021-10-09 21:17:45 +02:00
Tobias Fella
4e26dc5d57
Improve RoomSettingsDialog: use better text color and clearer label for aliases
2021-10-03 23:12:09 +02:00
Tobias Fella
011cf3c652
Fix highlighted room when opening room from notification
2021-10-03 16:21:53 +00:00
Tobias Fella
fa631ece3a
Add feature to delete all loaded messages by user
2021-10-02 15:08:31 +00:00
Carl Schwan
6a0b51a78e
Insist on that loading might take a while for initial loading of account
2021-10-02 14:34:15 +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
b3d9861d3d
Fix label alignment in statedelegate
2021-09-23 20:01:59 +02:00