John Preston
74014d18a5
Fix build with GCC.
2023-07-20 07:20:56 +04:00
John Preston
ac136638a4
Closed alpha version 4.8.4.4.
2023-07-20 07:20:56 +04:00
John Preston
5368507259
Improve lock/unlock icon behavior.
2023-07-20 07:20:56 +04:00
John Preston
5d234d3103
Update API scheme on layer 160.
2023-07-20 07:20:56 +04:00
John Preston
39a1743e7e
Fix overscroll in topics list.
2023-07-20 07:20:56 +04:00
John Preston
7d98acb4a3
Closed alpha version 4.8.4.3.
2023-07-20 07:20:56 +04:00
John Preston
21a5e26250
Add current stories label to profile top bar.
2023-07-20 07:20:52 +04:00
John Preston
91cc5f5284
Fix small stories thumbnails in profile / my stories.
2023-07-20 07:20:47 +04:00
John Preston
8a974273b9
Fix possible crash in click handling.
2023-07-20 07:20:47 +04:00
John Preston
ebd8380019
Use correct reply placeholder in stories view.
2023-07-20 07:20:47 +04:00
John Preston
2664d984d9
Ignore wrong wheel direction in ElasticScroll.
2023-07-20 07:20:47 +04:00
John Preston
51027a0bc2
Workaround Wayland popup menu bug.
...
When hiding a child popup first the app receives ApplicationDeactivate
event and in a short time (a couple of ms) ApplicationActivate.
But the first event hides all popups, so the parent popup gets closed too.
Delay handling of ApplicationDeactivate event in this specific case.
2023-07-20 07:20:47 +04:00
John Preston
196447ac19
Fix build with GCC.
2023-07-20 07:20:46 +04:00
John Preston
66532aaac5
Workaround for std::variant bug in libstdc++.
2023-07-20 07:20:46 +04:00
John Preston
6607848abc
Fix build with GCC.
2023-07-20 07:20:46 +04:00
John Preston
f7cbac1f46
Try different function in overscroll.
2023-07-20 07:20:46 +04:00
John Preston
b0403553fa
Remove testing more chats bar.
2023-07-20 07:20:46 +04:00
John Preston
8726884b21
Fix media rotation animation.
2023-07-20 07:20:46 +04:00
John Preston
641a03c988
Fix crash on mention story opening.
2023-07-20 07:20:46 +04:00
John Preston
35e34541b0
Closed alpha version 4.8.4.2.
2023-07-20 07:20:46 +04:00
John Preston
05cf8d034e
Improve touch-screen stories overscroll.
2023-07-20 07:20:46 +04:00
John Preston
dfd1aa5cd6
Fix empty stories list hiding.
2023-07-20 07:20:46 +04:00
John Preston
06469270d0
Remove hidden stories from contacts box.
2023-07-20 07:20:46 +04:00
John Preston
7b911897fc
Remove legacy summaries from stories list.
2023-07-20 07:20:46 +04:00
John Preston
70ca3d4f1a
Show hidden stories in archive.
2023-07-20 07:20:46 +04:00
John Preston
61b8aac7c4
Allow manually toggle stories expand state.
2023-07-20 07:20:46 +04:00
John Preston
85795aa376
Working stories in overscroll.
2023-07-20 07:20:44 +04:00
John Preston
e0c10e7cc2
Fix scroll-to-top in chats list visibility.
2023-07-20 07:20:33 +04:00
John Preston
dc806d4286
Try ElasticScroll in Dialogs::Widget.
2023-07-20 07:20:33 +04:00
John Preston
08ee386b28
Fix build for macOS.
2023-07-20 07:20:33 +04:00
John Preston
1c914e40bb
Closed alpha version 4.8.4.1.
2023-07-20 07:20:33 +04:00
John Preston
6a11888852
Poll views for my story that is viewed.
2023-07-20 07:20:33 +04:00
John Preston
5ccb97668c
Add short-polling of stories.
2023-07-20 07:20:33 +04:00
John Preston
12fe0a836a
Apply editions in realtime, show badge.
2023-07-20 07:20:33 +04:00
John Preston
ee507722ba
Add stories counter to hidden stories sources.
2023-07-20 07:20:33 +04:00
John Preston
57b7391f53
Improve design of contacts according to mockups.
2023-07-20 07:20:33 +04:00
John Preston
e41dba5fb2
Cache title controls layout.
2023-07-20 07:20:33 +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
d7d8847c1d
Show stories in chats list userpics.
2023-07-20 07:20:33 +04:00
John Preston
9a29807276
Show stories segments in contacts list.
2023-07-20 07:20:33 +04:00
John Preston
451c4e3101
Implement vertical list of hidden story sources.
2023-07-20 07:20:33 +04:00
John Preston
a79deb89ce
Update API scheme on laydr 160.
2023-07-20 07:20:33 +04:00
John Preston
f0ab6e5690
Update main menu and stories icons.
2023-07-20 07:20:33 +04:00
John Preston
ef1f1846a4
Respect PowerSaver in TranslateBox.
2023-07-20 07:20:33 +04:00
John Preston
e66d9d5d24
Fix jump to top on a new message send.
2023-07-20 07:20:33 +04:00
John Preston
fcc15dd52d
Open profile on header click.
2023-07-20 07:20:33 +04:00
John Preston
ac534780cc
Implement context menu actions in stories list.
2023-07-20 07:20:33 +04:00
John Preston
a733b83642
Use stories ShareBox from the saved stories list.
2023-07-20 07:20:33 +04:00
John Preston
5f72a5238c
Save to Profile / Archive / Delete in list.
2023-07-20 07:20:33 +04:00
John Preston
af0e578da5
Save to Profile / Archive stories from the viewer.
2023-07-20 07:20:32 +04:00
John Preston
6c960243a9
Improve story source context menus.
2023-07-20 07:20:32 +04:00
John Preston
074a4e3c92
Track stories deletion and refresh views.
2023-07-20 07:20:32 +04:00
John Preston
1d5b57c39c
Add video story saved toast to viewer.
2023-07-20 07:20:32 +04:00
John Preston
3d795f2f67
Implement story mention messages.
2023-07-20 07:20:32 +04:00
John Preston
75d4ba7be1
Use scroll phase information from wheel events.
2023-07-20 07:20:32 +04:00
John Preston
1cd20ff5e2
Implement custom scrolling using DirectManipulation.
...
Use it in Ui::RpWindow. This is an experiment.
Thanks Chromium and Firefox.
2023-07-20 07:20:29 +04:00
John Preston
24012a76b3
Fix stories snap-by-timeout on macOS.
2023-07-20 07:20:14 +04:00
John Preston
71e341237d
Improve touchscreen chats list stories physics.
2023-07-20 07:20:14 +04:00
John Preston
fba1b79252
Don't delete files on Shift+Drop on Windows.
2023-07-20 07:20:14 +04:00
John Preston
fda2f56fd8
Don't copy empty selected text.
2023-07-20 07:20:14 +04:00
John Preston
b46659eb22
Restore scroll to collapsed stories in chats list.
2023-07-20 07:20:14 +04:00
John Preston
a73490e5ad
Add simple scroll control to Hidden Stories.
2023-07-20 07:20:14 +04:00
John Preston
c61e1b9139
Don't scroll through from chats list to stories.
2023-07-20 07:20:14 +04:00
John Preston
7f583f86c0
Nice expand / collapse animations.
2023-07-20 07:20:14 +04:00
John Preston
aff094f278
Prevent some accidental story closing.
2023-07-20 07:20:14 +04:00
John Preston
aa2cf2f6ca
Collapse stories on chat open.
2023-07-20 07:20:14 +04:00
John Preston
bc7da9309d
Fix controls in regular media viewer.
2023-07-20 07:20:14 +04:00
John Preston
010c666d23
Preload next stories inside the media viewer.
2023-07-20 07:20:14 +04:00
John Preston
d567282430
Preload stories in the sources lists.
2023-07-20 07:20:14 +04:00
John Preston
21543338d7
On typing in messages selection focus input field.
2023-07-20 07:20:14 +04:00
John Preston
a57e9990b0
Update API scheme on layer 160.
2023-07-20 07:20:13 +04:00
John Preston
e7ccf5d8ad
Fix possible std::clamp contract violation.
2023-07-20 07:20:13 +04:00
John Preston
6eaa192f51
Don't allow reply to changelog stories.
2023-07-20 07:20:13 +04:00
John Preston
0183790518
Improve archive / unarchive story toast.
2023-07-20 07:20:12 +04:00
John Preston
3c44cf0251
Track all sponsored messages clicks.
2023-07-20 07:20:12 +04:00
John Preston
7ad5520b82
Support external links sponsored messages.
2023-07-20 07:20:12 +04:00
John Preston
859636ff9c
Show "Expired story" in the reply bar.
2023-07-20 07:20:12 +04:00
John Preston
1b581a1597
Support story link previews.
2023-07-20 07:20:12 +04:00
John Preston
22b6f27f7b
Put changelog stories above premium stories.
2023-07-20 07:20:12 +04:00
John Preston
e21c06f67c
Support deleting and reporting stories.
2023-07-20 07:20:12 +04:00
John Preston
ebafb55b1b
Cache stories sources order in viewer.
2023-07-20 07:20:12 +04:00
John Preston
4e39144d0f
Resolve unknown story on open.
2023-07-20 07:20:12 +04:00
John Preston
80bec508b6
Support new stories link t.me/username/s/123.
2023-07-20 07:20:12 +04:00
John Preston
eb260b91c1
Improve unsupported stories design.
2023-07-20 07:20:12 +04:00
John Preston
8d2fd4bd69
Show only hidden stories in Contacts.
2023-07-20 07:20:12 +04:00
John Preston
19d0bf142c
Improve empty / archived stories section.
2023-07-20 07:20:12 +04:00
John Preston
d2dd63e90a
Show active stories in profile top bar.
2023-07-20 07:20:12 +04:00
John Preston
738e20252e
Fix a crash in saved stories layer management.
2023-07-20 07:20:12 +04:00
John Preston
e98770d418
Improve saved / archive stories design.
2023-07-20 07:20:12 +04:00
John Preston
119ee6044a
Update stories icons in some places.
2023-07-20 07:20:12 +04:00
John Preston
2a1631247d
Add stories to data export.
2023-07-20 07:20:12 +04:00
John Preston
08c4f1f67a
Force streaming bit for stories videos.
2023-07-20 07:20:12 +04:00
John Preston
fc0902adf0
Force focus on parent widget on story show.
2023-07-20 07:20:11 +04:00
John Preston
e41fc69513
Show nice short info box from viewers dropdown.
2023-07-20 07:20:11 +04:00
John Preston
a2bf0fc511
Show unsupported stories with an Update button.
2023-07-20 07:20:11 +04:00
John Preston
ad5b96b049
Show toasts on reply / archive / unarchive.
2023-07-20 07:20:11 +04:00
John Preston
ff835ec76c
Show animation on story reaction sending.
2023-07-20 07:20:11 +04:00
John Preston
41eac3692c
Correctly show views count without viewers.
2023-07-20 07:20:11 +04:00
John Preston
cdb5f4dc1e
Update API scheme on layer 160.
2023-07-20 07:20:11 +04:00
John Preston
881867186a
Load more saved / archive in the viewer.
2023-07-20 07:20:11 +04:00
John Preston
1c41df364c
Improved shared story layout.
2023-07-20 07:20:11 +04:00
John Preston
c133f4de69
Display shared stories in message history.
2023-07-20 07:20:11 +04:00
John Preston
d7186e68e2
Open stories by t.me/username?story=id links.
2023-07-20 07:20:11 +04:00
John Preston
a933168ef7
Allow sharing stories and copying a link.
2023-07-20 07:20:11 +04:00
John Preston
3ac7725111
Show relative time in stories, like last seen.
2023-07-20 07:20:11 +04:00
John Preston
f828caf0d9
Simplify saved stories list.
2023-07-20 07:20:11 +04:00
John Preston
0401364d71
Fix build with Xcode.
2023-07-20 07:20:11 +04:00
John Preston
bafb4f91b4
Update API scheme on layer 160.
2023-07-20 07:20:11 +04:00
John Preston
af5228771c
Send views for expired pinned stories.
2023-07-20 07:20:11 +04:00
John Preston
10d64d6bdf
Send story reactions as single-emoji messages.
2023-07-20 07:20:11 +04:00
John Preston
43af9fd87e
Fix controls fading in raster stories backend.
2023-07-20 07:20:11 +04:00
John Preston
0a54325db9
Add a separate icon for My Stories.
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
0ed200beee
Show / expand / collapse / hide reactions strip.
2023-07-20 07:20:10 +04:00
John Preston
c1be4d6451
Hide self in small stories userpics.
2023-07-20 07:20:10 +04:00
John Preston
087c27c5e0
Fix expire calculations for the stories.
2023-07-20 07:20:10 +04:00
John Preston
5e5b252f2f
Support correct saved stories / archive loading.
2023-07-20 07:20:10 +04:00
John Preston
7f8a985067
Start stories overview in profile / My Stories.
2023-07-20 07:20:10 +04:00
John Preston
8eac04cb90
Track and load ids of expired mine stories.
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
b71d72ca7c
Allow showing stories in different contexts.
2023-07-20 07:20:10 +04:00
John Preston
e7c0385aea
Show hidden stories above contacts list.
2023-07-20 07:20:10 +04:00
John Preston
f40391b4f0
Support two lists of stories sources.
2023-07-20 07:20:10 +04:00
John Preston
d0e1ac1238
Start hiding stories from chats list.
2023-07-20 07:20:10 +04:00
John Preston
17a5c27658
Update API scheme on layer 160.
...
Leave plain scheme in api.tl.
2023-07-20 07:20:10 +04:00
John Preston
41edd41b92
Pause story while viewing the viewers list.
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
John Preston
16069db3e6
Fix build with Xcode.
2023-07-20 07:20:10 +04:00
John Preston
1f1e543df7
Fix good thumbnail generation in sibling stories.
2023-07-20 07:20:10 +04:00
John Preston
d76c80bf0e
Show recent viewers in self stories.
2023-07-20 07:20:10 +04:00
John Preston
e90642f3a0
Add bio privacy section.
2023-07-20 07:20:09 +04:00
John Preston
8b22f9dcac
Better track paused story state.
2023-07-20 07:20:09 +04:00
John Preston
b8cf00a0b2
Fix replying to stories with voice messages.
2023-07-20 07:20:09 +04:00
John Preston
f814e401b9
Mark stories as read.
2023-07-20 07:20:09 +04:00
John Preston
f323370752
Preload stories in both directions.
2023-07-20 07:20:09 +04:00
John Preston
4a67641460
Load more story users on demand.
2023-07-20 07:20:09 +04:00
John Preston
4e165a2107
Sort chats list stories by unread state.
2023-07-20 07:20:09 +04:00
John Preston
d82381881a
Allow sending stickers / GIFs in story replies.
2023-07-20 07:20:09 +04:00
John Preston
cdd4774bb8
Fix initial stories collapsing in chats list.
2023-07-20 07:20:09 +04:00
John Preston
0edbb91b72
Process media edition updates from API.
2023-07-20 07:20:09 +04:00
John Preston
9f548b523e
Apply updates correctly.
2023-07-20 07:20:09 +04:00
John Preston
2e6790c45c
Support replies to stories layout in messages.
2023-07-20 07:20:09 +04:00
John Preston
b195ec4fd5
Support stories file reference refreshing.
2023-07-20 07:20:09 +04:00
John Preston
7a042c23e9
Use real stories data, open from chats list.
2023-07-20 07:20:09 +04:00
John Preston
ff902f2a1f
Send StoryReply info correctly.
2023-07-20 07:20:09 +04:00
John Preston
04e7ce4408
Update API scheme on layer 160: Replies.
2023-07-20 07:20:09 +04:00
John Preston
455cb0d21b
Fix build with Xcode.
2023-07-20 07:20:09 +04:00
John Preston
d57ada8a64
Show stories summary status in chats list.
2023-07-20 07:20:08 +04:00
John Preston
1fc37178b7
Show names for chats list stories.
2023-07-20 07:20:08 +04:00
John Preston
16128d61c0
Implement nice stories list scrolling.
2023-07-20 07:20:08 +04:00