Commit Graph

272 Commits

Author SHA1 Message Date
miruka
2cd177dc13 Add text remembering ability to HTextField 2019-12-10 15:32:42 -04:00
miruka
3a3e0e9dbb Rename some chat components 2019-12-10 15:03:05 -04:00
miruka
f65425957b Builtin ability to remember size for HDrawer 2019-12-10 15:01:56 -04:00
miruka
0578844eef Rename some HDrawer props for more clarity 2019-12-10 14:19:25 -04:00
miruka
ad6f111793 Fix & improve keyboard and mousewheel flicking 2019-12-10 11:49:46 -04:00
miruka
852b5818a2 Fix Chat loading spinner position 2019-12-09 15:34:13 -04:00
miruka
bd8bf6120e Fix taking focus for chat 2019-12-09 14:13:38 -04:00
miruka
2e780d7c6a HDrawer: provide real visible size prop→fix issues 2019-12-09 13:54:05 -04:00
miruka
66e3a07401 RoomSidePane header buttons background 2019-12-09 12:03:35 -04:00
miruka
13d3f19997 Replace all ==/!= by ===/!== 2019-12-09 11:35:50 -04:00
miruka
a5e01fd3b9 Rename HDrawer "width" props, add horizontal prop 2019-12-09 08:10:03 -04:00
miruka
5609ae2817 Refactor Chat/RoomSidePane 2019-12-09 05:25:31 -04:00
miruka
06a6a4c08d Rewrite SidePane using QQC Drawer
Cleaner approach, gets rid of the HPage swipe view hack, better
performances, a lot less complex
2019-12-08 14:43:41 -04:00
miruka
f58e2cbf7a Change add account icon, prevent checkbox overflow 2019-12-08 05:08:59 -04:00
miruka
099a98a5da Click anywhere on errored upload bar to close it 2019-12-06 18:47:34 -04:00
miruka
54395fff44 Fix upload icon height 2019-12-06 18:40:39 -04:00
miruka
737e102629 Color upload icon but not text on pause/error 2019-12-06 18:37:18 -04:00
miruka
4ada039384 Upload UI/code improvements 2019-12-06 16:44:25 -04:00
miruka
54df551b08 Rename theme "uploadsBar" to "fileTransfer" 2019-12-06 09:22:38 -04:00
miruka
150a783c28 Split UploadBars into a new FileTransfer/ dir 2019-12-06 09:20:34 -04:00
miruka
8ae4bbb6cf Fix uplaod item delete, pause and cancel bugs 2019-12-06 08:59:35 -04:00
miruka
e51f1f2c79 Implement upload pause function 2019-12-06 08:44:45 -04:00
miruka
d70260d007 Add visual upload pause button, not working yet 2019-12-06 07:10:22 -04:00
miruka
97cf7b6dcd EventImage: respect uiScale 2019-12-05 10:51:57 -04:00
miruka
a555ad0e19 Upload stats 2019-12-05 10:00:23 -04:00
miruka
3aff20006c Handle OSError happening in send_file() 2019-12-05 09:51:31 -04:00
miruka
470b031a6f Standardize usage of period in UI sentences 2019-12-04 09:32:07 -04:00
miruka
915c96f174 Fix power icons position when room pane collapsed 2019-12-04 09:17:13 -04:00
miruka
34e0ec7c7d Implement UI zooming 2019-12-04 09:08:38 -04:00
miruka
26e63e4ab2 Use new nio AsyncClient.mxc_to_http()
Has the correct behavior for all servers,
e.g. mxc://privacytoosl.io/id → https://chat.privacytools.io/...
2019-12-02 06:42:48 -04:00
miruka
3919b964ca Add ability to cancel uploads 2019-12-02 05:06:21 -04:00
miruka
92bfb02446 UploadBars: tooltip and expand text on error/click 2019-12-02 03:19:43 -04:00
miruka
e4aa3b6572 Handle upload errors 2019-12-02 02:57:47 -04:00
miruka
df0020e62c Fix EventImageTextBubble shown when no text 2019-11-30 15:03:07 -04:00
miruka
68d7c11c58 Add HX/YAnimator, used instead of HNumberAnimation 2019-11-30 11:45:24 -04:00
miruka
6a442da16f Use OpacityAnimators instead of NumberAnimations 2019-11-30 11:41:19 -04:00
miruka
d1e1ed07dd Hide EventImage bubbles on hover 2019-11-30 11:15:54 -04:00
miruka
db36ab6a74 No html styling in processedEventText() + cleanups 2019-11-30 08:20:41 -04:00
miruka
c8095f4874 EventContent: rename eventSender to senderText 2019-11-30 08:01:00 -04:00
miruka
2fd2806514 Support RoomMessageNotice events 2019-11-30 07:10:48 -04:00
miruka
580f92e0be Color member name on hover in sidepane 2019-11-30 05:55:27 -04:00
miruka
a01de1f3d6 Add power icons for room members 2019-11-30 05:55:23 -04:00
miruka
710dd56109 Correct "Empty room" display 2019-11-27 10:04:55 -04:00
miruka
f187a5f0ab Handle m.room.avatar, improve name/topic/alias
- Display the new room's avatar as an EventImage
- Show "x removed the room's avatar" if it's set to none
- Show "x removed the room's y" for empty name/topic/canonical alias
  events instead of "x changed the y to ''"
2019-11-27 06:18:06 -04:00
miruka
1d3ca08957 Reintroduce (reduced) event list cacheBuffer
This is needed until we have proper url preview support
2019-11-22 10:36:59 -04:00
miruka
5a70adcc93 Use ES6 template strings 2019-11-18 03:57:13 -04:00
miruka
2123f5a66f Improve upload code, based on nio PR #76 2019-11-17 13:31:00 -04:00
miruka
25ce08891d Fix which EventImage url gets opened/copied 2019-11-16 08:06:56 -04:00
miruka
c4a65b0cff Remove big cacheBuffer from EventList 2019-11-12 10:00:32 -04:00
miruka
73541ad7a5 download/thumbnail don't need authentification 2019-11-12 09:10:00 -04:00