Commit 82ae2ff
MediaSend update 1 : Moved fragment UI to compose (#4)
* Initial MediaPickerFolder and MediaPickerItem compose
* Initial fragment changes, ComposeViews and minor VM updates
* Fixed wrong flag set
* SelectionOverflow error
* Updated hardcoded dimensions, other compose changes
* Moved most logic to viewmodel
* Dimensions file and compose cleanups
* initial update to checking permission
* Updated paddings and color values
* Removed old code, use innerShadow for Box
* Selection index text set to white
* Removed unused dimensions, updated padding for Grid
* Cleanup
* UI tweaks
* SES-4433 : Handle landscape mode (session-foundation#1527)
* removed portrait lock for most activities, retained for WebRtcCallActivity
* Initial landscape, compact, and flip compatibility
* Landing screen initial landscape compat with flip, tablet and phone
* QR code activity landscape
* Initial layout for Start Conversation sheet
* Added Adaptive layout helper
* Revert "Initial landscape, compact, and flip compatibility"
This reverts commit 20a5fa9.
* Use adaptive layout
* made sholdUseTwoPane private
* removed padding for back button
* GiphyActivity initial compose
* GiphyFragment compose
* GiphyFragment initial kotlin
* cleanup
* GiphyFragment to kotlin
* Cleanup
* Converted async task to coroutine
* Giphy fragment and sticket to kotlin
* Separate compose fun
* Start conversation cleanup
* cleanup
* Cleanup
* notif landscape fix
* Revert "notif landscape fix"
This reverts commit 3cc3ec0.
* initial scaling for QR in recovery password
* Updated usage of twopane into landscape check only.
* Share component for qrPanel
* Fixed overlap for 3 button navigation
* camera inset in conversation
* apply safe inset camera inset
* remove portrait mode for webrtccall
* cleanup
* Media preview insets
* Use state for giph loading
* Use state for giphyLoading
* themed content for tabs
* Removed two pane
* GiphyActivity converted to kotlin, updated compose usage
* Cleanup
* A bit of optimization for session netowork's node image
* inset for settings screen
* token page and conversation settings
* App bar search bar insets
* WebRtc rotation fix, Landscape xml
* contactAvatar webRtc adaptive
* refactor adaptiveInfo name
* State list drawable landscape
* rtc call landscape update
* Added insets and updated overlay stub
* Serializable data for bottom sheet. Fixed crashes
* Fixed landscape scroll for conversation bottomsheet
* insets for cameraXfragment
* Initial workaround for giphytabs
* cleanup
* Let activity handle the orientation change
* Fixed how web rtc looks on landscape
* allow recreation of layout for fragment. Add saveInstance check to prevent duplicate framgnet
* Simplified logic
* Added to LocalDimensions
* cleanups
* Filter thread record instead of db call
* Cleanup
* Removed auto scroll flag from setDeviceOrientation function
* Search contact action bottomsheet landscape state expanded
* convert calculation into anchor
* Narrow width use anchor, helper function to get anchor
* Safe insets for start conversation sheet
* Dynamic insets if sheet does not fill the width
* Update minimum size, fixed box constraints
* cleanup
* draw on image fix layout
* spacing fixes for editing images
* fixed constraints for color slider
* initial configuration change handling
* Revert "initial configuration change handling"
This reverts commit 8c9891d.
* Made some QR areas scrollable but fit area
* conversationv2 landscape layout
* Remove landscape hiding the rail
* Refactored dimen name
* added comments
* Fixed rotation value
* Removed landscape layout, added rotation to back arrow
* Handle onConfigureChanged for WebrtcActivity
* Cleanups
* Updated inset margine helper to fix home FAB
* Initial orientation handling for CameraXFragment
* Added CameraXActivity to replace old fragment
* Fixed insets for CameraXActivity
* Added tiny helper for bottom margin insets
* Fixed missing dimen
* SDK 36 bump
* Updated back handling for activity with fragment
* Updated back handling
* Video camera landscape adjustment
* Updated avatar sizes for portrait and landscape
* Navigator to survive config changes, collapsible footer inset
* replaced vm with retain
* Used retain for navigations, updated insets for debug and pro screens
* Fixed leftoever condition
* Updated landscape screen for manage group stuff
* ManageMembersScreen cleanup and improvements
* More cleanups
* Updated some remembers to retain
* Minor cleanup
---------
Co-authored-by: ThomasSession <thomas.r@getsession.org>
* Bump androidx.activity:activity-compose from 1.10.1 to 1.12.2 (session-foundation#1825)
Bumps androidx.activity:activity-compose from 1.10.1 to 1.12.2.
---
updated-dependencies:
- dependency-name: androidx.activity:activity-compose
dependency-version: 1.12.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix : Manage members QA pt.4 (session-foundation#1881)
* Send control message before exception
* Add sorting by accountId when showing new dialogs
* cleanup
* cleanup for readability
* Cleanups
* SES-1971 : Enable minification (session-foundation#1566)
* Initial proguard and minify
* Initial proguard rules, App doesnt crash on start
* Conversation and emoji
* Some JNI rules
* cleanup
* Kryo proguard
* Cleanup
* more rules
* added to proguard
* added rules to proguard
* proguard file cleanup
* gradle and proguard cleanup
* Cleanup
* Gradle cleanup
* Huawei warnings
* Compile only for huawei
* HMS analytics
* Fix build error
* Updated rules
* Added rules, cleanups
* Removed misplaced flag
* Some rules cleanup
* gradle update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 4f1ab96 commit 82ae2ff
33 files changed
Lines changed: 1214 additions & 1007 deletions
File tree
- app
- src/main
- java/org/thoughtcrime/securesms
- conversation/v2/utilities
- groups
- mediasend
- compose
- preferences/prosettings/chooseplan
- ui
- components
- theme
- res
- drawable
- layout
- values
- gradle
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| |||
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
191 | | - | |
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
| |||
373 | 376 | | |
374 | 377 | | |
375 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
376 | 384 | | |
377 | 385 | | |
378 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
39 | | - | |
40 | 37 | | |
41 | 38 | | |
42 | 39 | | |
| |||
349 | 346 | | |
350 | 347 | | |
351 | 348 | | |
352 | | - | |
| 349 | + | |
353 | 350 | | |
354 | | - | |
| 351 | + | |
355 | 352 | | |
356 | 353 | | |
357 | 354 | | |
358 | | - | |
| 355 | + | |
359 | 356 | | |
360 | 357 | | |
361 | 358 | | |
| |||
386 | 383 | | |
387 | 384 | | |
388 | 385 | | |
389 | | - | |
| 386 | + | |
390 | 387 | | |
391 | | - | |
| 388 | + | |
392 | 389 | | |
393 | 390 | | |
394 | 391 | | |
| |||
Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
| 625 | + | |
629 | 626 | | |
630 | 627 | | |
631 | 628 | | |
632 | 629 | | |
633 | 630 | | |
634 | 631 | | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
635 | 636 | | |
636 | 637 | | |
637 | 638 | | |
638 | | - | |
| 639 | + | |
639 | 640 | | |
640 | 641 | | |
641 | 642 | | |
642 | | - | |
643 | | - | |
| 643 | + | |
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
| 648 | + | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | 654 | | |
659 | 655 | | |
660 | 656 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
106 | | - | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
| 307 | + | |
307 | 308 | | |
308 | 309 | | |
309 | 310 | | |
| |||
312 | 313 | | |
313 | 314 | | |
314 | 315 | | |
315 | | - | |
| 316 | + | |
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
| |||
0 commit comments