Commit Graph

233 Commits

Author SHA1 Message Date
John Preston e4c7d62012 Activate window with shown nft. 2026-01-29 18:20:40 +04:00
John Preston 0e7a20fe9f Close mediaview when opening nft links. 2026-01-29 18:20:40 +04:00
John Preston f5319724e3 Move Settings::PrivacySecurity 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 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 df347ad0f4 Upgrade settings_folders to full builder pattern
- Move Folders class to anonymous namespace in .cpp
- Export only Type FoldersId() from header
- setupContent() uses custom SectionBuildMethod capturing state
- Widget creation through builder.add() callbacks
- Highlight registration via push_back

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 5b14d62ede Rewrite settings_folders to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 1fa68effdd Rewrite settings_credits to new builder pattern
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 057e21905e Rewrite settings_global_ttl to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +04:00
John Preston 8d30a03f50 Unite settings_privacy_security and settings_privacy_security_builder into settings/sections/settings_privacy_security.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +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 1e5a93249c Support all required deep links. 2026-01-28 11:55:19 +04:00
John Preston 47b2b604e4 Add structure for huge amount of deep links handling. 2026-01-28 11:55:18 +04:00
23rd f2dc58d4a8 Made login email check less restricted in privacy settings. 2025-12-30 20:47:54 +03: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 0f41fd1356 Added ability to remove personal channel from your profile section. 2025-12-15 21:40:53 +04:00
23rd 8c3a8a7d20 Added ability set currently opened channel as personal from info menu. 2025-12-15 21:40:53 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston e43830c08e Handle auction links. 2025-11-15 12:00:01 +04:00
John Preston 2a88103b5f Support live stories links. 2025-11-15 11:59:20 +04:00
23rd 449f7fb2a3 Added support settings/login_email link. 2025-11-15 11:59:19 +04:00
23rd 68f0e25227 Wrapped buttons in edit contact box. 2025-10-10 09:27:00 +04:00
John Preston ccdff5baef Support birthday suggestion view/process. 2025-10-10 09:27:00 +04:00
23rd 4a05f0fd05 Added ability to suggest birthday from edit contact box. 2025-10-10 09:26:59 +04:00
John Preston 9e8ae54821 Update API scheme to layer 214. Start themes. 2025-08-31 20:53:12 +04:00
John Preston 46886b4dcc Support channel direct messages links. 2025-08-31 20:53:12 +04:00
23rd 90473957cb Added process of error when collectible info can't be revealed. 2025-08-30 23:19:40 +03:00
23rd 9d36d7119b Added special param to links for peers to resolve them in new window. 2025-07-31 22:20:19 +04:00
John Preston 79650cf318 Support collection links. 2025-07-31 22:20:18 +04:00
John Preston 170544f68d Allow switch resale display to TON. 2025-07-31 22:20:18 +04:00
John Preston aa499eab61 Allow settings gift price in TON. 2025-07-31 22:20:18 +04:00
John Preston 985324ac12 Support story album links. 2025-07-31 22:20:18 +04:00
John Preston 8dbc175c02 Update API scheme on layer 206. 2025-06-27 21:29:33 +04:00
John Preston dfc1ec3ccf Support shared media / pins for sublists. 2025-06-04 10:00:23 +04:00
John Preston c726bef740 Allow buying reselling gifts. 2025-05-05 11:43:50 +04:00
John Preston 75d346fe69 Add support for tg://stars link. 2025-05-01 11:13:22 +04:00
23rd 7e45283ba2 Added privacy link to birthday box from top bar suggestion. 2025-05-01 11:13:21 +04:00
John Preston 021115b463 Nice join confcall confirm box. 2025-05-01 11:13:17 +04:00
John Preston 214cc83d4a Update API scheme to layer 202. 2025-05-01 11:13:15 +04:00
John Preston 906fc9cc1d Show more frozen errors. 2025-03-26 07:13:16 +04:00
John Preston 8e6d23ddd6 Support tg://settings/phone_privacy links. 2025-03-14 16:40:50 +04:00
John Preston ab58e7a225 Show common groups userpics in new-peer-info. 2025-03-07 19:03:40 +04:00
John Preston f4c739ab92 Improve transactions history for new stuff. 2025-03-07 19:03:39 +04:00
John Preston 6a415cf232 Support on-hover autoplay and position save. 2025-02-12 17:24:24 +04:00