Commit Graph

1888 Commits

Author SHA1 Message Date
John Preston 46cb49865a Show correct profile colors preview when edit. 2026-01-29 18:20:40 +04: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 fdfe1f1cb5 Always keep SessionController in Settings sections. 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 4cd0e2c9d7 Added simple icon to button for bot privacy policy from profile actions. 2026-01-28 09:20:42 +03:00
23rd 5146c05ec3 Added ability to start outgoing call without user confirmation. 2026-01-28 08:57:57 +03:00
23rd b97322c198 Removed report button from profile top bar actions for joined groups. 2026-01-28 08:57:57 +03:00
23rd d1abbae1b3 Fixed position of popup menu from More button in profile top bar. 2026-01-28 08:57:57 +03:00
23rd 9fb25bfada Added special bullet char to global access. 2026-01-28 08:57:56 +03:00
23rd e6369eaae1 Added chat filters to feature to kick participants from common groups. 2026-01-28 08:57:56 +03:00
23rd 49b27d6b0d Removed notifications action buttom from profile top bar for self. 2026-01-26 11:37:53 +03:00
John Preston 4ffddae162 Fix crash in my profile resize. 2026-01-06 11:50:00 +04:00
23rd 309e3f804d Removed over-optimization from stories processing in profile top bar. 2026-01-06 09:30:01 +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
John Preston c5d4b3affc Fix allowed gifts list for channels. 2026-01-05 14:52:44 +04:00
John Preston a05d7aaf91 Fix crash in stats with Qt 6 on Windows. 2026-01-03 22:10:33 +04:00
23rd 58cd2b2a2e Removed report from profile top bar actions for admins. 2025-12-31 11:58:23 +03:00
23rd 3aa5ad7204 Fixed display of out currency entries in settings for credits section. 2025-12-29 13:09:22 +03:00
23rd c695545f97 Returned kick button to list of members but only for inaccessible users.
Related commits: d7bf9e285c and 490f6f7e50.
2025-12-28 10:12:03 +03:00
John Preston 28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
23rd 89b15142ef Returned button for topics list to profile info. 2025-12-22 17:56:55 +04:00
23rd d51dd1cdb5 Fixed verified icon and gift status together in profile top bar. 2025-12-22 17:56:54 +04:00
John Preston 9496ebd19e Remove AddFullWidthButton helper. 2025-12-18 21:17:07 +04:00
23rd 5c1604fc53 Fixed cache of graphs in chart widgets on retina. 2025-12-16 11:46:36 +03:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd 7952d2688e Slightly improved animation of personal channel when it is removed. 2025-12-15 21:40:53 +04:00
23rd 0f41fd1356 Added ability to remove personal channel from your profile section. 2025-12-15 21:40:53 +04:00
23rd 9cc30741d9 Attempted once again to improve status color with dark theme in profile.
Previous related commit: 7a75c80b27.
2025-12-13 13:35:56 +04:00
23rd 863752e974 Added invalidation gift button background cache on palette changes. 2025-12-13 13:35:56 +04:00
John Preston 703f77ac93 Upgrade gift while staying in the same box. 2025-12-11 22:25:43 +04: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
23rd 52cc76636c Moved out verify details below app button when it is presented in info. 2025-12-10 09:47:48 +03:00
23rd f0a3ddb184 Fixed phrase in menu item to share gift collection. 2025-12-10 09:47:48 +03:00
John Preston 0b67fa65f2 Full upgradable variants preview. 2025-12-05 20:11:54 +04:00
John Preston b08cf75f0b Start auction preview display. 2025-12-05 20:11:54 +04:00
John Preston 23880ac6c1 Update API scheme to layer 220.
Allow offering to buy gifts.
2025-12-05 20:11:53 +04:00
John Preston 113115f58c Fix selecting gifts for a collection. 2025-12-01 12:20:33 +04:00