Commit Graph

160 Commits

Author SHA1 Message Date
John Preston f9bf1e9372 Fix the build on Windows. 2026-03-05 11:30:38 +04:00
InternalProgramError a08f8d890d Update menu_send.cpp
Unification of Send menu (https://bugs.telegram.org/c/55220)
2026-03-04 16:33:40 +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
23rd cd065beb0c Replaced ItemBase::setClickedCallback with setActionTriggered. 2026-01-09 22:49:23 +03:00
23rd 513d4f962f Added key press handler to menu item for rate voice transcriptions. 2026-01-06 08:30:08 +03:00
23rd 9d09a637fe Slightly simplified resize handler for menu items. 2026-01-06 08:30:08 +03:00
23rd b958e0a275 Replaced generic widget-based parent with explicit Menu class in items. 2026-01-06 07:21:15 +03:00
23rd f9ba0092bc Fixed menu items with check. 2026-01-05 20:58:35 +03:00
23rd cad9790e0b Fixed mouse handler on menu item with checkbox. 2025-12-29 13:19:53 +03:00
John Preston 802373f108 Pass real visible area to chat paint context. 2025-12-29 11:21:23 +04:00
John Preston 28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 0b67fa65f2 Full upgradable variants preview. 2025-12-05 20:11:54 +04:00
John Preston 10667e14e2 Fix crash in ShareBox scheduling.
Fixes #30012.
2025-11-17 18:36:43 +04:00
John Preston ea309caa22 Support min stars for comment. 2025-11-15 11:59:19 +04:00
John Preston 70939c4b9c Correctly edit video stream comment price. 2025-11-15 11:59:19 +04:00
John Preston 332b70a27d Repeated scheduled messages (reminders). 2025-11-15 11:59:17 +04:00
John Preston ad300f5eae Customize DividerBar/DividerLabel styles. 2025-11-07 16:38:02 +04:00
23rd 4b67c8f4bb Set fixed position of mute menu in profile top bar. 2025-10-28 13:53:40 +03:00
John Preston 313ae0f86c Remove CenterWrap layout. 2025-08-18 17:55:20 +04:00
23rd 5f930cc4d1 Added initial ability to rate voice transcriptions. 2025-08-18 13:26:23 +03:00
23rd 707af8a295 Got rid Ui::CreateLabelWithCustomEmoji. 2025-08-17 14:47:49 +03:00
23rd 1919546441 Added ability to change volume of specific notifications from settings. 2025-08-17 14:47:49 +03:00
23rd 5a29a7d2a3 Moved out DefaultNotify to data_peer_notify_settings. 2025-08-17 14:47:49 +03:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston ecc955d2ce Show sponsored messages in video. 2025-07-11 19:26:00 +04:00
23rd a293fa1de6 Replaced std::map with flat_map for selected items in history list. 2025-06-30 10:55:25 +03:00
23rd b97c8b9a17 Fixed order of saving grouped media from bulk download menu item. 2025-06-30 10:55:25 +03:00
John Preston ffe6786ad1 Support unread reactions in monoforums. 2025-06-04 10:00:23 +04:00
John Preston 1d26482298 Update API scheme on layer 204. 2025-06-04 10:00:21 +04:00
23rd 2184755fdf Fixed ripple from top button in box about sponsored messages. 2025-05-06 20:50:19 +03:00
John Preston e629460942 Implement filtering of resale gifts. 2025-05-05 11:43:50 +04:00
23rd 0638c86211 Removed ability to set TTL to chat with bot verification. 2025-05-01 11:13:00 +04:00
John Preston f51320d1bc Add some more frozen restrictions. 2025-03-26 07:13:15 +04:00
John Preston a0764190f2 Support sponsored peers in search results. 2025-03-26 07:13:15 +04:00
John Preston c9fb97cd7c Simplify marked text context logic. 2025-03-07 19:03:40 +04:00
John Preston 852ab19760 Update API scheme, track stars-per-message. 2025-03-07 19:03:37 +04:00
23rd e36afc675e Removed ability to set TTL to chat with require-premium user. 2025-02-10 22:52:00 +03:00
John Preston 51213b499f Start showing gifts from stories. 2025-01-22 22:13:25 +04:00
23rd c3f354826d Fixed text color of custom icon in some phrases with links. 2024-12-18 15:01:57 +03:00
John Preston 99c5d994b5 Add special string for bot revenue. 2024-11-01 14:16:43 +04:00
John Preston 4a5d8aa217 Fix build with MSVC. 2024-10-31 20:33:15 +04:00
23rd 68cc42047e Unified context menu creation for different types of sponsored messages. 2024-10-30 11:59:11 +03:00
23rd e25cf27ba5 Replaced dropdown menu with popup in box for revenue sponsored messages. 2024-10-30 11:58:33 +03:00
23rd b2d340cbfb Added top button to box about sponsored messages for bots. 2024-10-29 15:07:28 +03:00
23rd 7d52787e54 Added support of sponsored messages with revenue to bar. 2024-10-29 14:55:14 +03:00
23rd 2db30690ce Added ability to open menu for sponsored messages without history item. 2024-10-26 17:55:07 +03:00
John Preston 70ed43b811 Fix crash on send options menu show.
Fixes #28532.
2024-10-15 12:13:53 +04:00
John Preston 5767cbd0e3 Fix send menus with additional items. 2024-10-14 12:49:32 +04:00