Commit graph

426 commits

Author SHA1 Message Date
23rd
acb1a7ccf2 Spread some style entries from basic style. 2023-11-15 04:19:51 +03:00
John Preston
9b2f2b104f Show enlarge photo button in webpage preview. 2023-11-09 22:33:14 +04:00
John Preston
b2eeab53c5 Improve 5-line reply text elision. 2023-11-06 12:35:27 +04:00
John Preston
3b40bc6297 Show full reply names with icons. 2023-11-04 21:24:14 +04:00
John Preston
ade97fd2d2 Fix unwrapped reply to monospace. 2023-10-31 13:00:03 +04:00
John Preston
d1c310de00 Highlight reply quote in original message. 2023-10-31 09:01:20 +04:00
John Preston
745ad45d47 Version 4.11.1: Update message text padding. 2023-10-29 12:31:56 +04:00
John Preston
7a754f8b00 Update reply preview in scale / themes. 2023-10-28 23:12:37 +04:00
John Preston
b180070ba3 Improve very small quote areas with icons. 2023-10-28 20:49:20 +04:00
John Preston
c2a1817400 Always use first color as the main one. 2023-10-28 20:19:09 +04:00
John Preston
bcdb1bdfd2 Name color changing for me / channels. 2023-10-27 23:27:10 +04:00
John Preston
5d335341ab Support server-side colors by index, up to three. 2023-10-27 09:55:09 +04:00
John Preston
9c23de7f1a Display reply background emoji. 2023-10-26 14:08:43 +04:00
John Preston
60fb5fdaf0 Update color index caches on palette change. 2023-10-26 14:08:43 +04:00
John Preston
4709e11e46 Support two-color quote outlines. 2023-10-26 14:08:43 +04:00
John Preston
486d5b63d3 Add countries to giveaway messages. 2023-10-26 14:08:42 +04:00
John Preston
3a84c6afdd Redesign webpage/giveaway/ads bottom button. 2023-10-26 14:08:41 +04:00
John Preston
f8d5a8a203 Redesign web pages preview. 2023-10-26 14:08:41 +04:00
John Preston
b9af4f3cb0 Show nice replies with quotes. 2023-10-26 14:08:41 +04:00
John Preston
4b6107fa56 Use color index from API. 2023-10-26 14:08:41 +04:00
John Preston
a77131dfd6 Add giveaway prize service message layout. 2023-10-26 14:08:40 +04:00
John Preston
caca679336 Add quantity badge to giveaway message. 2023-10-26 14:08:40 +04:00
John Preston
b08869abdb Support giveaway message layout. 2023-10-26 14:08:40 +04:00
John Preston
859e41f95a Use webview bots window size like on mobiles. 2023-10-26 14:08:40 +04:00
John Preston
7f9461820b Don't close webview after 'web_app_open_tg_link'. 2023-10-26 14:08:40 +04:00
John Preston
e59a60b3b5 Handle new 'web_app_setup_settings_button' event. 2023-10-26 14:08:40 +04:00
John Preston
926aae6847 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston
66f73a5a64 Copy code blocks on header click. 2023-10-20 18:07:16 +04:00
John Preston
575684670c Improve quotes / code blocks geometries. 2023-10-20 17:59:34 +04:00
John Preston
9661bac876 Show blockquote icon. 2023-10-13 16:24:01 +04:00
John Preston
0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
John Preston
dd692f2d26 Use simplified TextStyle. 2023-10-13 10:08:29 +04:00
John Preston
2414e927bd Add initial code syntax highlighting.
Thanks PrismJS and Fela for porting it to C++.
2023-10-04 22:29:16 +04:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
John Preston
674bab69f5 Send viewport updates in web-apps. 2023-09-13 09:04:28 +04:00
John Preston
ef969df86e Improve main menu bots disclaimer acceptance. 2023-09-12 21:01:12 +04:00
John Preston
229f7a2c15 Handle background / title colors in web-apps. 2023-09-12 21:01:12 +04:00
John Preston
fbd8abc1c6 Start main menu bots. 2023-09-12 21:01:12 +04:00
John Preston
d77c7a70ab Implement new bot web-app methods. 2023-09-04 17:36:55 +04:00
John Preston
b5d3391956 Fix album part edit/delete/replace after reorder. 2023-08-16 17:16:31 +02:00
John Preston
f3ba8fea57 Support vertical attach modify buttons layout. 2023-08-10 18:19:00 +03:00
John Preston
bda3bae712 Always use crl::time for media durations. 2023-08-04 08:46:46 +02:00
23rd
29db7488fc Slightly moved right action icon in message view for forwarded messages.
Fixed #26587.
2023-08-04 08:46:45 +02:00
John Preston
1f47b8e130 Fix userpics list glitch. 2023-07-20 22:19:32 +04:00
John Preston
70ca3d4f1a Show hidden stories in archive. 2023-07-20 07:20:46 +04:00
John Preston
a0ffa15885 Update story mention layout, add outline.
Also use uint32 for bool-bitfields, otherwise:

int a : 1 = 0;
...
const auto test = true;
const auto b = test ? 1 : 0;
if (a != b) {
    a = b;
    ...
}
Assert(a == b); // Violation, because a == -1, not 1 (after a = b).
2023-07-20 07:20:33 +04:00
John Preston
41eac3692c Correctly show views count without viewers. 2023-07-20 07:20:11 +04:00
John Preston
39538e89e0 Show stories reactions in dark theme. 2023-07-20 07:20:10 +04:00
John Preston
aba84a6010 Update API scheme on layer 160: Duration. 2023-07-20 07:20:10 +04:00
John Preston
d28bd36d22 Load and show list of users who viewed a story. 2023-07-20 07:20:10 +04:00