Commit Graph

1833 Commits

Author SHA1 Message Date
AlexeyZavar a671960ba7 fix: make it build 2026-02-19 16:31:18 +03:00
AlexeyZavar 8bfd3bee99 Merge tag 'v6.5.1' into dev 2026-02-17 03:35:09 +03:00
AlexeyZavar 1a29b6ac6e feat: save message shot config 2026-02-17 03:20:26 +03:00
AlexeyZavar b6d19149d9 feat: per-account ghost & lock ghost features & refactor 2026-02-13 16:52:15 +03:00
AlexeyZavar e46d2615a6 fix: padding 2026-02-13 16:52:06 +03:00
John Preston cfc8d28a59 Fix autoupdate/dictionaries show/hide in settings. 2026-02-13 11:56:47 +04:00
John Preston 51d2276259 Fix adding recommended folders. 2026-02-09 21:52:09 +04:00
John Preston 36c398908a Save and restore settings section state. 2026-02-09 21:52:09 +04:00
John Preston 1a388698f4 Implement keyboard navigation in settings search. 2026-02-09 21:52:09 +04:00
John Preston d1caea2a3a Fix some deep link highlights. 2026-02-09 21:52:09 +04:00
John Preston 0d4a6f8e8d Remove dead code, return Login Email button. 2026-02-09 21:52:08 +04:00
John Preston 5f4c3841a0 Fix sender label text for crafted. 2026-02-09 21:52:08 +04:00
John Preston 955319fc23 Allow crafting another gift after success. 2026-02-06 20:36:25 +04:00
John Preston 63e21abb60 Fix premium star layout in Settings. 2026-02-06 13:24:43 +04:00
John Preston 0f2ae9bde6 Use format-count-decimal for gift number. 2026-02-06 13:24:42 +04:00
John Preston 85e6b0b018 Improve unique gift view. 2026-02-06 13:24:42 +04:00
John Preston aab3ad6bc0 Fix changing ANGLE backend in Settings. 2026-02-06 13:24:42 +04:00
John Preston a5dba00155 Make nicer rare variants preview. 2026-02-06 13:24:41 +04:00
John Preston fcbdf3e87b Add Craft action to menu. 2026-02-06 13:24:41 +04:00
John Preston b2169ff7d7 Name crafted with a separate lang key. 2026-02-03 13:04:00 +04:00
John Preston 86a622c49c Nice gift craft error handling. 2026-02-02 13:12:51 +04:00
John Preston b67ac293fd Implement craft success animation. 2026-02-01 23:33:57 +04:00
John Preston 3f922f2333 Support failure animation. 2026-02-01 23:33:57 +04:00
John Preston 1da7ba6446 Use correct craft icon button. 2026-02-01 23:33:56 +04:00
John Preston 1cb648c103 Initial no-design craft implementation. 2026-02-01 23:33:55 +04:00
John Preston 49be0d2679 Fix build with GCC. 2026-01-29 18:20:40 +04:00
John Preston f7f3539f48 Fix build with Xcode. 2026-01-29 18:20:40 +04:00
John Preston e537279692 Fix build with Xcode. 2026-01-28 14:22:17 +04:00
John Preston 27e1867346 Delete old faq entries. 2026-01-28 11:55:22 +04:00
John Preston ecae9c7794 Add separate lang key for FAQ search result subtitles.
Use shorter 'FAQ' prefix for search results instead of full
'Telegram FAQ' that's used for the main FAQ button label.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 594dc126e7 Index FAQ entries together with settings entries.
Now FAQ entries appear in filtered search results when the query
matches, not just when query is empty. Uses same button cache and
first-letter index for both settings and FAQ entries.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston fafe2f96c1 Restore settings search query on return. 2026-01-28 11:55:21 +04:00
John Preston 4c2e73a3ae Show FAQ entries as default search results. 2026-01-28 11:55:21 +04:00
John Preston eff86fc84d Cache and reuse search result buttons in settings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 55624b3410 Fix Ctrl+F in settings. 2026-01-28 11:55:21 +04:00
John Preston e022c6e0f9 Optimize settings search with first-letter index.
Build search index once when the section is created instead
of recomputing on every query. Use first-letter lookup for
O(1) candidate filtering, following the pattern from theme
editor's searchByQuery implementation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 16442e2013 Preserve search query on navigation in settings.
Use the stepDataReference mechanism to save and restore the
search query when navigating from results to a section and back.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 38832396bc Implement smart sorting for settings search results.
Sort results by match count (descending), then by parent chain
depth (ascending), and finally alphabetically by title.
2026-01-28 11:55:21 +04:00
John Preston b60f6b0705 Implement word-based matching in settings search.
Use TextUtilities::PrepareSearchWords() to normalize query and
entry text: split into words, remove accents, and lowercase.
Match by word prefix: each query word must match at least one
entry word by startsWith().

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 55d43e7cad Fix search highlighting across settings sections. 2026-01-28 11:55:21 +04:00
John Preston af28ef7c94 Don't index section buttons in settings search. 2026-01-28 11:55:21 +04:00
John Preston 81b095e73d Improve subtitles for settings section entries. 2026-01-28 11:55:21 +04:00
John Preston 49253a9586 Fix deeplink settings search entries. 2026-01-28 11:55:21 +04:00
John Preston 374b877323 Add Profile Photo search entry.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 2b5732f586 Add deeplink support for search entries.
SearchEntry now has an optional `deeplink` field. When set, clicking
the search result activates the deeplink URL instead of navigating.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 38d8aa2a33 Fix interface scale highlighting.
The custom build method in Main::setupContent() was missing the
HighlightRegistry setup, so widgets added via builder.add() with
search entries weren't being registered for highlighting.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston ead60ebfcd Fix Chat::Id() → ChatId() in settings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston d2933428a4 Fix search result subtitles.
sectionPath() was starting with parentId instead of the section itself,
causing subtitles to skip the section name the entry belongs to.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 0d88925f83 Remove SectionBuildMethod exports from headers
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +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