Marcel Hibbe
aba34ed6a0
Merge pull request #3029 from nextcloud/feature/2930/typingIndicators
...
✍️ Typing indicators
2023-05-23 13:52:35 +02:00
Marcel Hibbe
0eac3a2d11
fix codacy warning
...
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 12:10:18 +02:00
Marcel Hibbe
9a76ce7ccd
fix to close gap between typing indicator and message input
...
otherwise chat content was visible in between
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 12:06:02 +02:00
Marcel Hibbe
5a97e90a82
improve detekt score: avoid magicNumbers...
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 11:34:38 +02:00
Marcel Hibbe
154ea08c37
ignore lint Overdraw warning
...
followup to 0f58deac
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 11:18:01 +02:00
Marcel Hibbe
61859f361a
convert ConversationMessageNotifier to kt
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 11:16:47 +02:00
Marcel Hibbe
0f58deacef
ignore lint Overdraw warning
...
Overdraw is expected here to avoid transparency for the typing indicator view. Instead chat message content should be hidden behind the typing indicator view.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:32 +02:00
Marcel Hibbe
e9fc9fce28
avoid Overlapping items in RelativeLayout for typing indicator
...
-> align Unread messages above typing_indicator_wrapper
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:32 +02:00
Marcel Hibbe
68799cfa24
avoid lint warning
...
..."Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them as annotation attributes" by using @KeyByString
keys were also wrong by copy&paste and are now fixed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:31 +02:00
Marcel Hibbe
f0a9a302bb
make typing indicator two lines if necessary
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:31 +02:00
Marcel Hibbe
7b12f27a1a
move typing indicator methods
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:31 +02:00
Marcel Hibbe
fa4d02e2c6
send stoppedTyping signaling message when sending chat message
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:31 +02:00
Marcel Hibbe
add5e518e1
use height from typingIndicator layout
...
no need to define it redundant...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
231cfef8c3
check capabilities to use/ignore typing indicators
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
d3d8e2abef
add setting to toggle typing status privacy
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
0d6e971c38
fix to use newest capabilities to update settings.
...
Without this refreshing of capabilites, depending settings (for now read privacy) were never updated until app was started again because the user still contained old capabilities.
This fix will also be necessary for the typing indicator setting.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
ecec266765
improve typing indicator design
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
6adca2395d
add handling for multiple typing participants
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:29 +02:00
Marcel Hibbe
85f637ca8a
WIP. update UI when typing message received
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:29 +02:00
Marcel Hibbe
50e7af4d04
add timer for typing logic
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:29 +02:00
Marcel Hibbe
16d2d3d693
add timer for typing logic
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:29 +02:00
Marcel Hibbe
6228ec8d75
add sending of "typing" signaling messages
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:28 +02:00
Marcel Hibbe
8997c3b5c7
add receiving of "typing" signaling messages
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:28 +02:00
Marcel Hibbe
32bd18ff32
add textview for typing indicator
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:28 +02:00
Marcel Hibbe
05b57dc4c7
rename controller_chat.xml to activity_chat.xml
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:28 +02:00
Nextcloud bot
12ab500d5a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-23 02:30:08 +00:00
Nextcloud bot
b480b296a6
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-23 02:29:47 +00:00
Julius Linus
480ad8941b
Update TranslateViewModel.kt
...
codacy error dix
Signed-off-by: Julius Linus <69230048+rapterjet2004@users.noreply.github.com>
2023-05-22 13:12:36 -05:00
rapterjet2004
5a18a05654
fixing detekt errors :|
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2023-05-22 11:47:14 -05:00
rapterjet2004
847c21d710
Merge remote-tracking branch 'origin/master'
2023-05-22 11:19:38 -05:00
rapterjet2004
00f86144d8
rewriting translate feature to use MVVM
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2023-05-22 11:18:21 -05:00
dependabot[bot]
26134343d4
Build(deps): Bump coilKtVersion from 2.3.0 to 2.4.0
...
Bumps `coilKtVersion` from 2.3.0 to 2.4.0.
Updates `io.coil-kt:coil` from 2.3.0 to 2.4.0
- [Release notes](https://github.com/coil-kt/coil/releases )
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md )
- [Commits](https://github.com/coil-kt/coil/compare/2.3.0...2.4.0 )
Updates `io.coil-kt:coil-gif` from 2.3.0 to 2.4.0
- [Release notes](https://github.com/coil-kt/coil/releases )
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md )
- [Commits](https://github.com/coil-kt/coil/compare/2.3.0...2.4.0 )
Updates `io.coil-kt:coil-svg` from 2.3.0 to 2.4.0
- [Release notes](https://github.com/coil-kt/coil/releases )
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md )
- [Commits](https://github.com/coil-kt/coil/compare/2.3.0...2.4.0 )
---
updated-dependencies:
- dependency-name: io.coil-kt:coil
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: io.coil-kt:coil-gif
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: io.coil-kt:coil-svg
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 11:18:21 -05:00
Nextcloud Android Bot
bf2ef0b0ea
Weekly 17.10.0 Alpha 04
2023-05-22 11:18:21 -05:00
Nextcloud bot
64037a9b29
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 11:18:21 -05:00
Nextcloud bot
5bd72b3295
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 11:18:21 -05:00
Nextcloud bot
8e9cb95143
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 11:18:21 -05:00
Nextcloud bot
ba14ebd7e0
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 11:18:21 -05:00
Nextcloud bot
58b5976434
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 11:18:21 -05:00
Nextcloud bot
347b814fca
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 11:18:21 -05:00
Andy Scherzinger
5a31d6d767
Merge pull request #3040 from nextcloud/dependabot/gradle/coilKtVersion-2.4.0
...
Build(deps): Bump coilKtVersion from 2.3.0 to 2.4.0
2023-05-22 09:44:58 +02:00
Nextcloud Android Bot
eea7ad3cec
Weekly 17.10.0 Alpha 04
2023-05-22 03:10:43 +00:00
Nextcloud bot
dccecd3b16
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 02:32:14 +00:00
Nextcloud bot
c91347849f
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 02:31:55 +00:00
dependabot[bot]
998c77013c
Build(deps): Bump coilKtVersion from 2.3.0 to 2.4.0
...
Bumps `coilKtVersion` from 2.3.0 to 2.4.0.
Updates `io.coil-kt:coil` from 2.3.0 to 2.4.0
- [Release notes](https://github.com/coil-kt/coil/releases )
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md )
- [Commits](https://github.com/coil-kt/coil/compare/2.3.0...2.4.0 )
Updates `io.coil-kt:coil-gif` from 2.3.0 to 2.4.0
- [Release notes](https://github.com/coil-kt/coil/releases )
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md )
- [Commits](https://github.com/coil-kt/coil/compare/2.3.0...2.4.0 )
Updates `io.coil-kt:coil-svg` from 2.3.0 to 2.4.0
- [Release notes](https://github.com/coil-kt/coil/releases )
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md )
- [Commits](https://github.com/coil-kt/coil/compare/2.3.0...2.4.0 )
---
updated-dependencies:
- dependency-name: io.coil-kt:coil
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: io.coil-kt:coil-gif
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: io.coil-kt:coil-svg
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 01:58:02 +00:00
Nextcloud bot
41caf56e8a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-21 02:29:14 +00:00
Nextcloud bot
33e617c573
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-21 02:28:54 +00:00
Nextcloud bot
187d3283ba
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-20 02:31:18 +00:00
Nextcloud bot
12d0f01b85
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-20 02:30:58 +00:00
rapterjet2004
c62a904c82
WIP rewriting translate feature to use MVVM
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2023-05-19 17:12:37 -05:00
Andy Scherzinger
fa7cd52b6e
Merge pull request #3034 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.18.7
...
Build(deps): Bump com.google.android.exoplayer:exoplayer from 2.18.6 to 2.18.7
2023-05-19 09:06:09 +02:00