From 7a553ff02dd045e2b0b377bb9af17539b2aaf08f Mon Sep 17 00:00:00 2001 From: denis0001-dev Date: Sat, 15 Aug 2026 16:17:53 +0300 Subject: [PATCH] More desktop and mobile fixes Signed-off-by: denis0001-dev --- .idea/artifacts/shared.xml | 4 +- .idea/artifacts/shared_jvm.xml | 4 +- .idea/gradle.xml | 1 - .idea/misc.xml | 5 + README.en.md | 35 ++- README.md | 30 +- app/android/build.gradle.kts | 16 +- .../chat/MessageContextMenuPopup.android.kt | 25 ++ .../chat/utils/AttachmentDragDrop.android.kt | 132 +++++++++ .../composeResources/values-ru/strings.xml | 1 + .../composeResources/values/strings.xml | 1 + .../ru/fromchat/api/UpdateSyncManager.kt | 21 +- .../commonMain/kotlin/ru/fromchat/ui/App.kt | 12 +- .../kotlin/ru/fromchat/ui/auth/AuthLayout.kt | 24 +- .../kotlin/ru/fromchat/ui/auth/AuthScreen.kt | 199 ++++++------- .../kotlin/ru/fromchat/ui/chat/ChatInput.kt | 206 +++++++++++-- .../kotlin/ru/fromchat/ui/chat/ChatScreen.kt | 16 + .../kotlin/ru/fromchat/ui/chat/ChatTopBar.kt | 6 +- .../ru/fromchat/ui/chat/MessageContextMenu.kt | 29 +- .../kotlin/ru/fromchat/ui/chat/MessageItem.kt | 49 +--- .../ru/fromchat/ui/chat/panels/dm/DmNav.kt | 13 + .../chat/panels/publicchat/PublicChatNav.kt | 5 + .../ui/chat/utils/AttachmentDragDrop.kt | 275 ++++++++++++++++++ .../ui/components/LazyListFocusScroll.kt | 55 +++- .../fromchat/ui/main/chats/ChatListShared.kt | 195 ++++++++----- .../ru/fromchat/ui/main/chats/ChatsTab.kt | 26 +- .../fromchat/ui/main/settings/SettingsTab.kt | 10 +- .../settings/server/ServerConfigScreen.kt | 14 +- .../ui/chat/MessageContextMenuPopup.ios.kt | 25 ++ .../ui/chat/utils/AttachmentDragDrop.ios.kt | 18 ++ .../ui/chat/MessageContextMenuPopup.jvm.kt | 30 ++ .../ui/chat/utils/AttachmentDragDrop.jvm.kt | 63 ++++ gradle/gradle-daemon-jvm.properties | 13 + 33 files changed, 1231 insertions(+), 327 deletions(-) create mode 100644 app/shared/src/androidMain/kotlin/ru/fromchat/ui/chat/MessageContextMenuPopup.android.kt create mode 100644 app/shared/src/androidMain/kotlin/ru/fromchat/ui/chat/utils/AttachmentDragDrop.android.kt create mode 100644 app/shared/src/commonMain/kotlin/ru/fromchat/ui/chat/utils/AttachmentDragDrop.kt create mode 100644 app/shared/src/iosMain/kotlin/ru/fromchat/ui/chat/MessageContextMenuPopup.ios.kt create mode 100644 app/shared/src/iosMain/kotlin/ru/fromchat/ui/chat/utils/AttachmentDragDrop.ios.kt create mode 100644 app/shared/src/jvmMain/kotlin/ru/fromchat/ui/chat/MessageContextMenuPopup.jvm.kt create mode 100644 app/shared/src/jvmMain/kotlin/ru/fromchat/ui/chat/utils/AttachmentDragDrop.jvm.kt create mode 100644 gradle/gradle-daemon-jvm.properties diff --git a/.idea/artifacts/shared.xml b/.idea/artifacts/shared.xml index 59ff3f6..df2c7e6 100644 --- a/.idea/artifacts/shared.xml +++ b/.idea/artifacts/shared.xml @@ -1,6 +1,8 @@ $PROJECT_DIR$/utils/shared/build/libs - + + + \ No newline at end of file diff --git a/.idea/artifacts/shared_jvm.xml b/.idea/artifacts/shared_jvm.xml index 264b35f..2435e77 100644 --- a/.idea/artifacts/shared_jvm.xml +++ b/.idea/artifacts/shared_jvm.xml @@ -1,6 +1,8 @@ $PROJECT_DIR$/utils/shared/build/libs - + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 3d1446a..c7f8cbe 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -6,7 +6,6 @@