Commit Graph

1392 Commits

Author SHA1 Message Date
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
John Preston 7b2754fbbb Extract reusable top bar suggestion bubble mount.
Factor the floating cloud bubble's painting and scroll-mount wiring into shared helpers so the bubble content can be mounted standalone over any scrollable surface.
2026-07-02 17:49:09 +04:00
John Preston 402cb0e668 Fix crash when removing folders with pinned chats.
ChatFilters::applyRemove() emptied the filter in the list and only then
detached its chats. Unpinning a chat re-caches its siblings' pinned
indices, which runs Session::refreshChatListEntry(); seeing the filter
still listed but emptied, it re-entered removeFromChatList() ->
setChatPinned() -> PinnedList::setPinned() on the same pinned list while
its re-cache loop iterated with a cached size, reading past the end of
the vector. This aborted on closing the Folders editor after removing
two or more folders that had pinned chats.

Detach the filter from the list before applyChange() tears down its
chats, so the re-entrant refresh no longer touches it. Also harden the
setPinned() re-cache loop to re-check the container size each iteration
as defense in depth.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 17:49:07 +04:00
John Preston 399b973440 Fix some editor bugs. 2026-07-02 17:49:07 +04:00
John Preston 45f0341735 Make a better shadow for pills. 2026-07-02 17:49:06 +04:00
John Preston 0f176a4ea7 Make nice fade-to-background in IV editor. 2026-07-02 17:49:06 +04:00
John Preston 5af16f9e53 Scroll IV editor content under the top pills with a fade 2026-07-02 17:49:01 +04:00
John Preston 19e759b55e Add pill-group background for toolbar buttons 2026-07-02 17:49:01 +04:00
John Preston 9dc4b8c8b8 Support rich messages drafts. 2026-07-02 17:48:57 +04:00
23rd 0426e192e1 Fixed quick-action icon loss after swipe returns to origin in dialogs. 2026-07-01 13:41:30 +03:00
gearonixx 5e1a05f12c Fix crash when removing pinned chats during folder changes. 2026-06-30 11:20:05 +04:00
23rd bbcc5fc68f Added animated icons to mute and pin quick action toasts. 2026-06-26 15:22:28 +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
John Preston 8997785d55 Enable jump-to-date in forum search. 2026-06-23 11:40:44 +04:00
23rd 5d52a283d4 Added experimental option to keep unmuted unread dialogs on top. 2026-06-22 11:51:49 +03:00
Reza Bakhshi Laktasaraei b9aad5d250 Engaged chat search on typing instead of focus in screen reader mode.
In screen reader mode, focusing the dialogs search field no longer opens
the suggestions panel or shows the cancel-search button. Search engages
only when the user types, stays engaged after clearing the query, and
disengages only on explicit Escape or the cancel-search button. Tab and
Backspace on an empty query no longer exit search in this mode.

Non-screen-reader behavior is unchanged.
2026-06-18 12:53:33 +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 7b33e71269 Fixed chat closing on hiding filters sidebar in narrowed window.
Related commits: c0bbb669e0, fd52b3c23b.
2026-06-11 09:04:25 +03:00
23rd 056ca1c727 Replaced poll emoji with correspond icon in dialogs message layout. 2026-06-09 07:49:26 +03: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
23rd d22448420e Added day change re-evaluation to top bar suggestion driver. 2026-05-27 12:18:57 +03:00
23rd 504f680292 Added day dependency to birthday top bar suggestions. 2026-05-27 12:18:57 +03:00
23rd 4923db60ff Added refresh of unconfirmed auth bar on authorization list changes. 2026-05-27 12:18:57 +03:00
23rd 595e235981 Replaced unconfirmed auth bar text snapshot with producer. 2026-05-27 12:18:57 +03:00
23rd a272f148c4 Deduplicated top bar suggestion activation by current priority. 2026-05-27 12:18:57 +03:00
John Preston 2aa5795f56 Fix dialogs suggestions animation glitch. 2026-05-26 12:43:36 +04:00
23rd fce19ac336 Aligned userpic and text in top bar suggestion with dialog row column. 2026-05-25 21:56:40 +03:00
23rd 546f822d04 Replaced regular test top-bar suggestion with contact birthday variant. 2026-05-25 21:56:40 +03:00
23rd 79fb35cc15 Added top-edge sheen to top bar suggestion pill on dark themes. 2026-05-25 21:56:40 +03:00
John Preston e76abf5776 Don't show full topics list for trivial searches. 2026-05-25 15:08:22 +04:00
John Preston 420972e4d2 Improve table support. 2026-05-19 12:49:08 +04:00
23rd 795dafe36d Replaced positional swipe init args with typed data struct. 2026-05-19 09:56:00 +03:00
23rd 95369274bb Reserved close-button width on every text line of top bar suggestion. 2026-05-18 23:38:35 +03:00
23rd cd2f09dad8 Slightly improved style of top bar suggestions. 2026-05-18 23:38:35 +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 04296830dc Fixed build on Windows. 2026-05-18 12:08:28 +03:00
23rd 5eec2baabc [thanos] Warmed up compute probe after initial dialogs load. 2026-05-18 10:36:53 +03:00
23rd f34961c111 Fixed unpainted gap during search suggestions open animation in dialogs. 2026-05-18 10:36:52 +03:00
23rd 83e249d576 Added test hotkeys for top bar suggestion pill. 2026-05-18 07:57:52 +03:00
23rd e1c8fb084e Added scroll bar inset below top bar suggestion pill. 2026-05-17 13:39:05 +03:00
23rd 1c4a8bfdc8 Added scroll fade above top bar suggestion pill. 2026-05-17 13:36:16 +03:00
23rd b688da024d Added floating overlay for top bar suggestion pill. 2026-05-17 13:36:16 +03:00
23rd 5a7621eef9 Added pill design to top bar suggestion. 2026-05-17 13:36:16 +03:00
23rd bd2e3956b5 Switched top bar suggestion driver to spec table. 2026-05-17 13:36:16 +03:00
23rd d0ee20af7b Added userpic setup spec to top bar suggestion table. 2026-05-17 13:36:16 +03:00
23rd 50848533bf Added premium offer spec to top bar suggestion table. 2026-05-17 13:36:16 +03:00
23rd c1bf7a2665 Added birthday setup spec to top bar suggestion table. 2026-05-17 13:36:16 +03:00