Conversation
|
deleting the KeyboardUtils will lead to a bug that the BottomSheet (https://github.com/Kennyc1012/BottomSheetMenu) is hidden under the keyboard (for example when entering a name for a new group). I guess the best solution is to get rid of the BottomSheet lib. It even doesn't support customized views any more in newer versions, see https://github.com/Kennyc1012/BottomSheetMenu#upgrading-to-3x So we should try to replace this lib with other solutions like android's BottomSheetDialogFragment I remember we had the idea to unify the "creation of groups" between iOS and android at the hackweek meeting @nickvergessen actionbarVisibleButBottomSheetHidden.mp4 |
e3f9f41 to
0d1db0c
Compare
b9aa5a8 to
3f4ccf6
Compare
cc43154 to
20ca8a6
Compare
ef0ec5b to
080778b
Compare
|
@mahibi looking good, I did add some color improvements over the weekend for the bottom sheets for dark/light theming and improved the detekt/ktlint scores. Hope it helps. 💙 |
cool, thanks @AndyScherzinger 👍 |
6a51b9c to
1bfdcc4
Compare
app/src/main/java/com/nextcloud/talk/controllers/ConversationsListController.java
Outdated
Show resolved
Hide resolved
|
@mahibi fixed detekt and 2 lint issues |
5346da3 to
1127fa7
Compare
|
@mahibi looks good, one thing though (at least on Android 12 on my OP9Pro): i.e. when marking a conversation as a favorite, after the "success animation" the bottom sheet isn't closed automatically anymore. This has been working before, so maybe that part didn't get migrated? |
app/src/main/java/com/nextcloud/talk/controllers/bottomsheet/EntryMenuController.java
Outdated
Show resolved
Hide resolved
indeed that was not migrated! fixed now |
AndyScherzinger
left a comment
There was a problem hiding this comment.
@mahibi works like a charm, just needs a single ktlint fix 👍
@AndyScherzinger well the klint warning is exactly about the wildcard import suggested by @timkrueger So should we
|
I would prefer to import every single enum value as static. |
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
BottomSheetLockEvent was only used for old bottom dialog with "kennyc" lib instead ConversationsListFetchDataEvent.kt is now used to fetch the data in ConversationsListController whenever needed Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
… [skip ci] Signed-off-by: drone <drone@nextcloud.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
I can't reproduce or think of scenarios when this code was used. because bottom dialog is replaced it wouldn't work anymore anyway. If there appear scenarios when the code would have executed, it should be fixed similar like ConversationsListBottomDialog was implemented. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
would otherwise break some dialog scenarios Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
…ip ci] Signed-off-by: drone <drone@nextcloud.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
rename enums Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
90d7efd to
0f6efab
Compare
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/1285-talk.apk |
Lint
SpotBugs (new)
SpotBugs (master)
SpotBugs increased! |
|
we need to get rid of: |
To resolve that, we must only resolve #1125 ;-) Class file version 55 is corresponding to Java 11. |
|
/backport to stable-13.0 |
|
The backport to stable-13.0 failed. Please do this backport manually. |

fix #992
might also be a fix for #1029
basically with this PR issue #992 is fixed by setting
windowSoftInputModetoadjustResizeand deleting theKeyboardUtils.This in turn caused conflicts with https://github.com/Kennyc1012/BottomSheetMenu which was now replaced with androids BottomSheetDialog
The replacing of the bottom dialog lib led to quite some refactoring.
For now, while using the BottomSheetDialog there are some workarounds (=add more routers) to keep using the controllers from conductor.
Signed-off-by: Marcel Hibbe dev@mhibbe.de