Commit Graph

592 Commits

Author SHA1 Message Date
John Preston
9a26118ae1 Clean up merged music attach code
Fold the three AllowsMediaDownloadControls copies into
HistoryItem::allowsMediaDownloadControls, share one retry-or-fail
handler in SendMusicSelectionBatch, reuse MakeMusicSelectionItems
instead of the NormalizeSelections near-copy and extract the
duplicated bot resolution block into applyResolvedBot.

Remove the dead accumulate-from-top machinery from both music
providers and the list widget, the subscriber-less slice snapshot
stream, the never-started search section request timer and the
unused Result::isAudioResult.

Consolidate the sixteen MusicAttachBox make_state allocations into
one State struct, fix the include order, use base::take for the
request waiters, replace the removeFromAlbum if-with-initializer
with a plain null-checked session and type kSearchRequestDelay as
crl::time.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-15 08:45:58 +04:00
John Preston
ec689724ae Initial ability to send audio in attaches. 2026-08-14 16:23:44 +04:00
John Preston
c6c3a7470d Single-source the article text column
Task: 2026/08/11/single-source-the-article-text-column
2026-08-12 22:28:05 +04:00
John Preston
e0536486b6 Add bot reporting to Mini App menus
Task: 2026/08/12/report-bots-from-mini-apps
2026-08-12 22:28:05 +04:00
23rd
90c89dcde9 Added missing const to local references in some files. 2026-08-12 13:36:02 +03:00
John Preston
dedeff446e Size the bank card row and fix the article URL rect
Task: 2026/08/10/size-menu-item-and-align-article-url-rect
2026-08-11 15:36:24 +04:00
John Preston
01b1118654 Fix text minimum widths that disagree with the layout
Task: 2026/08/08/repair-text-minimum-width-declarations
2026-08-10 18:42:50 +04:00
John Preston
6395635e5e Fix the build on the split inline button scheme
Task: 2026/07/31/fix-build-on-split-inline-button-scheme
2026-08-10 18:42:49 +04:00
John Preston
a323033ba8 Fix the build on the layer 230 button scheme
Task: 2026/07/27/update-api-scheme-to-layer-230-and-fix-build
2026-08-10 18:42:48 +04:00
John Preston
6fc1d2f3b4 Send and render rich and inverted ephemeral messages.
Task: 2026/07/21/send-rich-and-inverted-ephemeral-messages
2026-08-10 18:42:48 +04:00
John Preston
e45d60d911 Add some hardenings to blocking popups. 2026-08-05 23:15:16 +04:00
John Preston
91303da6f1 Fix possible crash in miniapps. 2026-08-05 21:37:38 +04:00
John Preston
15e13137af Guard GIF layout against empty decoded frames
Task: 2026/08/03/guard-gif-layout-against-empty-frames
2026-08-04 13:08:46 +04:00
John Preston
1ac54f5b22 Fix possible crash in webapps. 2026-07-31 17:14:41 +04:00
23rd
edec595dc5 Split per-consumer blocks out of big style files. 2026-07-27 14:04:37 +03:00
23rd
9d52a03190 Removed unused style includes from sources. 2026-07-27 14:04:36 +03:00
John Preston
ffa3c40360 Pass composer field text into rich editor compose. 2026-07-20 17:55:19 +04:00
John Preston
d20e07f2e0 Allow edit windows alongside compose windows. 2026-07-16 08:04:46 +03:00
John Preston
2fb7f4b220 Make rich editor survive its opening window 2026-07-10 14:04:31 +04:00
John Preston
95b74ef5aa Forbid rich messages in reply to ephemeral messages 2026-07-10 14:04:31 +04:00
John Preston
fd9bcb2489 Fix location sends replying to ephemeral messages 2026-07-10 14:04:31 +04:00
John Preston
476e4f7397 Round-trip guard-bot join webview query_id 2026-07-10 14:04:28 +04:00
John Preston
8e535a2a60 Drop the rich-messages-editor experimental flag 2026-07-02 20:40:19 +04:00
John Preston
2779b2a68d Mark premium actions better. 2026-07-02 17:49:08 +04:00
John Preston
b72f7a1603 Hide rich messages editor behind an option. 2026-07-02 17:49:08 +04:00
John Preston
1743eb071e Gate rich-message premium only at entry and send 2026-07-02 17:49:06 +04:00
John Preston
938ec73600 Fix attach submenu in editor. 2026-07-02 17:49:06 +04:00
John Preston
f6137ced1b Switch between composing and editing rich messages 2026-07-02 17:49:06 +04:00
John Preston
673d3d37dd Revert "Disable IV editor for now."
This reverts commit 9a234182e1.
2026-07-02 17:48:45 +04:00
John Preston
9a234182e1 Disable IV editor for now. 2026-06-09 14:28:13 +04:00
John Preston
051763ebf6 Initial attempt to send articles. 2026-06-09 14:28:10 +04:00
John Preston
093562aac4 Initial structure for future editor. 2026-06-09 14:28:10 +04:00
John Preston
f83e91ce35 Update API scheme on layer 227. 2026-06-09 14:28:10 +04:00
John Preston
2a69915d95 Allow scheduling checklists. 2026-06-09 14:28:10 +04:00
John Preston
a5b9a14280 Support rich messages in inline bots. 2026-06-09 14:28:10 +04:00
John Preston
d7ea6ed174 Support same_origin in webapps. 2026-06-09 14:28:10 +04:00
John Preston
a2b18e3400 Use MakeWrappedEmoji which forwards nullptr-s. 2026-06-09 14:27:37 +04:00
John Preston
5c5bacaf41 Update API scheme to layer 226. Guard-bots. 2026-06-09 14:27:37 +04:00
John Preston
436f929e79 Suggest all send options in topics. 2026-05-26 13:05:26 +04:00
John Preston
ec12715527 Don't pass badge as constructed widget. 2026-05-25 18:23:18 +04:00
John Preston
f599e52e66 Improve design of separate webapp. 2026-05-19 12:49:07 +04:00
John Preston
9eda44ca31 Improve checks for video frame sizes. 2026-05-01 00:15:20 +07:00
John Preston
0628b23226 Add two force-confirmation cases to hidden urls. 2026-05-01 00:14:26 +07:00
23rd
978116b107 Fixed inline bot photo results with unknown dimensions being dropped. 2026-04-11 08:53:17 +03:00
John Preston
b4b3446135 Add loading draft streaming animation. 2026-04-10 15:33:01 +07:00
23rd
494833236f Defaulted RoundButton text transform to no-transform. 2026-04-06 16:58:16 +03:00
23rd
7c26a251cf Added text transform to RoundButton as mandatory argument. 2026-04-06 16:58:15 +03:00
23rd
829b0b5d27 Reverted "Fixed inline results disappearing when media dimensions..."
This reverts commit 6df0333ca2.
2026-04-02 20:22:08 +03:00
23rd
6769944e16 Fixed regression with missing play button in list mode for inline bots. 2026-04-02 19:58:57 +03:00
23rd
892de6154d Added initial support gallery flag for inline bot results layout mode. 2026-03-31 15:42:26 +03:00