23rd
38e42f9a95
Fixed ripple color of main menu button in narrow forum state.
2023-01-09 09:05:06 +04:00
23rd
0e3eddcb77
Slightly improved TTL badge in dialogs list.
2023-01-09 09:05:06 +04:00
John Preston
9933c6ba59
Mark topics as read using Ctrl+R shortcut.
...
Fixes #25669 .
2023-01-05 09:53:51 +04:00
John Preston
b962efeca3
Allow ctrl+6/7/8 to activate extra pinned chats.
...
Fixes #25647 .
2023-01-03 09:59:42 +04:00
John Preston
4f3510c47c
Version 4.5: Fix search in topic.
2022-12-30 15:50:56 +04:00
John Preston
567216f41f
Fix crash in topic jump ripple animation.
...
Fixes #25500 .
2022-12-29 17:48:33 +04:00
John Preston
be8aeb0d96
Fix week name display in chats list.
...
Fixes #25625 .
2022-12-29 10:27:22 +04:00
John Preston
b334a1f4fd
Support spoilers in chats list media previews.
2022-12-28 14:07:38 +04:00
Ilya Fedin
66093f0cb5
cTimeFormat/cDateFormat -> QLocale::ShortFormat
...
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston
191ea6f0f4
Fix search in chat / jump to archive.
2022-12-26 14:24:07 +04:00
John Preston
7cf3babcbd
Fix search by a hashtag from a topic.
2022-12-26 14:24:07 +04:00
John Preston
faf6c48f25
Remove ui/special_buttons module.
2022-12-26 14:24:06 +04:00
John Preston
5ebea97ded
Fix deleting a search result in chats list.
2022-12-26 14:24:06 +04:00
John Preston
833a259234
Colorize emoji in text color correctly.
2022-12-26 14:24:06 +04:00
John Preston
1b73b34810
Make HistoryItem a final class.
2022-12-26 14:24:04 +04:00
John Preston
58fe2d7ecc
Fix last topic opening on some systems.
2022-12-07 13:08:41 +04:00
John Preston
02e2fb1258
Fix crash in pinned topic deletion.
2022-12-07 11:01:05 +04:00
John Preston
6e75668e45
Fix forum without last topic opening.
2022-12-06 22:51:33 +04:00
John Preston
a8106aa38d
Fix glitches in search results.
2022-12-06 20:33:17 +04:00
John Preston
4db2b83c9b
Fix Ctrl+Tab/Ctrl+Shift+Tab jumps in topics.
2022-12-06 14:32:46 +04:00
John Preston
a1de77e8d2
Improve child list closing.
2022-12-06 14:32:46 +04:00
23rd
d55d383627
Cached TTL badge in dialogs list.
2022-12-06 12:56:56 +03:00
23rd
e2205c7251
Fixed build on macOS.
2022-12-06 12:56:56 +03:00
John Preston
2d6bac5a28
Fix background color in collapsed row with child list.
2022-12-06 13:05:05 +04:00
John Preston
cb653df0f6
Support adaptive forum userpic rounding radius.
2022-12-05 16:18:10 +04:00
John Preston
2407ac50bc
Improve shading of collapsed chats list.
2022-12-05 10:07:54 +04:00
John Preston
88b555e907
Fix incorrect topic names in forum preview row.
2022-12-05 08:55:39 +04:00
John Preston
e26dd4e418
Fix a crash in chats filter results.
2022-12-04 08:00:20 +04:00
John Preston
1a9c6749ae
Correct pen width in TTL dialogs badge.
2022-12-02 20:51:06 +04:00
John Preston
a4e4681835
Add jump-to-topic panel in View as Messages.
2022-12-02 18:20:22 +04:00
23rd
92756f418b
Added TTL badge to dialogs list.
2022-12-02 00:28:19 +03:00
23rd
cbbbcd877c
Added support of switching between corner layers in dialogs list.
2022-12-02 00:25:23 +03:00
John Preston
f0b8ccbd71
Collapse forum row height in narrow layout.
2022-12-01 21:36:26 +04:00
John Preston
c200263f2e
Don't duplicate Update Telegram / Download Bar.
2022-12-01 19:18:32 +04:00
John Preston
1ff53eb585
Fix opening _childList from archive.
2022-12-01 18:59:03 +04:00
John Preston
32491ead5e
Animate child topics list open / close.
2022-12-01 18:03:20 +04:00
John Preston
b561705528
Use Window::SlideAnimation in all widgets.
2022-12-01 14:18:37 +04:00
23rd
4fabb3f2a2
Replaced some qsl with u""_q literal.
2022-11-30 17:17:14 +03:00
John Preston
ad3f8e72a0
Remove namespace App.
2022-11-30 17:28:09 +04:00
John Preston
01139e1b04
Remove facades module.
2022-11-30 16:55:51 +04:00
John Preston
eaed91263e
Simplify HistoryHider, remove most of uses.
2022-11-30 16:13:31 +04:00
John Preston
188c6ba64a
Paint expanded topics indicator.
2022-11-30 13:57:00 +04:00
John Preston
823bbb1b77
Fix jump-to-topic area and unread counter overlapping.
2022-11-30 13:55:46 +04:00
John Preston
f324017299
Don't open unread topic on full forum row click.
2022-11-30 13:03:42 +04:00
John Preston
76837c6f44
Fix render glitches in pinned forum reordering.
2022-11-30 13:03:42 +04:00
John Preston
5e6a4d9e8d
Fix crash in jump-to-topic from filtered results.
2022-11-30 13:03:42 +04:00
John Preston
5d8a2bc7b7
Implement simple sub-column for topics list.
2022-11-30 13:03:42 +04:00
John Preston
beaea9c57d
Update dialog row height on topic switch.
2022-11-29 23:13:51 +04:00
John Preston
623176e901
Show loading state for non-loaded forum topics list.
2022-11-29 18:30:38 +04:00
John Preston
03b35457fa
Fix collapsed narrow archive row display.
2022-11-29 18:30:38 +04:00
John Preston
8cd5105813
Fix unread badge render glitch.
2022-11-29 18:30:38 +04:00
23rd
2acedca6b7
Replaced some qstr with u""_q literal.
2022-11-29 14:12:50 +03:00
John Preston
ebf46e1270
Paint unread counter in expanded archive row.
2022-11-23 23:01:05 +01:00
John Preston
116a598508
Fix displaying of collapsed archive row.
2022-11-23 23:01:05 +01:00
John Preston
79a2d85287
Fix build with GCC.
2022-11-22 00:28:07 +00:00
John Preston
473e190aeb
Fix single-column forum-by-user search.
2022-11-22 00:26:49 +00:00
John Preston
4b5a0942b1
Open just topic in quick jump-to-last-topic click.
2022-11-22 00:26:49 +00:00
John Preston
106bdae9ce
Always open first topic in two-column layout.
2022-11-22 00:26:49 +00:00
John Preston
f97e5d6307
Fix build with Xcode.
2022-11-22 00:26:49 +00:00
John Preston
bb106b07af
Show small unread mark for non-opened topics.
2022-11-22 00:26:49 +00:00
23rd
823b4e6b98
Added icon for inaccessible users.
2022-11-22 00:26:49 +00:00
John Preston
561e3f4809
Handle clicks on topic jump area.
2022-11-22 00:26:48 +00:00
John Preston
ede34578da
Display jump to last topic message bubble.
2022-11-22 00:26:48 +00:00
John Preston
97356032ac
Fix build in Xcode.
2022-11-22 00:26:48 +00:00
John Preston
4c8187f623
Topics list in forum chats list entry.
2022-11-22 00:26:48 +00:00
John Preston
37308cde21
Support dialog rows with variable height.
2022-11-22 00:26:48 +00:00
John Preston
8a288476b8
Implement pinned topics reordering.
2022-11-22 00:26:48 +00:00
John Preston
c7741cb62a
Apply short topic info from channelMessages.
2022-11-22 00:26:48 +00:00
John Preston
644ec1f599
Remove base::Observable / base::Variable.
2022-11-11 11:43:24 +04:00
John Preston
8ee28f6665
Skip forum send action painting.
2022-11-09 10:22:07 +04:00
John Preston
153fb3e579
Fix search in topic cancel on forum closing.
2022-11-07 20:01:18 +04:00
23rd
629314cfa2
Added saving of scroll state in dialogs widget for restoring from forum.
2022-11-07 15:39:03 +03:00
23rd
c320917069
Fixed Escape shortcut for opened archived forums.
2022-11-07 14:46:41 +03:00
John Preston
9a54473e03
Fix dialog row updating on user online status change.
...
Regression was introduced in ed895ace66
.
Fixes #6410 . Again. I hope.
2022-11-07 15:11:15 +04:00
John Preston
991fe491c5
Animate emoji only twice in chats list.
2022-11-07 14:32:06 +04:00
John Preston
6e606f3bb6
Animate topic icons only twice in topics list.
2022-11-07 14:32:06 +04:00
John Preston
bd8b90055e
Fix showing forum in a single-column layout.
2022-11-07 13:19:40 +04:00
John Preston
592c471f58
Fix cancel of search by sender in forums.
2022-11-03 19:09:07 +04:00
John Preston
fdee5f9227
Fix search by recently used hashtags.
2022-11-03 18:45:15 +04:00
John Preston
34a2c5c8ce
Display topic name in chats list.
2022-11-02 16:39:13 +04:00
John Preston
fdf4129e5e
Fix build with GCC.
2022-11-02 08:51:03 +04:00
23rd
03c08ad95f
Added saving of scroll state in dialogs widget between chats filters.
2022-11-01 19:25:45 +04:00
John Preston
7384cd3463
Support sharing games by link to topics.
2022-11-01 19:25:44 +04:00
John Preston
d5ea0149e8
Implement drag-n-drop to forum topics.
2022-11-01 19:25:44 +04:00
John Preston
1ac051a812
Implement forwarding to topics.
2022-11-01 19:25:44 +04:00
John Preston
bc96bdf7a9
Add video chat management menu items to forum.
2022-11-01 19:25:43 +04:00
John Preston
18bf5c0ee2
Handle nice topic / post-in-topic links.
2022-11-01 19:25:43 +04:00
John Preston
da1e784803
Search from a user inside forum / topic.
2022-11-01 19:25:43 +04:00
John Preston
850746b0ba
Improve search-in-topic closing.
2022-11-01 19:25:43 +04:00
John Preston
5d76415a5d
Implement jump-to-date in topics.
2022-11-01 19:25:43 +04:00
John Preston
ee8f997c14
Implement search inside a single topic.
2022-11-01 19:25:43 +04:00
John Preston
60aef7871a
Append server-side topic search results.
2022-11-01 19:25:43 +04:00
John Preston
d6ee5b3456
Show forum messages search results with topics.
2022-11-01 19:25:42 +04:00
John Preston
88d1a502a5
Implement search in topics / forum messages.
2022-11-01 19:25:42 +04:00
John Preston
97d8aa0a0d
Add a distinct forum icon in chats list.
2022-11-01 19:25:42 +04:00
John Preston
72354f52d4
Improve top bars in forums, in narrow column.
2022-11-01 19:25:41 +04:00
John Preston
ed895ace66
Track dialog row offline status by timer.
...
Fixes #6410 .
2022-11-01 19:25:41 +04:00
John Preston
5314833c82
Show requests / group call / report in forums.
2022-11-01 19:25:41 +04:00
John Preston
92bf925fd0
Show locked topic icon in topics list.
2022-11-01 19:25:41 +04:00
John Preston
eab23df174
Improve narrow topics column in forum.
2022-11-01 19:25:41 +04:00
23rd
fd2edb51e9
Fixed build in Xcode.
2022-11-01 19:25:41 +04:00
John Preston
4074a558e7
Get rid of Ui::FlatInput class.
...
Fixes #16172 .
2022-11-01 19:25:41 +04:00
John Preston
f9173ea849
Improve top bar design for forum / topic.
2022-11-01 19:25:41 +04:00
John Preston
4910a60499
Track mentions / reactions together with unread.
2022-11-01 19:25:40 +04:00
John Preston
08ba277327
Track forum unread state by topics inside.
2022-11-01 19:25:40 +04:00
John Preston
a292f8a34e
Allow opening forums from archive / filters.
2022-11-01 19:25:40 +04:00
John Preston
df5602d203
Support topic icon display in topic profile.
2022-11-01 19:25:40 +04:00
John Preston
89d0a71591
Update API scheme on layer 148: Drafts in topics.
2022-11-01 19:25:38 +04:00
John Preston
6997e165c6
Forum three-dot menu, except search.
2022-11-01 19:25:37 +04:00
John Preston
d92580b8fc
Update API scheme on layer 148: Notifications.
...
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston
b8bdca8921
Extract Data::Thread common for History / ForumTopic.
2022-11-01 19:25:37 +04:00
John Preston
6695eda1be
Handle forum-non_forum changes in realtime.
2022-11-01 19:25:37 +04:00
John Preston
6a7f030ee7
Update API scheme on layer 148.
...
Extract message history corner buttons code.
2022-11-01 19:25:36 +04:00
John Preston
2c0b5b3210
Track unread mentions / reactions in topics.
2022-11-01 19:25:36 +04:00
John Preston
9348039313
Track unread posts in forums inside RepliesList-s.
2022-11-01 19:25:36 +04:00
John Preston
f258b054e8
Request last topic message if it becomes unknown.
2022-11-01 19:25:36 +04:00
John Preston
377b86372b
Don't jump above pinned chats.
...
Fixes #6802 .
2022-11-01 19:25:36 +04:00
John Preston
2c50f7b18c
Implement nice topic icon create / edit box.
2022-11-01 19:25:36 +04:00
John Preston
ae3496d6a4
Update API scheme on layer 148: Topic icons.
2022-11-01 19:25:36 +04:00
John Preston
e5f2d83548
Support new rounding in bot inline keyboards.
2022-11-01 19:25:35 +04:00
John Preston
b13471672d
Move some chat styles from basic.style to chat.style.
2022-11-01 19:25:34 +04:00
John Preston
405d8c327d
Support different row styles in chats list.
2022-11-01 19:25:34 +04:00
John Preston
1401b19994
Add PaintContext for Dialogs::Ui::RowPainter.
2022-11-01 19:25:34 +04:00
John Preston
9f652b0d3f
Unify message sending, track forum topic icons.
2022-11-01 19:25:34 +04:00
John Preston
3b3792ef75
Allow editing topic title and icon.
2022-11-01 19:25:33 +04:00
John Preston
73e56b0340
Support default General topic in forums.
2022-11-01 19:25:32 +04:00
John Preston
eaf679916a
Create / move forum topics on new messages.
2022-11-01 19:25:32 +04:00
John Preston
388fe6adfb
Allow enabling forum, creating topics.
2022-11-01 19:25:32 +04:00
John Preston
c88140e256
Update API scheme to layer 148, start forums.
2022-11-01 19:25:32 +04:00
Ilya Fedin
7b5781b845
Use default-constructed QLocale for date/time/whatever else formatting
...
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide
Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston
4f948699c0
Correct spoiler selections.
2022-09-18 16:52:31 +04:00
John Preston
cd00d41cca
Correct spoiler colors in fully selected messages.
2022-09-18 16:52:31 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
d81b2fbb69
Activate the chosen default folder on Escape.
2022-09-14 09:13:28 +04:00
John Preston
f0955f2021
Add emoji-status disclaimer for unknown peers.
2022-09-06 11:20:55 +04:00
John Preston
2618ee3d75
Paint two-loops of custom emoji statuses.
2022-09-02 21:14:33 +04:00
John Preston
2d07539892
Support colored emoji statuses.
2022-09-02 21:14:33 +04:00
John Preston
cece9cf09b
Show in chats list EntityType::Pre like EntityType::Code.
2022-09-02 21:14:29 +04:00
John Preston
165d3143de
Allow emoji status edit from self profile.
2022-09-02 21:14:28 +04:00
John Preston
21fd381778
Show emoji status in chats list / top bar.
2022-09-02 21:14:28 +04:00
John Preston
8bc807dc40
Set name / phone texts on-demand.
2022-08-09 14:12:19 +03:00
John Preston
f8e22210e7
Move Webm sticker to UnwrappedMedia.
2022-08-04 13:35:34 +03:00
23rd
1a6b6e6084
Fixed right padding of text in dialogs entries with unread reactions.
2022-07-26 20:12:10 +03:00
John Preston
11fbc8112f
Fix monospace text color in chats list.
2022-07-26 20:12:09 +03:00
John Preston
68ee753fc7
Fix sender name / media color in chats list previews.
2022-07-26 20:12:09 +03:00
John Preston
6d17226c7f
Don't show bold markup in chats list previews.
2022-07-26 20:12:09 +03:00
John Preston
b976aa0872
Support custom emoji in chats list entries.
2022-07-26 20:12:08 +03:00
23rd
75d8e8ba7d
Fixed opening of non-primary windows while recording voice message.
2022-06-24 04:07:16 +03:00
John Preston
d81c40f4c8
Fix new window crash for unavailable channels.
2022-06-22 15:30:56 +04:00
23rd
8b4405b71a
Added premium badge to list of accounts.
2022-06-14 08:52:45 +03:00