Commit Graph

2756 Commits

Author SHA1 Message Date
miruka
1f73f634e8 Strip leading/trailing \n from html filter output 2019-07-03 18:36:03 -04:00
miruka
441c9d0c1d Have different background for events and messages 2019-07-02 23:48:36 -04:00
miruka
c8347647b9 Fix messages and non-messages getting combined 2019-07-02 23:32:39 -04:00
miruka
f0c5afe8c7 Rename RoomEventList components 2019-07-02 22:29:09 -04:00
miruka
9d5701da19 Add support for non-message room events 2019-07-02 22:24:21 -04:00
miruka
a6653179e5 nio.AsyncClient can now have event callbacks 2019-07-02 15:06:45 -04:00
miruka
5e7ce561b0 Sort accounts and room categories models 2019-07-02 14:13:45 -04:00
miruka
06c823aa67 Build system, messages support and more 2019-07-02 13:59:52 -04:00
miruka
933341b7e6 Implement avatar hue from name 2019-06-28 18:39:00 -04:00
miruka
a1b4d8900f New backend work
Models, account connection, fetching user profiles,
show connected accounts in sidebar
2019-06-28 18:12:45 -04:00
miruka
e5bdf6a497 Rename "system events" to "app events" 2019-06-27 02:36:31 -04:00
miruka
3344debbbf Start rewriting backend with pyotherside+asyncio 2019-06-27 02:31:03 -04:00
miruka
f530f51937 Add slight text shadow for HLabel 2019-05-17 17:47:36 -04:00
miruka
0b85252dd6 Remove "querying user" debug print 2019-05-17 17:18:01 -04:00
miruka
de9140cdb2 Reduce useless setTypingState calls on lost focus 2019-05-17 16:02:26 -04:00
miruka
2e5b846695 Fix RoomSidePane spacing on collapse 2019-05-17 15:46:49 -04:00
miruka
2bb08874d1 Reduce animation durations from 120 to 100ms 2019-05-17 15:46:43 -04:00
miruka
bbaa5ccf3b Animate RoomCategoryDelegate visibility 2019-05-17 15:39:00 -04:00
miruka
82edb4fc29 Fix HListView delegate height bug
Remove the populate transition animation, responsible for the glitch
where items overlap each others
2019-05-17 15:18:46 -04:00
miruka
5ab588f40c Prevent RoomEventDelegate startup position glitch 2019-05-17 14:24:03 -04:00
miruka
19c69b406a Fix room banners height 2019-05-16 15:57:09 -04:00
miruka
532e5a4375 Make RoomCategoryDelegate expand icons smaller 2019-05-16 15:53:17 -04:00
miruka
7f3ced682f Fix RoomHeader title width calculation 2019-05-16 15:50:14 -04:00
miruka
1c24edb166 Fix filter members field after switching room 2019-05-16 15:47:14 -04:00
miruka
5ab13e3e16 Improve SortProxyFilter, room members filtering
- Simplify SortProxyFilter
- Better custom filtering algorithm
- Rename "ascending" (default True) to "reverse" (default False)
- Add "Filter members" field to RoomSidePane MembersView
2019-05-16 15:39:44 -04:00
miruka
41fdd19d2c Fix messages avatar size 2019-05-15 17:01:58 -04:00
miruka
07d0515731 Sort/filter room members based on display name 2019-05-15 16:46:56 -04:00
miruka
226e9b0a85 Add missing attributes to SortFilterProxy __repr__ 2019-05-15 16:03:55 -04:00
miruka
68b6899de1 Add sortedMembers to Room ListItems 2019-05-15 15:59:43 -04:00
miruka
c67e1bfc79 Fix hiding members pane not giving space to chat 2019-05-15 02:25:40 -04:00
miruka
1a4ac0f432 Make Room.members a properly updating ListModel 2019-05-14 20:20:54 -04:00
miruka
606771735a ListModel.updateItem() ignore_roles → no_update 2019-05-14 19:44:40 -04:00
miruka
0b32bf2738 RoomEvent: eventId property, which is now mainKey 2019-05-14 19:39:31 -04:00
miruka
40a19bf570 ListModel: check for duplicate mainKey on insert
Also add updateAll() method
2019-05-14 19:32:52 -04:00
miruka
45c928ea17 Rename ListModel.update() to updateItem() 2019-05-14 19:06:59 -04:00
miruka
2a687f8eee Standardize animation durations 2019-05-14 15:15:10 -04:00
miruka
20f8e83a01 Fix RoomSidePane hide animation being too quick 2019-05-14 15:07:43 -04:00
miruka
a3e080c9a0 Fix local echoed messages having a wrong time 2019-05-14 15:03:12 -04:00
miruka
6af1c0e27c Fix history events overwriting real lastEventDate 2019-05-13 13:20:39 -04:00
miruka
2da7214af1 HListView component with animations 2019-05-13 13:15:03 -04:00
miruka
4024eee460 Animate HButton color changes 2019-05-13 12:50:04 -04:00
miruka
f2c84d5260 Snap to buttons width → restores auto-sizing 2019-05-13 12:37:35 -04:00
miruka
645aa73183 Allow quick hiding/expanding of RoomSidePane
by clicking the button corresponding to the currently active view
2019-05-13 12:02:52 -04:00
miruka
125a70bea6 Make RoomSidePane follow buttons size again
Also add selected button color
2019-05-13 10:52:26 -04:00
miruka
ca6c55a3e7 Fix MembersView ListView being too wide 2019-05-12 21:36:08 -04:00
miruka
7e44134dfc Fix RoomHeader buttons not taking enough height 2019-05-12 21:29:52 -04:00
miruka
fa12d3f4ec Adjust RoomSidePane autosize max width
Set it to the RoomHeader's buttons implicitWidth
2019-05-12 19:03:51 -04:00
miruka
b35e635be4 RoomHeader buttons and RoomSidePane size/collapse
RoomSidePane's size and collapsing is not bound anymore to the
RoomHeader buttons.
2019-05-12 19:01:02 -04:00
miruka
b9b6d2fcb3 Animate SidePane width only when collapsing
To avoid RoomHeaderButton collapse bug due to the "slowly" changing
Chat width.
2019-05-12 16:28:48 -04:00
miruka
46d5704eb6 RoomSidePane: respect user manual resizing 2019-05-12 16:01:18 -04:00