Commit Graph

2558 Commits (f159b1a8923dd8c40def280b18cc660508a202be)

Author SHA1 Message Date
bemusementpark 40b901d417 Kick user to welcome screen if they have no account id 11 months ago
AL-Session 1e02845fd2
[SES-1486] Short voice message fix (#1523)
* Initial working push with debug comments

* Fixes #1522

* Cleanup, prevent multi-pointer recording, and don't show short msg toast if locked to record quickly

* Adjusted comment phrasing

* Fix comment phrasing

* Fixed inadvertant short voice message toast on exit conversation activity

* Comment adjustment

* Comment phrasing

* Adjusted AudioRecorder.startRecording to take a callback function rather than the InputBar

* Performed Thomas' PR feedback

* Move comment to more relevant place

* Removed unused / leftover callback definition

* Removed all redundant null checks after asserting binding is not null

* Removed remaining not-null assertions & added some logged feedback to fail states

* Addressed PR feedback

* Implemented additional PR feedback

* Adjusted InputBar property visibility as per PR feedback & adjusted Toast string following discussion with Lucy

* Minor adjustment to inform user if we see an obvious network issue when sending a voice message - also tweak the locked Cancel button size to prevent text entry when locked to voice recording

* Adjust comment phrasing following further testing

* Added TODO comments to replace hard-coded string in toasts

* Addressed Thomas PR feedback suggestion

* Addressed another feedback suggestion

* Adjustment to continue informing user of network / node path issues

* Improved & moved network check method

* Corrected ticket number into TODO comments

* Addressed Andy PR feedback

* Adjust network connectivity checks to just log issues rather than inform the user (as per Rebecca / Kee convo)

---------

Co-authored-by: alansley <aclansley@gmail.com>
11 months ago
bemusementpark 7111bb7725 Merge branch 'od' into on-2 11 months ago
bemusementpark ae4c6b8a4e Fix RadioButton a11y 11 months ago
AL-Session a30f00104e
[SS-54] Add dialog to allow local deletion if network deletion fails (#1526)
* WIP

* Push before attempting some HTTPRequestFailedException rate limiting

* Functionality now works

* Merging dev resulted in some subproject commit change so pushing that

* Fixes #1525

* Addressed Andy PR feedback

* Addressed further PR feedback from Andy

---------

Co-authored-by: alansley <aclansley@gmail.com>
11 months ago
bemusementpark d4c433a926 Fix shareFlow#tryEmit in pick display name 11 months ago
bemusementpark 508547a013 Defer setting display name until necessary in create flow in onboarding 11 months ago
bemusementpark 9cf3a37a2b Handle backpresses in onboarding 11 months ago
Fanchao Liu 0da949c8e6
[SES-1966] Attachment batch download and tidy-up (#1507)
* Attachment batch download

* Addressed feedback and test issues

* Feedback fixes

* timedWindow for flow

* Feedback

* Dispatchers

* Remove `flowOn`

* New implementation of timedBuffer

* Organise import

* Feedback

* Fix test

* Tidied up logic around `eligibleForDownload`

* Updated comment

---------

Co-authored-by: fanchao <git@fanchao.dev>
11 months ago
Fanchao Liu fec67e282a
[SES-2018] Refactor mention (#1510)
* Refactor mention

* Fixes robolectric test problem

* Fixes tests

* Naming and comments

* Naming

* Dispatcher

---------

Co-authored-by: fanchao <git@fanchao.dev>
11 months ago
bemusementpark d621036af6 Rename LoadAccountViewModel 11 months ago
ceokot a260717d42
Highlight @You mentions (#985)
* Highlight @You mentions

* fix: resolve merge conflicts

* Setting the proper design rules for mentions

* New RoundedBackgroundSpan, applied to "you"  mentions

The rounded background highlighter can take padding, so there is no need to add those extra spaces at the start and end.

* Better mention highlight logic

Some mention highlight should only format the text and not apply any styling.
Also making sure we cater for all cases properly

* Updated the text color logic based on design rules

* Fine tuning the color rules

* Removing usage of Resources.getSystem()

Only making the db call if there actually is a mention

* Moving color definition outside the loop to avoid repetitions

---------

Co-authored-by: charles <charles@oxen.io>
Co-authored-by: 0x330a <92654767+0x330a@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
11 months ago
bemusementpark 1f7a1c7e0d Fix copy mnemonic 11 months ago
bemusementpark aac228ba91 Remove unused button 11 months ago
Andrew 1d80bb0ba9
[SES-337] Add rounded corners to thumbnail in QuoteView (#1285)
* Add rounded corners to thumbnail in QuoteView

* Simplify ThumbnailView

* Cleanup ThumbnailView

* Removed include custom attributes

The custom attributes are not passed to the view.
I added the radius programatically instead.

* Clipping whole thumbnail view instead of just the image requests

---------

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
11 months ago
Andrew 0ebbd35031 Fix path indicator on SettingsActivity 11 months ago
Andrew eb63af2f8d SES-2259 Remove 35 char display name char limit 11 months ago
Andrew e3685f65f8 Fix display name length 11 months ago
Andrew ad2bf6e344 Fix shield position in Load Account 11 months ago
Andrew 17fbe5403c Remove open url modal in New Message Bottom Sheet 11 months ago
Andrew 1cd7a57515 Ignore extra spaces and special characters in Recovery Password entry 11 months ago
Andrew 750dfb455d Fix cursor error color 11 months ago
Andrew a8082494ba Restore next button position for Android 11 months ago
Andrew f4cb0b8e6d Update errors 11 months ago
Andrew 4aa0e55dc6 Hide next button when empty in new message 11 months ago
Andrew b775b5aca9 Reuse getSearchName 11 months ago
Fanchao Liu 0f47076192
[SES-2162] - Remove wrapping of config message (#1517)
* Remove wrapping of config message

* Addresses feedback

* Merged in ThreadUtils fix

* JDK installation

* Revert JDK change

---------

Co-authored-by: fanchao <git@fanchao.dev>
11 months ago
Andrew 5ebde324c2 SES-2236 Fix profile self name 11 months ago
Andrew ebbd95dac1 Fix new message next button color 11 months ago
Andrew 5793d4e71d Add remaining contentDescriptions 11 months ago
Andrew 031f3eb45f Fix contentDescriptions on pick display and message notifications 11 months ago
Andrew 9831758060 Fix QR code padding and icon 11 months ago
Andrew aa5e46ff44 Fix You will be able to send string 11 months ago
Andrew 1f50a702bc SES-2229 Fix NewMessage ONS timeout error message for real 11 months ago
Andrew f2e72d794b Simplify search processing 11 months ago
Andrew a52bafbf98 SES-2237 Fix search sorting 11 months ago
Andrew 84efcd2f21 Remove ribbon image for note to self in search 11 months ago
Andrew e7b547acaf SES-2234 Fix Hide Recovery html dialog 11 months ago
Andrew a630b8af09 SES-2233 Fix recovery password icon in settings 11 months ago
Andrew bae83d9ea6 SES-2229 Add ons unable to search error message 11 months ago
Andrew 761a983e0c SES-2228 ONS error message 11 months ago
Andrew 39c7f27c7d Fix QR code scan & display 11 months ago
Andrew ff6c0fb6f5 Accept mnemonic as hex in QR codes 11 months ago
Andrew 578c471f1e Fis Message notifications button style 11 months ago
Andrew 40c08143f3 Fix ItemButton TextStyle 11 months ago
Andrew 5294cd45a0 Fix ItemButton minHeight style 11 months ago
Andrew 432a2816ab Merge branch 'od' into on-2 11 months ago
Andrew 27fda9fd46 Fix Qr Code errors 11 months ago
Andrew db15fe0840 Rename StartConversationFragment.kt 11 months ago
Andrew fa705e9e78 Fix text color on QR Activity 11 months ago
Andrew 49127d5fcb Restore New Message > Scan permission style 11 months ago
Andrew 1e9b0ec7f8 Add back button to message notifications 11 months ago
Andrew 86fcd035a1 Fix press back from recover pick display name 11 months ago
Andrew 28c28dc4be Fix start conversation button padding 11 months ago
Andrew 78da9bdc67 Rename StartConversation 11 months ago
Andrew a55c85c28c Fix Start Conversation Title 11 months ago
Andrew ee97eb54f4 Fix Enter Account ID or ONS Text 11 months ago
Andrew 02ebb5a5c7 Fix outline text padding 11 months ago
Andrew 4afec51de5 Simplify outline text style 11 months ago
Andrew 72dccaa1d3 Add MnemonicCodecTest 11 months ago
Andrew 9288701556 Use ime button in text field 11 months ago
Andrew 423df70351 SES-2201 Fix error on 1 word missing 11 months ago
Andrew 073b31d620 SES-2200 Fix enter display name error strings 11 months ago
Andrew 326b81cea3 SES-2219 Fix TextField styling 11 months ago
Andrew d755fc20fa Make RadioButton animation even cooler 11 months ago
Andrew a9fdf9a733 SES-2220 Tweak Mesage notifications 11 months ago
Andrew 287b5566c4 Remove session id refs 11 months ago
Andrew ed3094bfd7 SES-2216 Copy Account ID 11 months ago
Andrew f1c14e571f SES-2218 Lock App 11 months ago
ThomasSession a0e6167718
Merge pull request #1352 from rugveddarwhekar/master
Fixed #1085 | Video call auto rotate, when auto rotate is disabled
11 months ago
ThomasSession d22cb1e2c2 Remove config checks (PR 1294)
Refactor: remove checks for whether new config is enabled throughout config factory generation.
First commit from PR 1294.
11 months ago
ThomasSession 752f8cc738
Merge pull request #1298 from bemusementpark/fix-send-whitespace
Hide send button when message contains only whitespace
11 months ago
ThomasSession 031a18061d Using trim and empty to capture semantic concept of nothing being in there 11 months ago
ThomasSession 48aacae6c5 Merge branch 'dev' into pr/1298 11 months ago
ThomasSession 01655b8633
Merge pull request #1508 from simophin/fix-home-screen-dispatcher
Correct the usage of flowOn
11 months ago
fanchao 0547dde554 Remove the use of executor in ThreadUtils 11 months ago
Andrew e9dd333034 Remove unused button colors 11 months ago
Andrew d8f032ff9e Fix textSelectionColors 11 months ago
Andrew f2959073ec Fix NewMessage errors 11 months ago
ThomasSession ba9f729d63
Merge pull request #1512 from simophin/ses-2021-improve-xml-loading
[SES-2021] Optimise XML loading
11 months ago
ThomasSession 46358f4318
Merge pull request #1487 from simophin/ses-637-voice-message-keeps-playing
[SES-637] - Stop playing message if deleted
11 months ago
Andrew 8b79fd6850 Use button color lists 11 months ago
Andrew 27c59a8d7b Remove flowOn in LoadingViewModel 11 months ago
Andrew b7de36b694 Fix button colors 11 months ago
ThomasSession d3c4e11aec
Merge pull request #1332 from aaronkerckhoff/display-own-name-in-quote
Fix bug displaying user ID when quoting own message
11 months ago
Andrew 7c523a1ead Cleanup Button Preview 11 months ago
Andrew ce5e7212ef Add disabled states to Button Preview 11 months ago
Andrew 175e1029ad Add disabled state to fill buttons 11 months ago
Andrew acbe4de25a Add Color to ButtonType to support Fill and PrimaryFill 11 months ago
Andrew f06d53c746 Fix Button Colors 11 months ago
Andrew 79e0efa98a Fix next button color 11 months ago
Andrew b0a939291d Emit LoadingVM events on main thread 11 months ago
Andrew 01064717b2 Cleanup 11 months ago
Andrew 70af6f57b7 Fix New Conversation Home Style 11 months ago
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.
11 months ago
Andrew 5147d059b9 Fix Borderless Buttons 11 months ago
Andrew d57158eb3d Improve AlertDialog for enlarged text 11 months ago
Andrew d43ab8dc8b Fix imports in SettingsActivity 11 months ago
Andrew b97ff99866 Fix import in Text 11 months ago
Andrew 68a3f9d6f7 Fix button shape 11 months ago
Andrew a3ff911920 Fix imports in AlertDialog 11 months ago
Andrew 27efe99910 Fix imports in PickDisplayName 11 months ago
Andrew 921445996e Fix import in MessageNotifications 11 months ago
Andrew df532c9448 Fix import in LoadAccount 11 months ago
Andrew c69f1c8803 Fix import in EmptyView 11 months ago
Andrew d2952d0b1d Fix import in MessageDetail 11 months ago
Andrew f9e10a4189 Add dimensions to DisappearingMessages 11 months ago
Andrew 44b2cd9e71 Add support for enlarged fonts in ItemButton 11 months ago
Andrew 4e429b026e Use dimensions in MessageDetail 11 months ago
Andrew 91f73010e0 Rename dimensions for readability 11 months ago
Andrew 5e1b5b393c Remove unused ConversationPager 11 months ago
Andrew 2fc686ce73 Refactor conversation.start 11 months ago
Andrew db0eae80eb Refactor conversation.start 11 months ago
Andrew 634ec8f86c Remove unused ContactListAdapter 11 months ago
Andrew 9dfaa71a1d Add border() Component 11 months ago
ThomasSession 87f6a139ca Cleaning up more dimensions 11 months ago
ThomasSession 1eaf51aee1 Unifying dimensions and reusing values 11 months ago
Andrew 6ea535c9c7 Remove Button elevation 11 months ago
ThomasSession 7826484320 Button in new message is not slim but the regular size 11 months ago
Andrew 7ae95a953a Use SharedMutableFlow in GlobalSearch 11 months ago
Andrew 5d07a58085 Use MutableSharedFlow in QrCodeActivity 11 months ago
Andrew 51b0510edc Use MutableSharedFlow for errors in NewMessage 11 months ago
Andrew 4e43f6077d Rearrange RecoveryPassword ComposePreview 11 months ago
Andrew 79090bab22 Use MutablesharedFlow in NewMessage 11 months ago
Andrew 90ddc9805a Use MutableSharedFlow 11 months ago
Andrew 71e7dfb131 Fix NewMessage with ONS 11 months ago
Andrew bf3835d6a6 Simplify Exception handling in NewMessage 11 months ago
Andrew 922a3ce827 Move x25519KeyPair 11 months ago
Andrew 66b77abcd0 Move ButtonType to its own file 11 months ago
Andrew 01fc02c8cc Move NotificationRadioButton 11 months ago
Andrew c59637f7ec Simplify JobCancellationException 11 months ago
Andrew af99390643 Improve RecoveryPassword for small screens and/or large text 11 months ago
Andrew 3a39497267 Fix ButtonStyle filename 11 months ago
Andrew 3b283f11f5 Refactor Composables in HomeActivity 11 months ago
Andrew a1882b83f9 Rename LoadAccount 11 months ago
Andrew d6a659025d Repackage Landing 11 months ago
Andrew 6c3409f6ce Tighten visibility modifiers 11 months ago
Andrew aa6b7d4c89 Move RecoveryPassword out of onboarding 11 months ago
Andrew c13eb75128 Refactor DialogButton 11 months ago
Andrew 5841ab0218 Rename ButtonStyle 11 months ago
Andrew 081df3f7c6 Add x to dialog 11 months ago
Andrew 0c83db0855 Use new Compose AlertDialog in LandingActivity 11 months ago
Andrew bbd5fc6156 Remove unused session id accessibility ids 11 months ago
Andrew 2341685fd3 Standardise margins 11 months ago
Andrew e2eea61c68 Use Dimensions in AppBar 11 months ago
Andrew 3a75f2a303 Remove slim outline color 11 months ago
Andrew a2cce441a8 Inline NewConversationDelegate 11 months ago
Andrew 8fd653c9d4 Fix ItemButton contentDescriptions 11 months ago
Andrew 253fe9136d Changes for code review 11 months ago
Andrew 46650ef678 Cleanup MessageNotificationsActivity when 11 months ago
Andrew 73a25c88f1 Rename load failed 11 months ago
Andrew 56df122331 Repackage PickDisplayName 11 months ago
Andrew 3e8701d10f Start loading account while user chooses notifications 11 months ago
Andrew b18561acb4 Repackage Loading and MessageNotifications 11 months ago
Andrew c6952cfcc1 Add LightDarkColors and repackage to colors 11 months ago
Andrew f83bd8b3d4 Fix SeedReminder button color 11 months ago
ThomasSession 2373612f98 Theming the tab indicator according to designs 11 months ago
Andrew bd679b0889 Fix QR offscreen not scrollable w/Thomas' code 11 months ago
Andrew 2f9dbe27c8 Add PreviewNewConversationScreen 11 months ago
Andrew 6f128f3003 Cleanup 11 months ago
Andrew 74d2dc02ae Fix GlobalSearchInputLayout 11 months ago
Andrew f0e09b5607 Add EmptyView Previews to HomeActivity 11 months ago
Andrew f3d90e3adb Organise and fix a few button colors 11 months ago
Andrew e44b401bd5 Fix New Message ONS request timeout 11 months ago
Andrew f69b629053
Receive events as new flow in NewMessageViewModel
Co-authored-by: Fanchao Liu <273191+simophin@users.noreply.github.com>
11 months ago
Andrew 81d5901e72 Rename Palette to Colors 11 months ago
Andrew 969018e640 Fix MessageDetail textStyle 11 months ago
Andrew c9ad0be530 Use dimensions in NewMessageFragment 11 months ago
Andrew a2b1a6ad74 Rename onCreateComposeView 11 months ago
Andrew b63f63585b Cleanup 11 months ago
Andrew 351f2d9c57 Cleanup 11 months ago
Andrew 962d4e9a28 Fix button styles 11 months ago
Andrew 4e4ffc02ec Remove MaterialTheme usages 11 months ago
Andrew 96157d65a6 Remove manual theming and fix background colors 11 months ago
Andrew 9721dbbd9e Declare colors statically 11 months ago
Andrew cd53533235 Remove color arrays 11 months ago
Andrew deea6c722b Support light dark system setting 11 months ago
Andrew f00d2ff06d Organise themes 11 months ago
Andrew 9eb7316c20 Fix QR code 11 months ago
Andrew 6ee2a6e0a9 Fix QRs and radio buttons 11 months ago
Andrew f97630e38a Fix ocean dark 11 months ago
Andrew f7396503b2 Use session colors 11 months ago
Andrew 939999de76 Utilise new SessionColors 11 months ago
Andrew f1000ac6e6 Add colors theme object 11 months ago
Andrew 31d2ea2dc4 Add style to color preview 11 months ago
Andrew 204993397f Fix OutlineButton disabled state 11 months ago
Andrew 6df63b034c Fix BorderlessButtonWithIcon 11 months ago
Andrew f8e3bc7d9a Fix loading state in New Message Fragment 11 months ago
Andrew 69c778bf1d
Merge branch 'on-2' into pr/1451-buttons 11 months ago
Andrew 7dcefb4847 Styling 11 months ago
ThomasSession 7dceb7c66a Buttons re-arranging 11 months ago
Andrew 9d3ef2758d Fix some padding 11 months ago
Andrew 04fbf64d50 Add question icon to help button 11 months ago
Andrew c44e75fe78 Update color preview 11 months ago
Andrew cf1649a6af Refactor copy button 11 months ago
fanchao 2c90717235 Merge remote-tracking branch 'upstream/dev' into ses-637-voice-message-keeps-playing 11 months ago
Andrew 48febb4f10 Add missing base text styles 11 months ago
Andrew 3c36f1247b Styling 11 months ago
Andrew 50f9864a8b Use LocalDimensions in LandingActivity 11 months ago
fanchao d0e4148040 Remove view pools 11 months ago