Commit Graph

2472 Commits

Author SHA1 Message Date
Andrew
ce5e7212ef Add disabled states to Button Preview 2024-06-20 12:46:12 +09:30
Andrew
175e1029ad Add disabled state to fill buttons 2024-06-20 11:56:37 +09:30
Andrew
acbe4de25a Add Color to ButtonType to support Fill and PrimaryFill 2024-06-20 11:34:01 +09:30
Andrew
f06d53c746 Fix Button Colors 2024-06-19 17:03:57 +09:30
Andrew
79e0efa98a Fix next button color 2024-06-19 16:58:20 +09:30
Andrew
b0a939291d Emit LoadingVM events on main thread 2024-06-19 16:55:19 +09:30
Andrew
01064717b2 Cleanup 2024-06-19 12:45:13 +09:30
Andrew
70af6f57b7 Fix New Conversation Home Style 2024-06-19 11:57:43 +09:30
ThomasSession
af658ffc45 Fixing blocked views on small screen due to the keyboard popping up
Also managed to maintain the ime padding for larger screens that DO want the button moving up.
2024-06-19 11:53:03 +09:30
Andrew
5147d059b9 Fix Borderless Buttons 2024-06-19 00:04:43 +09:30
Andrew
d57158eb3d Improve AlertDialog for enlarged text 2024-06-18 23:23:50 +09:30
Andrew
d43ab8dc8b Fix imports in SettingsActivity 2024-06-18 22:40:41 +09:30
Andrew
b97ff99866 Fix import in Text 2024-06-18 22:28:40 +09:30
Andrew
68a3f9d6f7 Fix button shape 2024-06-18 22:21:04 +09:30
Andrew
a3ff911920 Fix imports in AlertDialog 2024-06-18 22:13:28 +09:30
Andrew
27efe99910 Fix imports in PickDisplayName 2024-06-18 22:08:38 +09:30
Andrew
921445996e Fix import in MessageNotifications 2024-06-18 22:06:40 +09:30
Andrew
df532c9448 Fix import in LoadAccount 2024-06-18 22:05:24 +09:30
Andrew
c69f1c8803 Fix import in EmptyView 2024-06-18 22:03:17 +09:30
Andrew
d2952d0b1d Fix import in MessageDetail 2024-06-18 22:02:43 +09:30
Andrew
f9e10a4189 Add dimensions to DisappearingMessages 2024-06-18 22:01:49 +09:30
Andrew
44b2cd9e71 Add support for enlarged fonts in ItemButton 2024-06-18 21:59:26 +09:30
Andrew
4e429b026e Use dimensions in MessageDetail 2024-06-18 21:56:02 +09:30
Andrew
91f73010e0 Rename dimensions for readability 2024-06-18 21:45:36 +09:30
Andrew
5e1b5b393c Remove unused ConversationPager 2024-06-18 21:12:49 +09:30
Andrew
2fc686ce73 Refactor conversation.start 2024-06-18 21:10:44 +09:30
Andrew
db0eae80eb Refactor conversation.start 2024-06-18 20:39:45 +09:30
Andrew
634ec8f86c Remove unused ContactListAdapter 2024-06-18 20:30:55 +09:30
Andrew
9dfaa71a1d Add border() Component 2024-06-18 20:02:04 +09:30
ThomasSession
87f6a139ca Cleaning up more dimensions 2024-06-18 19:53:35 +09:30
ThomasSession
1eaf51aee1 Unifying dimensions and reusing values 2024-06-18 19:41:55 +09:30
Andrew
6ea535c9c7 Remove Button elevation 2024-06-18 17:45:04 +09:30
ThomasSession
7826484320 Button in new message is not slim but the regular size 2024-06-18 17:40:03 +09:30
Andrew
7ae95a953a Use SharedMutableFlow in GlobalSearch 2024-06-18 12:23:56 +09:30
Andrew
5d07a58085 Use MutableSharedFlow in QrCodeActivity 2024-06-18 12:21:38 +09:30
Andrew
51b0510edc Use MutableSharedFlow for errors in NewMessage 2024-06-18 12:20:05 +09:30
Andrew
4e43f6077d Rearrange RecoveryPassword ComposePreview 2024-06-18 12:18:42 +09:30
Andrew
79090bab22 Use MutablesharedFlow in NewMessage 2024-06-18 12:18:14 +09:30
Andrew
90ddc9805a Use MutableSharedFlow 2024-06-18 12:12:25 +09:30
Andrew
71e7dfb131 Fix NewMessage with ONS 2024-06-18 11:28:36 +09:30
Andrew
bf3835d6a6 Simplify Exception handling in NewMessage 2024-06-18 09:46:20 +09:30
Andrew
922a3ce827 Move x25519KeyPair 2024-06-17 20:04:25 +09:30
Andrew
66b77abcd0 Move ButtonType to its own file 2024-06-17 19:54:00 +09:30
Andrew
01fc02c8cc Move NotificationRadioButton 2024-06-17 19:51:25 +09:30
Andrew
c59637f7ec Simplify JobCancellationException 2024-06-17 19:45:32 +09:30
Andrew
af99390643 Improve RecoveryPassword for small screens and/or large text 2024-06-17 19:19:15 +09:30
Andrew
3a39497267 Fix ButtonStyle filename 2024-06-17 19:16:27 +09:30
Andrew
3b283f11f5 Refactor Composables in HomeActivity 2024-06-17 19:13:08 +09:30
Andrew
a1882b83f9 Rename LoadAccount 2024-06-17 18:56:14 +09:30
Andrew
d6a659025d Repackage Landing 2024-06-17 18:32:48 +09:30
Andrew
6c3409f6ce Tighten visibility modifiers 2024-06-17 18:21:25 +09:30
Andrew
aa6b7d4c89 Move RecoveryPassword out of onboarding 2024-06-17 18:17:26 +09:30
Andrew
c13eb75128 Refactor DialogButton 2024-06-17 18:02:16 +09:30
Andrew
5841ab0218 Rename ButtonStyle 2024-06-17 17:52:56 +09:30
Andrew
081df3f7c6 Add x to dialog 2024-06-17 17:28:47 +09:30
Andrew
0c83db0855 Use new Compose AlertDialog in LandingActivity 2024-06-17 17:23:02 +09:30
Andrew
bbd5fc6156 Remove unused session id accessibility ids 2024-06-17 16:30:59 +09:30
Andrew
2341685fd3 Standardise margins 2024-06-17 14:39:45 +09:30
Andrew
e2eea61c68 Use Dimensions in AppBar 2024-06-17 14:09:30 +09:30
Andrew
3a75f2a303 Remove slim outline color 2024-06-17 13:58:52 +09:30
Andrew
a2cce441a8 Inline NewConversationDelegate 2024-06-17 13:47:27 +09:30
Andrew
8fd653c9d4 Fix ItemButton contentDescriptions 2024-06-17 13:41:28 +09:30
Andrew
253fe9136d Changes for code review 2024-06-17 12:50:24 +09:30
Andrew
46650ef678 Cleanup MessageNotificationsActivity when 2024-06-17 09:41:05 +09:30
Andrew
73a25c88f1 Rename load failed 2024-06-17 09:37:15 +09:30
Andrew
56df122331 Repackage PickDisplayName 2024-06-16 23:16:14 +09:30
Andrew
3e8701d10f Start loading account while user chooses notifications 2024-06-16 23:12:29 +09:30
Andrew
b18561acb4 Repackage Loading and MessageNotifications 2024-06-16 14:40:46 +09:30
Andrew
c6952cfcc1 Add LightDarkColors and repackage to colors 2024-06-15 23:41:21 +09:30
Andrew
f83bd8b3d4 Fix SeedReminder button color 2024-06-15 22:32:43 +09:30
ThomasSession
2373612f98 Theming the tab indicator according to designs 2024-06-15 14:13:09 +09:30
Andrew
bd679b0889 Fix QR offscreen not scrollable w/Thomas' code 2024-06-15 14:08:20 +09:30
Andrew
2f9dbe27c8 Add PreviewNewConversationScreen 2024-06-15 12:29:05 +09:30
Andrew
6f128f3003 Cleanup 2024-06-15 01:44:51 +09:30
Andrew
74d2dc02ae Fix GlobalSearchInputLayout 2024-06-15 01:28:00 +09:30
Andrew
f0e09b5607 Add EmptyView Previews to HomeActivity 2024-06-15 01:15:06 +09:30
Andrew
f3d90e3adb Organise and fix a few button colors 2024-06-15 00:36:46 +09:30
Andrew
e44b401bd5 Fix New Message ONS request timeout 2024-06-15 00:36:10 +09:30
Andrew
f69b629053
Receive events as new flow in NewMessageViewModel
Co-authored-by: Fanchao Liu <273191+simophin@users.noreply.github.com>
2024-06-14 18:07:27 +09:30
Andrew
81d5901e72 Rename Palette to Colors 2024-06-14 17:31:52 +09:30
Andrew
969018e640 Fix MessageDetail textStyle 2024-06-14 15:53:46 +09:30
Andrew
c9ad0be530 Use dimensions in NewMessageFragment 2024-06-14 15:24:09 +09:30
Andrew
a2b1a6ad74 Rename onCreateComposeView 2024-06-14 15:21:43 +09:30
Andrew
b63f63585b Cleanup 2024-06-14 15:18:41 +09:30
Andrew
351f2d9c57 Cleanup 2024-06-14 15:00:22 +09:30
Andrew
962d4e9a28 Fix button styles 2024-06-14 14:57:38 +09:30
Andrew
4e4ffc02ec Remove MaterialTheme usages 2024-06-14 00:51:23 +09:30
Andrew
96157d65a6 Remove manual theming and fix background colors 2024-06-13 12:26:51 +09:30
Andrew
9721dbbd9e Declare colors statically 2024-06-13 11:56:34 +09:30
Andrew
cd53533235 Remove color arrays 2024-06-13 11:12:45 +09:30
Andrew
deea6c722b Support light dark system setting 2024-06-13 10:42:19 +09:30
Andrew
f00d2ff06d Organise themes 2024-06-13 10:33:15 +09:30
Andrew
9eb7316c20 Fix QR code 2024-06-13 10:20:40 +09:30
Andrew
6ee2a6e0a9 Fix QRs and radio buttons 2024-06-13 10:11:37 +09:30
Andrew
f97630e38a Fix ocean dark 2024-06-13 09:43:30 +09:30
Andrew
f7396503b2 Use session colors 2024-06-13 09:14:56 +09:30
Andrew
939999de76 Utilise new SessionColors 2024-06-13 00:50:50 +09:30
Andrew
f1000ac6e6 Add colors theme object 2024-06-12 19:00:06 +09:30
Andrew
31d2ea2dc4 Add style to color preview 2024-06-12 14:44:18 +09:30
Andrew
204993397f Fix OutlineButton disabled state 2024-06-12 14:27:52 +09:30
Andrew
6df63b034c Fix BorderlessButtonWithIcon 2024-06-12 14:05:34 +09:30
Andrew
f8e3bc7d9a Fix loading state in New Message Fragment 2024-06-12 13:59:40 +09:30
Andrew
69c778bf1d
Merge branch 'on-2' into pr/1451-buttons 2024-06-12 13:53:37 +09:30
Andrew
7dcefb4847 Styling 2024-06-12 13:13:21 +09:30
ThomasSession
7dceb7c66a Buttons re-arranging 2024-06-12 13:38:23 +10:00
Andrew
9d3ef2758d Fix some padding 2024-06-12 12:48:58 +09:30
Andrew
04fbf64d50 Add question icon to help button 2024-06-12 12:35:59 +09:30
Andrew
c44e75fe78 Update color preview 2024-06-12 12:35:32 +09:30
Andrew
cf1649a6af Refactor copy button 2024-06-12 11:06:13 +09:30
fanchao
2c90717235 Merge remote-tracking branch 'upstream/dev' into ses-637-voice-message-keeps-playing 2024-06-12 10:09:31 +10:00
Andrew
48febb4f10 Add missing base text styles 2024-06-12 08:56:48 +09:30
Andrew
3c36f1247b Styling 2024-06-12 01:13:47 +09:30
Andrew
50f9864a8b Use LocalDimensions in LandingActivity 2024-06-11 15:07:53 +09:30
fanchao
d0e4148040 Remove view pools 2024-06-11 15:26:01 +10:00
fanchao
072accb1e1 Remove unused file 2024-06-11 14:10:56 +10:00
fanchao
54bb84541a Optimise XML 2024-06-11 13:38:03 +10:00
Andrew
9ee2b9207b Remove deprecated accompanist-pager 2024-06-11 09:58:18 +09:30
Andrew
3687e2ed46 Improve QR padding 2024-06-11 09:52:39 +09:30
Andrew
f183e162a8 Use text styles 2024-06-08 10:01:33 +09:30
Andrew
5ede4a5776 Rename sendInvitationToUseSession 2024-06-07 17:42:44 +09:30
Andrew
5459b1eb1d Naming for code review 2024-06-07 16:36:46 +09:30
Andrew
f66fbef0ad Fix QR icon background and changes for code review 2024-06-07 15:28:12 +09:30
Andrew
79c35b0e3b Fix keypress non-alphanumeric keys 2024-06-07 00:26:54 +09:30
Andrew
f40a0a8a48 Finish contentDescriptions 2024-06-06 12:21:25 +09:30
Andrew
6ffb71e6a1 Center seed on Recovery Activity 2024-06-06 11:28:11 +09:30
Andrew
bf692e8346 Clean imports 2024-06-06 11:25:18 +09:30
Andrew
b571348a66 Refactor temporary buttons 2024-06-06 11:22:36 +09:30
Andrew
c489765a50 Add contentDescriptions 2024-06-06 11:00:51 +09:30
Andrew
50addd644c Merge branch 'on' into on-2 2024-06-06 09:21:49 +09:30
Andrew
2cca1d4d8c Tweak animations and make it scrollable on small screens 2024-06-05 12:05:58 +09:30
Andrew
d0ebd3533b Reinstate landing chat animation 2024-06-04 23:17:00 +09:30
fanchao
6e24df0547 Import 2024-06-04 10:46:02 +10:00
fanchao
172edde628 Correct the usage of flowOn 2024-06-04 10:41:15 +10:00
Ryan ZHAO
a37039cebf retrieve user profile only during onboarding 2024-05-30 16:08:05 +10:00
Andrew
59910eeb48 Merge branch 'dev' into on 2024-05-30 11:09:51 +09:30
Ryan ZHAO
4acc42730b Merge branch 'on' of https://github.com/bemusementpark/session-android into poller-fix 2024-05-30 10:28:44 +10:00
Andrew
9b6fa0db01
Update version for release-1.18.4 2024-05-30 09:38:33 +09:30
Andrew
fe29bce70d
Merge pull request #1497 from bemusementpark/ses-1948
[SES-1948] Do not fetch quotes recursively
2024-05-29 13:23:27 +09:30
Andrew
6e887fe43e
Merge pull request #1503 from bemusementpark/ses-1949
[SES-1949] Move unapprovedMessageCount to IO
2024-05-29 12:11:10 +09:30
Andrew
410e298bca
Merge pull request #1492 from simophin/ses-1931-fix-debouncer
[SES-1931] - Fix debouncer crash
2024-05-29 11:38:29 +09:30
Andrew
66c0f940aa
Merge pull request #1494 from simophin/ses-1935-audio-recording-crash
[SES-1935] Audio recording crash
2024-05-29 11:38:00 +09:30
Andrew
34baa9dc89
Merge pull request #1481 from bemusementpark/s1889
[SES-1889] Fix IndexOutOfBounds in MediaPreview
2024-05-29 10:40:45 +09:30
Andrew
69c50e6822 Dont reassign messageRequests if value didn't change 2024-05-29 10:29:47 +09:30
Andrew
4fab64e6ee Schedule share pref 2024-05-28 19:29:24 +09:30
Andrew
04215f74e1 Bind message requests in HomeAdapter 2024-05-28 16:44:49 +09:30
Andrew
cd302f9f27 Move unapprovedMessageCount to IO 2024-05-28 12:57:50 +09:30
Andrew
b757691334
Merge pull request #1493 from simophin/ses-1936-oom
[SES-1936] Fix memory leaks
2024-05-28 11:04:41 +09:30
Andrew
193381e193 Fix merge master to dev for release-1.18.3 2024-05-27 18:50:49 +09:30
fanchao
35335480ca Merge remote-tracking branch 'upstream/dev' into ses-1936-oom 2024-05-27 13:37:00 +10:00
fanchao
0d3a33e6c6 Fix delete message for everyone doesn't stop the audio playing 2024-05-27 13:25:56 +10:00
fanchao
2d7f23a2fb More work on animation views 2024-05-27 13:18:51 +10:00
fanchao
c0128b88de OOM feedback 2024-05-27 10:29:53 +10:00
Andrew
9d22e86a2f Merge master into dev 2024-05-24 12:03:52 +09:30
Andrew
f90cea8fe2 Do not fetch quotes recursively 2024-05-23 18:59:09 +09:30
fanchao
31f4de22cd More changes 2024-05-23 14:17:38 +10:00
fanchao
c1d82cc574 Naming 2024-05-23 13:49:38 +10:00
fanchao
90f0caebbd Tidy up 2024-05-23 13:48:06 +10:00
Andrew
8c9ff9840c Move next button up on new message fragment 2024-05-22 20:46:20 +09:30
alansley
f6fb4ab78c Attachment download job re-start preventer removed 2024-05-22 17:04:44 +10:00
fanchao
ee9a0a610c Logging 2024-05-22 11:13:26 +10:00
fanchao
c7c0519a20 Feedback 2024-05-22 10:54:56 +10:00
fanchao
27fcc66e7f Defensive check 2024-05-21 15:05:36 +10:00
fanchao
75e53c86b1 Fixes SES-1936 2024-05-21 11:44:08 +10:00
fanchao
2002b6f397 Fixes SES-1931 debouncer crash 2024-05-20 16:11:43 +10:00
Andrew
4904524af5 Fix excessive last sent calls 2024-05-20 13:58:13 +09:30
fanchao
10597f1f30 Import 2024-05-20 09:53:44 +10:00
fanchao
a8cc9e2409 Comments 2024-05-20 09:50:29 +10:00
fanchao
03893973b7 Feedback 2024-05-20 09:34:40 +10:00
Andrew
cf13caaee4
Bump canonicalVersionCode 2024-05-17 16:25:19 +09:30
Andrew
44f47662a7
Update version 1.18.3 2024-05-17 14:07:33 +09:30
Andrew
31cbaa9480
Merge pull request #1484 from AL-Session/SES1901_LastSentMsgANR
SES1901- Last sent msg ANR fix
2024-05-17 13:53:21 +09:30
Al Lansley
f6275362ea Removed 2 (two) accidentally left in commented lines 2024-05-17 13:48:10 +09:30
Al Lansley
c312c27dd3 Reduce frequency of calls to find last sent message 2024-05-17 13:48:10 +09:30
alansley
4bef09a3c1 Removed comment following PR feedback 2024-05-17 13:48:10 +09:30
alansley
9cf30dd67e Minor phrasing & indentation adjustments 2024-05-17 13:48:10 +09:30
alansley
b300b9a743 Addressed PR feedback 2024-05-17 13:48:10 +09:30
alansley
8c31c83fc5 Fixes #1483 2024-05-17 13:48:10 +09:30
fanchao
e49d017b08 Comments 2024-05-17 14:09:40 +10:00
fanchao
23872afeb4 Accidental change 2024-05-17 14:09:10 +10:00
fanchao
580bf9ebb3 Accidental change 2024-05-17 14:07:52 +10:00
fanchao
1377e192a1 Stop playing message if deleted 2024-05-17 14:02:34 +10:00
Andrew
a2a112e8b1
Prevent reloading sodium (#1485) 2024-05-17 12:54:57 +09:30
Andrew
f08c60633e Move newmessage 2024-05-16 23:40:18 +09:30
Andrew
272f223ca0 Merge branch 'on' into on-2 2024-05-15 11:34:17 +09:30
Andrew
8ef8107101 Merge branch 'dev' into on 2024-05-15 11:15:11 +09:30
Andrew
0512fd3500 Rename startPNModeActivity to startMessageNotificationsActivity 2024-05-15 11:08:45 +09:30
Andrew
0867fb7da0 Fix accessibility ids 2024-05-15 01:05:11 +09:30
Andrew
9f15039188 Add more info to unselect exception 2024-05-14 15:25:45 +09:30
Andrew
41dde12530 Clamp MediaPreview#getCursorPosition 2024-05-14 14:35:21 +09:30
Andrew
cee06bf7ee Remove invalid ViewPagerListener before updating pager data 2024-05-14 13:43:25 +09:30
Andrew
be0b800751 Move adapter to field 2024-05-14 13:36:12 +09:30
Andrew
b54efd6206 Clamp initial page of MediaPreview 2024-05-14 13:13:38 +09:30
Andrew
c32a5b6bba Handle QR errors 2024-05-10 01:08:53 +09:30
Andrew
1445d56d08 Extract strings 2024-05-09 02:07:50 +09:30
Andrew
9935b641e1 Fix glitch when canceling a search and reopening search 2024-05-09 00:55:10 +09:30
Andrew
a054fae758 Add strings and make qr scan call callback 2024-05-08 21:09:06 +09:30
Andrew
853c165949 Refresh contacts on open 2024-05-08 21:07:42 +09:30
Andrew
cad96001d1 Merge branch 'dev' into on-2 2024-05-08 15:59:53 +09:30
Andrew
1f1c51669c Update empty search 2024-05-08 13:16:46 +09:30
Andrew
afd240dcce Simplify HomeActivity 2024-05-07 10:58:41 +09:30