Commit Graph

510 Commits

Author SHA1 Message Date
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
Reza Bakhshi Laktasaraei dd98fd67d3 feat(accessibility): add screen reader support for chat list
Expose painted dialog rows as virtual accessibility children so
screen readers can navigate the chat list.

Each row reports: chat type, name, badges, status, last message
preview, delivery status, reactions, stories, and more.

Multi-column sub-items provide structured per-field access.
2026-05-14 14:02:40 +04:00
John Preston 20089537bd Scale bot verification down a bit. 2026-05-06 17:44:18 +04:00
John Preston be90ed8ef3 Show bot as non-forum if no topics. 2026-05-06 13:46:28 +04:00
John Preston 59e64f56fa Fix possible crash in chats list. 2026-04-14 13:41:51 +07:00
23rd 494833236f Defaulted RoundButton text transform to no-transform. 2026-04-06 16:58:16 +03:00
23rd 7c26a251cf Added text transform to RoundButton as mandatory argument. 2026-04-06 16:58:15 +03:00
John Preston 5472f97797 Fix many touchscreen-related problems. 2026-03-28 22:45:39 +07:00
John Preston c57e40620b Make chats list a bit less freezing. 2026-03-25 15:58:00 +07:00
John Preston 09f9819233 Fix reorder freeze in chats list. 2026-03-11 15:54:08 +04:00
futpib 5f1121123c Freeze chat list order while mouse hovers over it
When subscribed to many active chats, the list reorders too quickly,
causing misclicks. Freeze the visual order while the mouse is over the
chat list and replay deferred reorderings when the mouse leaves or
after 5 seconds of inactivity.

Fixes #1504.
2026-03-06 23:16:40 +04:00
John Preston d88f817874 Fix highlight issue in messages search results. 2026-02-28 19:07:09 +04:00
23rd 8c86a6e55e Disabled dialogs drag to filters while dragging among pinned dialogs. 2026-02-15 09:59:05 +03:00
23rd 95387d58b0 Added ability to drag dialogs to input message fields. 2026-02-13 11:56:57 +03:00
23rd 6387a1591c Added profile link as text data when dragging dialog with username. 2026-02-13 11:56:57 +03:00
23rd 93542f89fb Used separate drag thresholds for pinned and unpinned dialogs. 2026-02-13 11:56:57 +03:00
23rd b49f2a7187 Disabled drag and drop of dialogs to folders when there are no folders. 2026-02-13 11:56:57 +03:00
23rd d96ed0d241 Fixed wrong display of chat preview from dialogs while drag. 2026-02-09 20:41:38 +03:00
23rd b3dcb1596a Added session check to dialog drag-and-drop between different servers. 2026-02-09 20:26:58 +03:00
23rd 93539f078e Fixed cleanup of animation schedule method in drag on dialogs destroy. 2026-02-09 20:26:58 +03:00
23rd 32ea2638c4 Added ability to drag and drop dialogs to filters.
Fixed #7463.
Fixed #24191.
Fixed #17301.
2026-02-08 17:40:03 +03:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd 68b245c3d6 Removed button from dialogs widget when dialogs are empty in archive. 2025-12-14 10:39:10 +03:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 03df5b8546 rpl::type_erased() -> rpl::type_erased. 2025-12-10 14:27:05 +04:00
John Preston 5faefa7997 Attempt to fix possible crash in quick action. 2025-11-07 16:38:03 +04:00
23rd 01a140ea29 Fixed crash on erasing peer search result with pressed sponsored button. 2025-11-06 17:27:10 +03:00
23rd 8ac7fd14ec Renamed changePhoneIconSize with normalBoxLottieSize. 2025-11-06 16:39:36 +03:00
John Preston 27a5e13107 Fix glitch in forum row switch from/to. 2025-10-22 17:31:43 +04:00
John Preston 3ea34461b2 Fix typing animation in chats list updates. 2025-10-22 12:18:12 +04:00
John Preston b4d1ba07a6 Initial forum support in bots data classes. 2025-10-10 09:26:57 +04:00
John Preston 1efa889913 Fix possible crash in fast action in chats list. 2025-10-06 11:23:53 +04:00
23rd eeea9932ed Removed simple colorizing of query of hash or cashtag in found messages. 2025-08-30 23:19:40 +03:00
John Preston 313ae0f86c Remove CenterWrap layout. 2025-08-18 17:55:20 +04:00
23rd 5c33a2bd5c Added simple colorizing of query in found messages. 2025-08-17 14:47:49 +03:00
John Preston b2fb2d5821 Attempt to fix the naturalWidth feature. 2025-08-13 11:18:34 +04:00
John Preston 1851e0c02d Show correct empty global search results. 2025-08-01 11:47:00 +04:00
John Preston b5c1046dca Implement paid global search requests. 2025-07-31 22:20:19 +04:00
John Preston 4aab5da7ae Initial global posts search implementation. 2025-07-31 22:20:18 +04:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
23rd 2a15faf12e Fixed incorrect display of no-chats label in dialogs while search mode. 2025-07-23 11:40:36 +04:00