Commit Graph

1320 Commits

Author SHA1 Message Date
John Preston e3a34eae29 Cache date string in dialog rows. 2026-04-16 21:24:39 +07:00
John Preston 59e64f56fa Fix possible crash in chats list. 2026-04-14 13:41:51 +07:00
23rd f4cbbb251f Moved unread voice dot indicator next to media label in dialog list.
Related commit: 9febcd88d4.
2026-04-11 09:11:16 +03:00
23rd 88404cfddb Removed unused private fields. 2026-04-09 12:36:51 +03: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 beeb4663c4 Add 'x' button to AI Tools info toast. 2026-04-03 00:47:46 +07:00
23rd 9febcd88d4 Added unread media dot indicator for voice messages to dialog list. 2026-04-02 19:58:57 +03:00
23rd ca63b12670 Restored circle-backed unread icon badges in narrow type of dialogs. 2026-04-01 04:38:00 +03:00
23rd 3e6da6210e Added to dialogs mute icon near name behind new experimental option. 2026-03-30 13:42:23 +03:00
John Preston 5472f97797 Fix many touchscreen-related problems. 2026-03-28 22:45:39 +07:00
23rd a29acd4882 Brought non-sprite shadows revolution. 2026-03-28 11:50:50 +03:00
23rd db8878932f Replaced badge-based dialogs icons with standalone colored icons. 2026-03-28 10:29:12 +03:00
23rd ab1af9371e Added poll vote badge to dialogs. 2026-03-28 10:29:09 +03:00
23rd f055478b6e Moved out ttl icon from dialogs row to separated file. 2026-03-28 10:29:09 +03:00
23rd c24a58672b Slightly refactored userpics stripe to deduplicate userpic dirty checks. 2026-03-28 10:29:08 +03:00
John Preston c57e40620b Make chats list a bit less freezing. 2026-03-25 15:58:00 +07:00
Reza Bakhshi Laktasaraei dc2d6e9d12 feat(accessibility): use ButtonMenu role for main menu buttons
Set ButtonMenu role on main menu toggle buttons in dialogs and
filters menu since they open navigation menus.
2026-03-14 21:54:51 +04:00
23rd a61334247d Fixed ratio of icon in update button from dialogs widget.
Related commit: c6bf905253.
2026-03-12 12:59:49 +04: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 a58047e88a Fix some regressions in accessibility commit. 2026-02-28 19:07:12 +04:00
John Preston d88f817874 Fix highlight issue in messages search results. 2026-02-28 19:07:09 +04:00
mukthar777 17db3361d3 Add labels to buttons in dialog widget 2026-02-28 06:41:25 +04:00
Reza Bakhshi Laktasaraei 827bd7c9a9 feat(accessibility): add accessible name to search button in narrow layout
The search icon button shown when the filters sidebar is active had no
accessible name, making it appear as an unnamed button to screen readers.
2026-02-27 23:42:27 +04:00
23rd 8c86a6e55e Disabled dialogs drag to filters while dragging among pinned dialogs. 2026-02-15 09:59:05 +03:00
23rd 359675b446 Added ability to drag dialogs to search field. 2026-02-13 11:56:57 +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 d6765ab394 Replaced args for calendar show from session controller with descriptor. 2026-02-13 11:56:56 +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 f45925fb54 Fix crash in message inject in converted group.
Fixes #30209.
2026-02-06 13:24:43 +04:00
John Preston c215b9fd5f Fix crash in topic group opening. 2026-01-29 18:20:40 +04:00
John Preston 7dbeb56111 Upgrade settings_active_sessions to full builder pattern
- Move Sessions class to anonymous namespace in .cpp file
- Export only Type SessionsId() in header
- Use builder pattern with custom buildMethod for widget creation
- Handle highlights registration through WidgetContext
- Rename local Type enum to DeviceType to avoid conflict with Settings::Type
- Update all references to Sessions::Id() in other files to use SessionsId()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 9316cec95d Rewrite settings_premium to new builder pattern
- Move settings_premium.h/cpp from settings/ to settings/sections/
- Add BuildHelper with kMeta for search indexing
- Index premium features and subscribe button for search
- Keep complex Premium section UI (custom top bar, feature list) as non-indexed
- Update all include paths across the codebase

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston e60db7cfb1 Rewrite settings_active_sessions to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston a86529c22c Support nice search activation without query. 2026-01-28 11:55:18 +04:00
John Preston 786b0e77b8 Add nice animations to stories on focus search. 2026-01-28 08:57:57 +03:00
John Preston 96230fb4d0 Fix build with GCC. 2026-01-10 11:24:46 +04:00
23rd cd065beb0c Replaced ItemBase::setClickedCallback with setActionTriggered. 2026-01-09 22:49:23 +03:00
23rd 9d09a637fe Slightly simplified resize handler for menu items. 2026-01-06 08:30:08 +03:00
23rd 73c1adea5f Limited birthday contacts userpics display to 3 in top bar suggestion. 2026-01-02 16:09:19 +03:00
John Preston 5726026289 Show "No chats." if no topics loaded. 2026-01-02 16:19:58 +04:00
John Preston 28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
23rd f31337ecb5 Improved style of box for denied unconfirmed authentications. 2025-12-22 17:56:55 +04:00