550 Commits

Author SHA1 Message Date
23rd
24e6443fc6 Replaced floorclamp and ceilclamp with Ui::RowsInRange. 2026-09-15 08:49:44 +03:00
23rd
6e8d16bc54 Replaced qRound with base::SafeRound. 2026-09-14 18:41:41 +03:00
23rd
bc92322ce0 Replaced qCeil with int(std::ceil()). 2026-09-14 18:16:44 +03:00
23rd
3535fafe1a Replaced qMin, qMax and qAbs with std::min, std::max and std::abs. 2026-09-14 18:03:15 +03:00
23rd
f5f460da36 Added slide animation for chats filter switching. 2026-09-10 15:03:52 +04:00
John Preston
786289e835 Reclaim the right button ripple callback per press.
The ripple outlives the row it was created for: it is owned per peer by
_rightButtons, so a callback baked in on the first press kept repainting
a Row that was long gone. Keep the callback in the button and refresh it
on every press, holding the row through a weak pointer - which is why
has_weak_ptr moves down to BasicRow, where nearly every subclass already
had it.
2026-08-26 23:25:37 +04:00
John Preston
4a9c4e5b85 Fixed use-after-free in the filtered chats ripple. 2026-08-26 23:25:37 +04:00
23rd
3abdc67424 Changed behavior of mark as read actions to skip muted dialogs. 2026-08-26 09:13:12 +03:00
Kosta
5f322d378e Fix: ALT+mouse click opens context menu 2026-08-21 15:44:01 +04:00
23rd
90c89dcde9 Added missing const to local references in some files. 2026-08-12 13:36:02 +03:00
23rd
7f0e827fb5 Added row-scoped repaint for dialogs quick action swipe. 2026-08-10 09:05:49 +03:00
23rd
da5a4ef58c Fixed quick dialog action trigger on release outside dialogs. 2026-07-31 18:01:35 +03:00
John Preston
9d00f110f0 Show plain topics list for forum opened in community. 2026-07-19 00:44:19 +04:00
John Preston
f7ca3c4540 Reset both search restrictions in one pass. 2026-07-16 21:34:13 +04:00
John Preston
e0fcbc9294 Suggest full search when archive filter hides results. 2026-07-16 20:42:10 +04:00
John Preston
1ae9a821c2 Added 'From archive' filter to messages search. 2026-07-16 19:50:14 +04:00
John Preston
64b8f75b8e Hide community chat bars while searching 2026-07-10 14:04:32 +04:00
John Preston
b4f2fed420 Add Search button to the community info page 2026-07-10 14:04:32 +04:00
John Preston
527cb34f0f Add This Community tab to message search scopes 2026-07-10 14:04:32 +04:00
John Preston
9b72c0f819 Add Archive tab to message search scopes 2026-07-10 14:04:32 +04:00
23rd
45384c0fb1 Fixed chat disappearing from search results on archiving. 2026-07-10 14:04:31 +04:00
23rd
eac037551c Excluded self and replies chats from dialogs video userpics. 2026-07-10 14:04:31 +04:00
John Preston
e5a390d58e Hide community bot chats when community is collapsed 2026-07-10 14:04:30 +04:00
John Preston
36225310e2 Destroy hidden chats list when community closed 2026-07-10 14:04:28 +04:00
John Preston
f7238d8dd9 Improve pending requests design. 2026-07-10 14:04:27 +04:00
John Preston
b2e2060170 Show community requestable chats as a peer list 2026-07-10 14:04:27 +04:00
John Preston
eef22271e0 Support pin/folder actions for community. 2026-07-10 14:04:27 +04:00
John Preston
06ae3bbf94 Own community forum topic loading in the shared rows view.
Move forum topic preloading and per-forum repaint wiring into the rows view that already owns the rows.
2026-07-10 14:04:27 +04:00
John Preston
9748ad1d68 Load previews and topics in the opened-community dialogs view. 2026-07-10 14:04:26 +04:00
John Preston
fc080063a2 Share community chat-row layout and clip its painting. 2026-07-10 14:04:26 +04:00
John Preston
32ab22fc90 Show community chats as dialogs rows on the info page. 2026-07-10 14:04:26 +04:00
John Preston
3b44f5c193 Mark hidden chats with a userpic badge in community view. 2026-07-10 14:04:26 +04:00
John Preston
dd648f21b4 Polish community sections in the opened dialogs view. 2026-07-10 14:04:26 +04:00
John Preston
fab6141cf4 Show viewable and requestable community chats in the opened view. 2026-07-10 14:04:26 +04:00
John Preston
24c3a4b6c0 Open community chats inline in the dialogs list. 2026-07-10 14:04:26 +04:00
John Preston
c362a4708e Fix identities for dialogs list rows. 2026-07-02 21:55:26 +04:00
Reza Bakhshi Laktasaraei
317eefa8c3 Opened chat on screen reader activate of a chat list row. 2026-07-02 21:32:08 +04:00
Reza Bakhshi Laktasaraei
71bd56ec0d Moved chat list selection to the navigated row on screen reader focus. 2026-07-02 21:32:08 +04:00
23rd
03d1a1d82a Added refresh of loaded userpics over cached dialogs list rows. 2026-07-02 18:46:44 +03:00
23rd
ffeb5d41cd Allowed live animations over cached dialogs list rows. 2026-07-02 18:46:44 +03:00
23rd
b3a2434abb Cached dialogs list rows into opaque images while scrolling. 2026-07-02 18:46:44 +03:00
23rd
0426e192e1 Fixed quick-action icon loss after swipe returns to origin in dialogs. 2026-07-01 13:41:30 +03:00
Reza Bakhshi Laktasaraei
54b9a6b41e Restore Home/End navigation in the chat list
Home/End jumped to the first/last chat until InnerWidget's key handling
was rewritten from a switch into an if/else chain (in 'Extract chats list
accessibility, fix build'), which carried over only Up/Down and Page
Up/Down and dropped the Home/End cases.

Re-add them, skipping by the actual total row count (which selectSkip()
clamps) instead of the previous 1<<20 constant, so it lands on the first
or last row in both the default list and the filtered/search results.
2026-06-26 15:39:43 +04:00
Reza Bakhshi Laktasaraei
0152fa2aaa Redirected chat list typing to search field in screen reader mode. 2026-06-18 08:57:21 +04:00
23rd
44475eef12 Fixed shaking of pinned chats dragged past rows of other heights.
Regression was introduced in 37308cde21.
2026-06-01 13:59:32 +03:00
John Preston
247c198ad8 Simplify chats list accessibility a bit. 2026-05-18 22:36:42 +04:00
Reza Bakhshi Laktasaraei
4e4eeeefb9 feat(accessibility): add screen reader support for message list 2026-05-18 22:36:24 +04:00
John Preston
7113392f9b Support accessibility in filtered chat list. 2026-05-18 14:12:22 +04:00
23rd
5eec2baabc [thanos] Warmed up compute probe after initial dialogs load. 2026-05-18 10:36:53 +03:00
John Preston
b215e5353a Extract chats list accessibility, fix build. 2026-05-14 17:27:03 +04:00