Commit Graph

192 Commits

Author SHA1 Message Date
Ilya Fedin d52d82f7e6 Fix GCC 15 -Wrange-loop-construct 2026-03-03 12:16:32 +04:00
mukthar777 215303cc69 accessibility: implement button labeling across info sections 2026-02-28 06:41:25 +04:00
23rd b9f1c21b5e Fixed position of popup menu from More button in shared media info. 2026-02-15 10:52:13 +03:00
23rd b6121a5d64 Added initial ability to open media calendar from info media sections. 2026-02-13 11:56:57 +03:00
John Preston 55624b3410 Fix Ctrl+F in settings. 2026-01-28 11:55:21 +04:00
John Preston f822d23509 Support Ctrl+F shortcut in settings to open search. 2026-01-28 11:55:21 +04:00
John Preston 4982814d36 Move Settings::Chat class to anonymous namespace
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 480dcd8a7a Move Settings::Main class to anonymous namespace
- Move Main class definition from header to .cpp file
- Export only Type MainId() from header
- Update all external references from Main::Id() to MainId()
- Remove Builder::MainSection export from namespace
- Add missing includes for settings_common_session.h where needed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 7e5b85c4b3 Upgrade settings_information to full builder pattern
- Move Information class to anonymous namespace in .cpp
- Export only Type InformationId() from header
- Keep exported helpers: SetupAccounts, UpdatePhotoLocally, Badge::*
- Use custom buildMethod with HighlightRegistry for all profile widgets
- Update all references to use InformationId() instead of Information::Id()

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 fd4c42a156 Rewrite settings_information to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 7c06e847f9 Unite settings_chat and settings_chat_builder into settings/sections/settings_chat.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +04:00
John Preston c39bc10d2f Unite settings_main and settings_main_builder into settings/sections/settings_main.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +04:00
John Preston 7064de6eef Start settings search. 2026-01-28 11:55:19 +04:00
John Preston 1e5a93249c Support all required deep links. 2026-01-28 11:55:19 +04:00
John Preston ca4677686a Support most settings/edit and privacy deep links. 2026-01-28 11:55:18 +04:00
John Preston ff35468dac Move my QR code button from title to cover in Settings. 2026-01-28 11:55:18 +04:00
23rd 5146c05ec3 Added ability to start outgoing call without user confirmation. 2026-01-28 08:57:57 +03:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
23rd a59db6529c Added default guarded callback for simple QR box for peer username. 2025-11-24 17:46:49 +03:00
John Preston cd52407723 Fix back button restore in new profile cover. 2025-11-18 18:24:16 +04:00
23rd 6f625a899c Added profile top bar to self stories section. 2025-10-28 13:53:39 +03:00
23rd 5468fde492 Set profile top bar as flexible. 2025-10-28 13:53:38 +03:00
John Preston 2164d08c3c Fixed a crash in gifts section closing.
Fixes #29737.
2025-09-04 11:28:21 +04:00
John Preston c52a31384e Fix couple of possible crashes in saved music. 2025-09-01 11:57:19 +04:00
John Preston b2fb2d5821 Attempt to fix the naturalWidth feature. 2025-08-13 11:18:34 +04:00
John Preston 79650cf318 Support collection links. 2025-07-31 22:20:18 +04:00
John Preston 953487bb65 Display hidden state in story albums. 2025-07-31 22:20:18 +04:00
John Preston 8d2a7b00dc Implement story album management. 2025-07-31 22:20:18 +04:00
John Preston a1e36594c2 Allow creating albums of stories. 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 0d085d500f Added ability to provide custom swipe handler to Info::ContentWidget. 2025-03-24 22:58:04 +03:00
John Preston c9cfe9e90f Allow filtering users gifts. 2025-02-10 10:46:49 +04:00
John Preston 1869071ef7 Sort/Filter channel gifts by non-admins. 2025-02-10 10:46:48 +04:00
23rd cf1fa718a8 Improved conflict handle between IV shortcuts and Shortcuts. 2025-01-30 11:39:56 +03:00
23rd d6ba6ac41e Added initial ability to open single typed shared media in window. 2025-01-30 11:01:04 +03:00
23rd 157a928f5a Added shortcut to open chat menu from dialogs, chat info and history. 2025-01-27 18:07:42 +04:00
John Preston ec69d557dc Add channel gifts filter. 2025-01-22 22:13:28 +04:00
23rd 67cc0ef75c Removed call button from history with deleted account. 2025-01-17 22:08:48 +03:00
John Preston d59eb8e731 Support global media in chats search. 2024-12-17 21:17:14 +04:00
John Preston f94fd3118b Add "My Profile" instead of "My Stories". 2024-12-17 21:13:29 +04:00
23rd 683c3c4f36 Fixed Escape hotkey in info sections with search field. 2024-12-16 05:45:56 +03:00
23rd bd084f9181 Fixed blink of submenu in profile section on section destroy. 2024-12-16 05:45:56 +03:00
John Preston 62d2346471 Initial starref programs list implementation. 2024-12-04 13:51:19 +04:00
John Preston 1e15764bb9 Initial starref setup section implementation. 2024-12-04 13:51:19 +04:00
John Preston 03e4592082 Fix search in group/channel requests list. 2024-11-29 10:33:29 +04:00
John Preston cf2dbe50a1 Fix crash in narrow column reactions view. 2024-11-29 10:33:29 +04:00
23rd 32b8d83c04 Moved out Info::Statistics::Tag to separated file. 2024-10-27 09:56:41 +03:00
23rd bad2dc30c3 Added button to generate QR code for self to main section of settings. 2024-09-12 13:28:10 +03:00
23rd 155305f0f7 Added ability to generate QR code for self from settings. 2024-09-11 15:25:05 +03:00