Commit Graph

211 Commits

Author SHA1 Message Date
John Preston
d139ca01de Tear down Layer Info instantly when its sublist dies
Task: 2026/08/21/resubscribe-info-wrap-teardown-on-replaced-sublist
2026-09-17 15:06:29 +03:00
John Preston
c2c058517c Rebind Info wrap teardown when a sublist is replaced
Task: 2026/08/21/resubscribe-info-wrap-teardown-on-replaced-sublist
2026-09-17 15:06:29 +03:00
John Preston
d8ddaffa04 Always drop an Info wrap when its sublist dies
Task: 2026/08/21/preserve-info-thread-identity-and-lifetime
2026-09-17 15:06:29 +03:00
John Preston
67f8a82573 Clear Info immediately when its sublist dies
Task: 2026/08/21/preserve-info-thread-identity-and-lifetime
2026-09-17 15:06:29 +03:00
John Preston
c5e533f99e Tear down Info after a sublist is destroyed
Task: 2026/08/21/preserve-info-thread-identity-and-lifetime
2026-09-17 15:06:29 +03:00
John Preston
90d6974b23 Keep Info pages on their topic or sublist
Task: 2026/08/21/preserve-info-thread-identity-and-lifetime
2026-09-17 15:06:28 +03:00
John Preston
7f653513ae Destroy the info controller with its content widgets.
createMemento() freed the Controller while _content lived on, and the
content widgets hold it by a raw pointer: MainWidget::showHistory takes
the memento, runs a whole HistoryWidget::showHistory - which reaches
itemVisibilitiesUpdated() and the still-subscribed media list - and only
then destroys the section. The nulling was never a lifetime requirement,
just the "memento already taken" flag showInternal() reads, so make that
a flag and let the controller die with the widget after _content.
2026-08-27 09:46:38 +04:00
23rd
cb72fa6dc6 Replaced saved messages section flag with info key subject.
Related commit: db5f6a258e.
2026-08-22 21:02:04 +03:00
John Preston
db5f6a258e Show self profile from groups members list. 2026-08-22 16:29:23 +04:00
23rd
5f42990d57 [stats-export] Added export action to statistics top bar menu. 2026-08-18 07:53:56 +03:00
23rd
9d52a03190 Removed unused style includes from sources. 2026-07-27 14:04:36 +03:00
23rd
1f2f06de35 Allowed opening profile media tab search with hotkey. 2026-07-19 20:25:51 +03:00
John Preston
e89daff4b0 Support keyboard scrolling in shared media sections. 2026-07-18 22:39:55 +04:00
John Preston
fc6fd2acc2 Fix community layer bottom edge case. 2026-07-10 14:04:31 +04:00
John Preston
b9ee72158c Show a cover on the community info page. 2026-07-10 14:04:26 +04:00
23rd
cfc99e4678 Added support of zoom in shared media for photos. 2026-06-26 15:22:28 +03:00
23rd
d7316816a2 Allowed closing boxes and layers with mouse back button. 2026-06-10 19:32:08 +03:00
John Preston
b7a20e1878 Send sticker from set box to correct place. 2026-05-01 00:15:18 +07:00
23rd
f992678e3a [poll-shared] Added ability to select polls. 2026-03-28 10:29:13 +03:00
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