Commit Graph

48 Commits

Author SHA1 Message Date
AlexeyZavar 8bfd3bee99 Merge tag 'v6.5.1' into dev 2026-02-17 03:35:09 +03:00
John Preston 36c398908a Save and restore settings section state. 2026-02-09 21:52:09 +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 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 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
AlexeyZavar cb24e7d085 Merge tag 'v6.3.10' & extra into dev 2025-12-30 14:28:06 +03:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
AlexeyZavar 77e300b551 Merge tag 'v6.3.6' into dev 2025-12-09 20:09:22 +03:00
23rd 28bc8c3bf3 Moved out creation of flexible scroll into info content widget. 2025-10-28 13:53:39 +03:00
AlexeyZavar dfb9ac91e9 feat: new settings ui & features
translator, remove message tail, hide fast share, drawer customization, quick admin shortcuts, disable crash reports, donations
2025-09-12 03:45:33 +03:00
23rd 683c3c4f36 Fixed Escape hotkey in info sections with search field. 2024-12-16 05:45:56 +03:00
John Preston 00dcf11691 Improve recipients selection in business features. 2024-03-08 10:54:00 +04:00
John Preston 7f7d544943 Show nice empty quick reply placeholder. 2024-03-08 10:53:59 +04:00
John Preston 8545a14763 Fix shortcut messages sizing / emoji panel. 2024-03-08 10:53:59 +04:00
John Preston aad8e989d8 Shortcuts edit / delete menu. 2024-03-08 10:53:59 +04:00
John Preston f086203d25 Implement proper shortcut management. 2024-03-08 10:53:59 +04:00
John Preston d05c4e0990 Start shortcut messages sending. 2024-03-08 10:53:59 +04:00
23rd f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
John Preston 5ef48cac9c Use shared_ptr<Factory> as settings section id. 2023-10-04 20:38:14 +04:00
23rd 01b50a8460 Added initial implementation of TopBar in Premium Settings for user. 2022-09-02 21:14:31 +04:00
John Preston de31c1cf0c Subscription status display. 2022-06-02 17:30:01 +04:00
23rd c123f9e119 Redirected wheel events from custom top bar to section content. 2022-05-24 08:01:27 +03:00
23rd 4e173c8e61 Provided Info::Wrap info to premium settings. 2022-05-23 13:37:02 +03:00
23rd c310b263a6 Added ability to provide back button to pinned to top content. 2022-05-23 13:37:02 +03:00
23rd 9236dd3acb Added support of flexible scrollbar to Info::ContentWidget. 2022-05-23 13:37:02 +03:00
23rd fbd9437775 Added ability to transfer variant data between nearest setting sections. 2022-05-10 08:53:30 +03:00
23rd 5fb71cb165 Added ability to append pinned to bottom content to settings sections. 2022-05-05 16:52:09 +03:00
23rd 972666440e Added ability to remove previous sections from stack in info widget. 2022-05-05 16:52:09 +03:00
23rd 549d7c77e5 Added to settings support of showing back section from stack. 2022-05-05 16:51:17 +03:00
23rd de3b30ed7d Added support of focus handle to sections of settings. 2022-05-05 16:51:17 +03:00
23rd 639ed8b973 Added ability to append pinned to top content to settings sections. 2022-05-02 22:31:05 +03:00
John Preston 488f6412f2 Change phone number section instead of a box. 2022-04-13 15:06:24 +04:00
John Preston d9bbfeead1 Provide section title from the section class. 2022-04-05 16:31:09 +04:00
John Preston aa7143a831 Allow adding Settings::Section-s without changing Type. 2022-04-01 15:53:23 +04:00
John Preston 340db7662b Improve settings main cover. 2022-02-25 14:14:41 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston b6483cb65c Use shared_ptr<Memento> for sections. 2020-12-14 18:48:10 +04:00
John Preston e8bf5bb5ce Move manage filters to a Settings section. 2020-03-27 20:36:05 +04:00
John Preston ffc65f7da4 Add folders menu to Settings. 2020-03-27 20:36:03 +04:00
Nicholas Guriev 793862bee6 Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663)
* Do not move result at end of function

This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization.
2019-11-12 18:15:34 +03:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00
John Preston 137fa0378c Remove some more Auth() calls. 2019-07-24 16:00:30 +02:00
John Preston a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00
John Preston c2039da600 Improve new settings design. 2018-09-19 19:22:14 +03:00
John Preston bbe6d2d13b Implement information settings section. 2018-09-19 19:22:13 +03:00
John Preston a7725f03bb Add cover to settings main section. 2018-09-19 19:22:12 +03:00
John Preston f0d092f126 Section dummies for new Settings. 2018-09-19 19:22:12 +03:00