Commit Graph

2621 Commits

Author SHA1 Message Date
Diogo
d15560a29f fix scroll to bottom race condition after a few lands 2024-11-01 21:26:33 +00:00
Diogo
f197c4174c stability improvements and race conditions 2024-11-01 18:20:05 +00:00
Diogo
d875fc99f4 revealedItemCount while loop 2024-11-01 15:03:57 +00:00
Diogo
1c4c48f168 prepareItems perf and fixes 2024-11-01 14:52:35 +00:00
Diogo
122d5948af consistent type for chatItemsSectionArea 2024-11-01 14:13:36 +00:00
Diogo
3a2e59a6e8 fix dropTemporarySections 2024-11-01 12:36:37 +00:00
Avently
494724de01 one more 2024-11-01 19:09:54 +07:00
Avently
089e5f6ec1 fix stale chatInfo 2024-11-01 19:05:42 +07:00
Diogo
74c6a425b3 fix reveals and other range operations, performance improvement 2024-11-01 10:45:57 +00:00
Diogo
0698f4acfc revealed fixed 2024-11-01 10:06:16 +00:00
Avently
779a91f5cb removeIf -> removeAll 2024-11-01 15:00:21 +07:00
Avently
20c4c02f63 fix 2024-11-01 14:59:38 +07:00
Avently
d2a473c908 refactor 2024-11-01 14:31:16 +07:00
Avently
01d0c4ef96 Merge remote-tracking branch 'origin/dc/core-initial-landing-for-chat' into dc/android-desktop-infinite-scroll 2024-11-01 13:57:24 +07:00
Diogo
bab2341406 more concise pagination handling 2024-10-31 23:40:08 +00:00
Diogo
c98e8e774f single api for simple pagination loads 2024-10-31 22:55:01 +00:00
Diogo
cf32d1d950 simplify 2024-10-31 22:40:28 +00:00
Diogo
065cc170da Merge branch 'dc/core-pagination' into dc/core-initial-landing-for-chat 2024-10-31 22:08:30 +00:00
Stanislav Dmitrenko
4162bccc46 multiplatform: edge to edge design (#5051)
* multiplatform: insets

* more features and better performance

* calls and removed unused code

* changes

* removed logs

* status and nav bar colors

* chatList and newChatSheet search fields

* overhaul

* search fields, devtools, chatlist, newchatsheet, onehand on desktop, scrollbars

* android, desktop: update to Compose 1.7.0

- support image drag-and-drop from other applications right to a chat
(with and without transparent pixels - will be png or jpg)

* stable

* workaround

* changes

* ideal adapting height layout

* dropdownmenu, userpicker, onehandui, call layout, columns

* rename bars properties and strings

* faster update and better layout

* gallery in landscape with cutout

* better cutout

* 1% step on slider

* app bar moves to bottom in one hand ui

* default alpha

* changes

* userpicker colors

* changes

* blur

* fix wrong drawing area in chatview

* fix

* fixed differently

* changes

* changes

* android fix

* Revert "android fix"

This reverts commit 7d417afd9b.

* changes

* changes

* blur

* swap

* no logs

* fix build

* old Android support

* fix position of menu

* disable blur on Android 12

* call button padding

* useless code

* fix padding in group info view

* rename

* rename

* newline

* one more fix

* changes

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-10-31 17:26:17 +00:00
Stanislav Dmitrenko
24090fe350 android, desktop: update to Compose 1.7.0 (#5038)
* docs: correction

* android, desktop: update to Compose 1.7.0

- support image drag-and-drop from other applications right to a chat
(with and without transparent pixels - will be png or jpg)

* stable

* workaround

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-10-31 17:11:26 +00:00
Diogo
937e66b3b8 fix occasional race condition on long navigation 2024-10-31 16:55:53 +00:00
Diogo
7e9ab7cd85 avoid recompose when revealed is clean 2024-10-31 16:02:00 +00:00
Diogo
8ff2f66bb9 disable auto scroll when loading bottom section 2024-10-31 14:58:45 +00:00
Diogo
e2de454426 fix mark read for ranges 2024-10-31 13:24:56 +00:00
Diogo
f87a4a43c9 tracking positions correctly on scroll 2024-10-31 11:42:22 +00:00
Diogo
0ee2769e15 fixed enum 2024-10-31 10:49:04 +00:00
Diogo
82e6b2eefc fixed bottom section load 2024-10-31 10:10:05 +00:00
Diogo
97894c7f53 load bottom section if loaded section is unread 2024-10-30 22:20:51 +00:00
Diogo
ff42ca69de open on first unread message 2024-10-30 21:48:01 +00:00
Diogo
84bd23a99d api for landing section 2024-10-30 16:07:36 +00:00
Diogo
9737f6baa6 multiple destination section jumps 2024-10-30 12:38:31 +00:00
Diogo
39e3a8cb70 trim section on jump to bottom 2024-10-29 21:56:43 +00:00
Diogo
649561fbc9 refactor 2024-10-29 21:27:23 +00:00
Diogo
c681c89657 not use snapshot inside derived state of to avoid crash 2024-10-29 21:22:46 +00:00
Diogo
7ad0a2dd87 remove other sections when jump to bottom clicked 2024-10-29 16:52:43 +00:00
Diogo
71d891acc2 scroll to bottom safer 2024-10-29 16:28:53 +00:00
Diogo
7faa5b4f6a fix reveal and hide items 2024-10-29 16:03:05 +00:00
Diogo
c93ed87228 fix group avatar show 2024-10-29 14:11:43 +00:00
Diogo
2b170830df add item separation and date back 2024-10-29 14:01:44 +00:00
Diogo
19755e359d scroll down fixed 2024-10-29 11:35:11 +00:00
Diogo
53c77d310a fetch both sides poc 2024-10-28 22:23:48 +00:00
Diogo
796d3916bd track scroll direction 2024-10-27 16:01:04 +00:00
Diogo
b93abb9555 jump to quote base 2024-10-27 15:47:21 +00:00
Diogo
c31560238a basic structure 2024-10-27 14:42:32 +00:00
Diogo
b6359559c1 support for initial 2024-10-26 23:44:43 +01:00
spaced4ndy
78510b6fd3 core, ios: get messages for multiple last notifications; separately get notification connections before requesting messages (to avoid acknowledgement races in case of parralel nse threads); coordinate nse threads (#5084)
* core, ios: get messages for multiple last notifications (#5047)

* ios: refactor notification service (#5086)

* core, ios: separately get notification connections before requesting messages; coordinate nse threads (#5085)
2024-10-25 20:09:59 +04:00
Evgeny Poberezkin
edf99fcd1d 6.1.1: ios 245, android 249, desktop 74 2024-10-18 18:37:14 +01:00
spaced4ndy
2ffabd1ef8 ios: fix changing user via notification (#5069) 2024-10-18 18:07:38 +04:00
Evgeny
9175897acf core, ui: add SMP STORE error (#5071)
* core, ui: add SMP STORE error

* update library
2024-10-18 14:17:04 +01:00
Arturs Krumins
7cde2cf6c2 ios: optimise ComposeView rendering (#5042)
* ios: replace revealed bindings with constant value

* ios: optimise ComposeView rendering

* rename

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-10-18 12:35:27 +01:00