Commit Graph

2658 Commits

Author SHA1 Message Date
bemusementpark
5a931845cb Add TelephonyHandler.kt 2024-07-19 14:54:52 +09:30
bemusementpark
8037502f35 Clean CallManager etc 2024-07-19 13:06:52 +09:30
ThomasSession
19c991ebc8
New translation URL (#1555)
* Using the new translate URL

Cleaned up unused references

* empty space
2024-07-18 16:58:16 +10:00
ThomasSession
9e2b24f7b9
Feature/compose cleanup (#1543)
* Moving color files

* Moving theme classes into their own package

* Only obtain new theme when required

* UI Tweaks

Using the proper color for danger as opposed to one hardcoded color
Reusing BlackAlpha40
Using the right delete icon in settings

* matching figma

* Matching signature across buttons

* Dialogs do not have a 'x' button by default

* Updated typography

Updated the typography in an composition local so it can be accessed from anyehere in compose and matching the figma declarations.

* Centered text in control messages

* Fixing new color access for action items

* renaming spacing to be more general

* Unifying dimensions and rectifying design inconsistencies

Unifying spacing values and reusing common ones
Identified spacing issues and inconsistencies in design and figma

* Rounded corners for the new conversation sheet

* Rounding sheets corners

* Spacing fixes and UI consolidating

Discussed with QA to make sure the 'new message' screen should  indeed behave as the other screens and use disabled state instead of disappearing

* Disappearing messages tweaks

Re-using our new radio buttons in disappearing messages
Tweaking UI to match designs

* Cleaning up spaces

* Migrating to Material3

* Fixing UI issues found

* PR feedbacks

---------

Co-authored-by: bemusementpark <bemusementpark>
2024-07-18 16:32:03 +10:00
AL-Session
d23a0b8ceb
Converted three classes to kotlin (#1552) 2024-07-18 13:17:17 +10:00
Andrew
e2a40ddabc
Merge pull request #1451 from bemusementpark/on-2
[SES-48 SES-824] Onboarding Overhaul
2024-07-18 11:20:32 +09:30
Morgan Pretty
afcb8c1150 Removed the attribution label 2024-07-18 09:11:37 +10:00
Morgan Pretty
d6ea2221ec
Merge pull request #1545 from mpretty-cyro/update-geolite2
Updated GeoLite2 database
2024-07-17 15:29:42 +10:00
ThomasSession
01cd449794
Fix/video call rotation and avatars (#1548)
* Simplifying profile picture view

We don't need the isLarge option as the component's size is always set.
Using profilePictureView in the call screen.

* Swapping avatars between user and contact's

* Adding the user's avatar for when it  needs to be displayed

* Making sure we never invert the contact's landscape rotation

* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt

Co-authored-by: Andrew <andrewgallasch@gmail.com>

* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt

Co-authored-by: Andrew <andrewgallasch@gmail.com>

* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt

Co-authored-by: Andrew <andrewgallasch@gmail.com>

---------

Co-authored-by: Andrew <andrewgallasch@gmail.com>
2024-07-17 15:16:12 +10:00
Morgan Pretty
bcf9d154f8 Resolving PR comment 2024-07-17 14:49:23 +10:00
bemusementpark
872cb8a204 Move Session id input box contentDescription 2024-07-17 12:38:48 +09:30
bemusementpark
8245e4ffe5 Rename remaining session id refs 2024-07-17 12:32:15 +09:30
Morgan Pretty
e8fdc57bf3 Merge branch 'dev' into update-geolite2 2024-07-17 10:42:11 +10:00
Morgan Pretty
e815a43cdf Added an attribution label to the PathActivity 2024-07-17 10:41:39 +10:00
bemusementpark
ce1790a895 Merge branch 'od' into on-2 2024-07-16 18:09:27 +09:30
AL-Session
8a7f321ee0
SES2397 - Fix display name change fail feedback (#1544)
* Added check to not update display name if offline or should config sync fail

* Addressed PR feedback

* WIP

* Addressed PR feedback

* Adjusted phrasing of log statement

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-07-16 15:41:46 +10:00
AL-Session
1ca62629f6
SS-40 - MMS Notification Strings (#1541)
* Feature implemented

* Removed stray quotation mark

* Cleanup WIP

* Cleanup

* Addressed PR feedback

* Addressed further PR feedback

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-07-16 11:28:50 +10:00
bemusementpark
6507b0a973 Fix snippet 2024-07-16 02:25:53 +09:30
bemusementpark
85ee87f619 Cleanup new account empty logic 2024-07-16 01:32:52 +09:30
bemusementpark
593e417af5 Fix SessionContactDatabase 2024-07-16 00:08:24 +09:30
Morgan Pretty
789d2b4a75 Updated the geolite2 database, removed the IP from the paths page 2024-07-15 17:08:42 +10:00
bemusementpark
4bbdc79415 SES-2394 fix mic button enabled 2024-07-12 13:34:44 +09:30
bemusementpark
4c395cb71e Cleanup InputBar 2024-07-12 13:28:34 +09:30
bemusementpark
38e73cf514 Cleanup search processing 2024-07-12 12:32:59 +09:30
bemusementpark
e3a33ea615 Fix nickname change not updating in search 2024-07-12 12:32:48 +09:30
bemusementpark
0992d12d71 Add name to Model.Contact to fix diffing in search as Contact.equals only checks accountId 2024-07-12 12:09:48 +09:30
bemusementpark
afe1295289 Cleanup GlobalSearchViewModel 2024-07-12 11:48:39 +09:30
bemusementpark
cb8b9d63ac SES-2249 fix contentDescriptions 2024-07-12 00:08:42 +09:30
bemusementpark
e3b4636b42 Reopen app to pcurrently open activity 2024-07-11 23:52:29 +09:30
bemusementpark
30ee3946ef Merge branch 'od' into on-2 2024-07-11 15:07:46 +09:30
bemusementpark
e139afed6a Make loading animation work when animations are off 2024-07-11 14:58:18 +09:30
bemusementpark
eeabd32da4 Remove easing on progress animation 2024-07-11 11:46:34 +09:30
bemusementpark
95ecbe664d SES-2386 Account Creation Modal 2024-07-11 11:26:41 +09:30
ThomasSession
b510b064cf
[SES-1652] Swap video views in calls (#1533)
* WIP: swap video views

* feat: swap video views

* minor fixes

* minor fix

* minor fix

* update libsession-util

* Revert "update libsession-util"

This reverts commit 0d386e706e.

* reverse updating libsession-util

* update libsession-util

* Tweaking colors to match designs

* More theme fixes

* WebRTC rework

Only using two sinks and swapping between them
Reworked the device rotation logic as it didn't work well with pitch ( you could tip the device front to back and the rotation went out of whack, so had to resort to more robust calculation for the device orientation.
Had to use a deprecated sensor setting but it's the only one I could use that works.

* Video management logic update

Rounded corners for floating inset
Proper handling of video scaling based on video proportions
Proper handling of mirroring logic for floating/fullscreen videos depending on whether they are the user or the remote video and whether the camera is front facing or not

* Showing floating video inset only when there is at least one video stream active, hiding it when both are inactive

* Rotating controls on rotation

* Clean up

* Review feedback

* OrientationManager

The new OrientationManager encapsulate the orientation logic and sends out a mutable state flow

* PR feedback

---------

Co-authored-by: Ryan Zhao <ryanzhaors@qq.com>
Co-authored-by: Ryan ZHAO <>
2024-07-11 09:44:17 +10:00
AL-Session
2e3acd902f
SS-2168 - User profile warnings (#1531)
* Profile picture upload fail informs user

* End of day push

* Push before trying with okhttp library update

* WIP

* Further WIP

* Add additional debug comments

* Push before cleanup

* Cleaned up

* More cleanup

* Minor adjustment

* Final cleanup prior to PR review

* Removed commented out old conscrypt version import

* Addressed PR feeback from Fanchao

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-07-09 16:23:26 +10:00
ThomasSession
de7df58503
Merge pull request #1540 from oxen-io/release/1.18.5
Dev: Release/1.18.5
2024-07-09 14:35:55 +10:00
ThomasSession
ad0b1a9db7
Revert "Release/1.18.5 (#1536)"
This reverts commit 8c4bd9b448.
2024-07-09 14:07:25 +10:00
ThomasSession
8c4bd9b448
Release/1.18.5 (#1536)
* Fix issue with span being the full length (#1528)

* Proper display of unresolved names in mentions (#1530)

* Fix issue with span being the full length

* Making sure a mention with a username without a resolved name still displayed with the appropriate style with the truncated is

* Testnet build (#1532)

Co-authored-by: fanchao <git@fanchao.dev>

* Allow "public.loki.foundation" to be accessed by http (#1534)

Co-authored-by: fanchao <git@fanchao.dev>

* Bumping the version code and name

* Reverting temporary change

---------

Co-authored-by: Fanchao Liu <273191+simophin@users.noreply.github.com>
Co-authored-by: fanchao <git@fanchao.dev>
2024-07-09 11:45:30 +10:00
ThomasSession
2b27b7d5e0 Bumping the version code and name 2024-07-09 09:33:06 +10:00
bemusementpark
84b1fb6527 Truncate name to 100 bytes on restore account 2024-07-08 13:11:49 +09:30
Fanchao Liu
075341abe1
Allow "public.loki.foundation" to be accessed by http (#1534)
Co-authored-by: fanchao <git@fanchao.dev>
2024-07-08 11:24:37 +10:00
bemusementpark
fa5b10e2e1 Merge remote-tracking branch 'ry/poller-fix' into on-3 2024-07-05 16:55:18 +09:30
bemusementpark
9c10bbfe65 Merge branch 'od' into on-2 2024-07-05 12:04:42 +09:30
ThomasSession
15b3b18321
Proper display of unresolved names in mentions (#1530)
* Fix issue with span being the full length

* Making sure a mention with a username without a resolved name still displayed with the appropriate style with the truncated is
2024-07-05 10:48:51 +10:00
ThomasSession
bbb1b2b517
Fix issue with span being the full length (#1528) 2024-07-04 17:50:17 +10:00
bemusementpark
81f9bf9412 Fix refresh on open search 2024-07-04 14:58:18 +09:30
bemusementpark
a4ee521ee0 Fix Search 2024-07-04 14:48:31 +09:30
bemusementpark
ca66d115a3 Unknown contact should go under # 2024-07-03 19:07:15 +09:30
bemusementpark
39f9b959ce Add dialog to backpress on create account flow 2024-07-03 18:53:55 +09:30
bemusementpark
4660905c09 Remove unneeded SEEN_WELCOME_SCREEN_PREF 2024-07-03 18:28:12 +09:30
bemusementpark
40b901d417 Kick user to welcome screen if they have no account id 2024-07-03 17:26:31 +09:30
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>
2024-07-03 14:44:26 +10:00
bemusementpark
7111bb7725 Merge branch 'od' into on-2 2024-07-03 12:12:51 +09:30
bemusementpark
ae4c6b8a4e Fix RadioButton a11y 2024-07-03 08:27:07 +09:30
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>
2024-07-02 16:42:49 +10:00
bemusementpark
d4c433a926 Fix shareFlow#tryEmit in pick display name 2024-07-02 14:28:54 +09:30
bemusementpark
508547a013 Defer setting display name until necessary in create flow in onboarding 2024-07-02 13:41:01 +09:30
bemusementpark
9cf3a37a2b Handle backpresses in onboarding 2024-07-02 09:25:19 +09:30
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>
2024-07-01 17:36:50 +10:00
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>
2024-07-01 17:31:03 +10:00
bemusementpark
d621036af6 Rename LoadAccountViewModel 2024-07-01 16:38:35 +09:30
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>
2024-07-01 14:52:18 +10:00
bemusementpark
1f7a1c7e0d Fix copy mnemonic 2024-07-01 11:26:27 +09:30
bemusementpark
aac228ba91 Remove unused button 2024-07-01 11:25:36 +09:30
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>
2024-07-01 09:41:46 +10:00
Andrew
0ebbd35031 Fix path indicator on SettingsActivity 2024-06-28 18:43:00 +09:30
Andrew
eb63af2f8d SES-2259 Remove 35 char display name char limit 2024-06-28 14:05:40 +09:30
Andrew
e3685f65f8 Fix display name length 2024-06-28 13:57:49 +09:30
Andrew
ad2bf6e344 Fix shield position in Load Account 2024-06-28 13:39:47 +09:30
Andrew
17fbe5403c Remove open url modal in New Message Bottom Sheet 2024-06-28 11:21:38 +09:30
Andrew
1cd7a57515 Ignore extra spaces and special characters in Recovery Password entry 2024-06-27 21:45:13 +09:30
Andrew
750dfb455d Fix cursor error color 2024-06-27 14:53:37 +09:30
Andrew
a8082494ba Restore next button position for Android 2024-06-27 12:41:01 +09:30
Andrew
f4cb0b8e6d Update errors 2024-06-27 12:40:24 +09:30
Andrew
4aa0e55dc6 Hide next button when empty in new message 2024-06-27 11:41:32 +09:30
Andrew
b775b5aca9 Reuse getSearchName 2024-06-27 10:21:37 +09:30
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>
2024-06-27 10:12:54 +10:00
Andrew
5ebde324c2 SES-2236 Fix profile self name 2024-06-27 09:21:37 +09:30
Andrew
ebbd95dac1 Fix new message next button color 2024-06-27 00:08:31 +09:30
Andrew
5793d4e71d Add remaining contentDescriptions 2024-06-27 00:05:13 +09:30
Andrew
031f3eb45f Fix contentDescriptions on pick display and message notifications 2024-06-26 23:24:45 +09:30
Andrew
9831758060 Fix QR code padding and icon 2024-06-26 23:15:19 +09:30
Andrew
aa5e46ff44 Fix You will be able to send string 2024-06-26 23:05:08 +09:30
Andrew
1f50a702bc SES-2229 Fix NewMessage ONS timeout error message for real 2024-06-26 23:02:45 +09:30
Andrew
f2e72d794b Simplify search processing 2024-06-26 22:52:02 +09:30
Andrew
a52bafbf98 SES-2237 Fix search sorting 2024-06-26 22:37:22 +09:30
Andrew
84efcd2f21 Remove ribbon image for note to self in search 2024-06-26 21:39:19 +09:30
Andrew
e7b547acaf SES-2234 Fix Hide Recovery html dialog 2024-06-26 21:03:30 +09:30
Andrew
a630b8af09 SES-2233 Fix recovery password icon in settings 2024-06-26 20:53:57 +09:30
Andrew
bae83d9ea6 SES-2229 Add ons unable to search error message 2024-06-26 20:15:08 +09:30
Andrew
761a983e0c SES-2228 ONS error message 2024-06-26 20:10:09 +09:30
Andrew
39c7f27c7d Fix QR code scan & display 2024-06-26 19:25:44 +09:30
Andrew
ff6c0fb6f5 Accept mnemonic as hex in QR codes 2024-06-26 18:01:33 +09:30
Andrew
578c471f1e Fis Message notifications button style 2024-06-26 13:08:22 +09:30
Andrew
40c08143f3 Fix ItemButton TextStyle 2024-06-26 12:44:56 +09:30
Andrew
5294cd45a0 Fix ItemButton minHeight style 2024-06-26 12:32:00 +09:30
Andrew
432a2816ab Merge branch 'od' into on-2 2024-06-25 23:40:34 +09:30
Andrew
27fda9fd46 Fix Qr Code errors 2024-06-25 23:21:22 +09:30
Andrew
db15fe0840 Rename StartConversationFragment.kt 2024-06-25 21:51:08 +09:30
Andrew
fa705e9e78 Fix text color on QR Activity 2024-06-25 21:36:24 +09:30
Andrew
49127d5fcb Restore New Message > Scan permission style 2024-06-25 21:34:14 +09:30
Andrew
1e9b0ec7f8 Add back button to message notifications 2024-06-25 20:55:18 +09:30
Andrew
86fcd035a1 Fix press back from recover pick display name 2024-06-25 20:42:02 +09:30
Andrew
28c28dc4be Fix start conversation button padding 2024-06-25 20:30:12 +09:30
Andrew
78da9bdc67 Rename StartConversation 2024-06-25 20:05:32 +09:30
Andrew
a55c85c28c Fix Start Conversation Title 2024-06-25 19:53:50 +09:30
Andrew
ee97eb54f4 Fix Enter Account ID or ONS Text 2024-06-25 19:50:21 +09:30
Andrew
02ebb5a5c7 Fix outline text padding 2024-06-25 19:17:50 +09:30
Andrew
4afec51de5 Simplify outline text style 2024-06-25 19:16:38 +09:30
Andrew
72dccaa1d3 Add MnemonicCodecTest 2024-06-25 19:11:13 +09:30
Andrew
9288701556 Use ime button in text field 2024-06-25 14:31:52 +09:30
Andrew
423df70351 SES-2201 Fix error on 1 word missing 2024-06-25 14:31:05 +09:30
Andrew
073b31d620 SES-2200 Fix enter display name error strings 2024-06-25 14:16:44 +09:30
Andrew
326b81cea3 SES-2219 Fix TextField styling 2024-06-25 14:08:31 +09:30
Andrew
d755fc20fa Make RadioButton animation even cooler 2024-06-25 13:58:56 +09:30
Andrew
a9fdf9a733 SES-2220 Tweak Mesage notifications 2024-06-25 12:23:06 +09:30
Andrew
287b5566c4 Remove session id refs 2024-06-25 11:42:40 +09:30
Andrew
ed3094bfd7 SES-2216 Copy Account ID 2024-06-25 11:20:28 +09:30
Andrew
f1c14e571f SES-2218 Lock App 2024-06-25 11:11:07 +09:30
ThomasSession
a0e6167718
Merge pull request #1352 from rugveddarwhekar/master
Fixed #1085 | Video call auto rotate, when auto rotate is disabled
2024-06-25 10:21:47 +10:00
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.
2024-06-25 09:25:46 +10:00
ThomasSession
752f8cc738
Merge pull request #1298 from bemusementpark/fix-send-whitespace
Hide send button when message contains only whitespace
2024-06-24 17:27:45 +10:00
ThomasSession
031a18061d Using trim and empty to capture semantic concept of nothing being in there 2024-06-24 17:26:36 +10:00
ThomasSession
48aacae6c5 Merge branch 'dev' into pr/1298 2024-06-24 17:22:06 +10:00
ThomasSession
01655b8633
Merge pull request #1508 from simophin/fix-home-screen-dispatcher
Correct the usage of flowOn
2024-06-24 17:08:37 +10:00
fanchao
0547dde554 Remove the use of executor in ThreadUtils 2024-06-24 14:05:06 +10:00
Andrew
e9dd333034 Remove unused button colors 2024-06-24 09:25:06 +09:30
Andrew
d8f032ff9e Fix textSelectionColors 2024-06-21 20:50:14 +09:30
Andrew
f2959073ec Fix NewMessage errors 2024-06-21 20:35:31 +09:30
ThomasSession
ba9f729d63
Merge pull request #1512 from simophin/ses-2021-improve-xml-loading
[SES-2021] Optimise XML loading
2024-06-21 12:53:22 +10:00
ThomasSession
46358f4318
Merge pull request #1487 from simophin/ses-637-voice-message-keeps-playing
[SES-637] - Stop playing message if deleted
2024-06-21 12:51:06 +10:00
Andrew
8b79fd6850 Use button color lists 2024-06-21 12:02:23 +09:30
Andrew
27c59a8d7b Remove flowOn in LoadingViewModel 2024-06-21 11:45:50 +09:30
Andrew
b7de36b694 Fix button colors 2024-06-21 11:25:13 +09:30
ThomasSession
d3c4e11aec
Merge pull request #1332 from aaronkerckhoff/display-own-name-in-quote
Fix bug displaying user ID when quoting own message
2024-06-20 15:47:16 +10:00
Andrew
7c523a1ead Cleanup Button Preview 2024-06-20 13:41:03 +09:30
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