Commit graph

12121 commits

Author SHA1 Message Date
cketti
4e639256e4 Message Details: Update list when the fragment is resumed
We want to update the list of participants when the associated contact has changed in the contacts database. Right now we don't listen to changes to the contacts database, but refresh the list when onResume() is called. This should catch the case where a user is adding a contact from the message details screen using one of the "add to contacts" buttons.
2023-03-15 15:47:45 +01:00
cketti
5fa993392b Message Details: Use stable IDs for list items 2023-03-15 15:20:35 +01:00
cketti
71c8fb11d9 Message Details: Don't create new adapter every time the list is updated 2023-03-15 14:54:08 +01:00
cketti
10c19f1890
Merge pull request #6759 from thundernest/message_view_account_chip
Message View: Tweak appearance of account chip
2023-03-15 12:48:10 +01:00
Wolf-Martell Montwé
a97c3e7e8a
Merge pull request #6758 from thundernest/add_app_ui_catalog
Add App UI catalog
2023-03-15 11:21:39 +00:00
Wolf Montwé
6a88a33c75
Add catalog implementation using a LazyVerticalGrid and adding all components from the design system 2023-03-15 11:26:15 +01:00
cketti
377449bfac
Merge pull request #6750 from jeroen1602/thunderbird_autoconfig_fetch_crash
Fixed ThunderbirdAutoconfigFetcher throwing on IOExceptions
2023-03-14 19:43:42 +01:00
cketti
bdd3477b28 Message View: Tweak appearance of account chip 2023-03-14 18:21:22 +01:00
Jeroen1602
6a89a03082
Fixed ThunderbirdAutoconfigFetcher throwing on IOExceptions
If the requested url does not exist then the `fetchAutoconfigFile` would just crash instead of returning `null`. This would mean that the discovery code would also crash instead of trying other URLs.
2023-03-14 18:11:02 +01:00
cketti
cbea30e5b8
Merge pull request #6746 from thundernest/contact_permission
Message details: Hide "Add to contacts" button when contacts permission is missing
2023-03-14 15:57:09 +01:00
cketti
3edb93e506 Always hide "Add to contacts" button when contact permission is missing 2023-03-14 15:55:41 +01:00
Wolf Montwé
0b572ec088
Add :core:ui:compose:common module to host commonly shared functionality and add DevicePreviews 2023-03-14 14:50:39 +01:00
Wolf Montwé
f15ba5797c
Rename Color to MaterialColor 2023-03-14 14:46:01 +01:00
Wolf Montwé
a027dc718d
Add Checkbox to design system and allow color change of Surface 2023-03-14 14:46:00 +01:00
Wolf Montwé
63a8d67abf
Change core:ui:compose:demo module to `app-ui-catalog 2023-03-14 14:45:59 +01:00
Wolf-Martell Montwé
9900fd4394
Merge pull request #6757 from thundernest/change_truth_to_legacy
Change truth testing library to legacy
2023-03-14 12:38:32 +00:00
Wolf Montwé
00b7bf45d7
Change truth testing library to legacy and only allow usage in old modules 2023-03-14 12:20:55 +01:00
cketti
5ca15aeb47
Merge pull request #6752 from thundernest/message_view_account_chip
Add font size setting for account name in message view
2023-03-14 11:57:10 +01:00
cketti
23981c1af7 Add font size setting for account name in message view 2023-03-13 18:26:59 +01:00
cketti
6f428c1642
Merge pull request #6745 from thundernest/change_log_snackbar
Change "recent changes" snackbar appearance and behavior
2023-03-10 17:07:06 +01:00
cketti
b80f153ce3 Extract contact permission check to ContactPermissionResolver 2023-03-10 16:22:51 +01:00
cketti
3060e111db Only show "recent changes" snackbar for 10 seconds 2023-03-10 14:02:19 +01:00
cketti
1e7d5bf4ee Change button text of "recent changes" snackbar 2023-03-10 13:49:13 +01:00
cketti
aa1a98439b Use colorSecondary for the snackbar button text 2023-03-10 13:33:42 +01:00
cketti
c642d7615f
Merge pull request #6743 from thundernest/fab_appearance
Change appearance and behavior of the floating compose button
2023-03-10 13:08:12 +01:00
cketti
c0f787b388
Merge pull request #6728 from thundernest/move_account_chip_back
Message list: Move account chip back to align with second line
2023-03-10 13:07:10 +01:00
cketti
cf635479e9 Change appearance and behavior of the floating compose button 2023-03-09 21:48:16 +01:00
Wolf-Martell Montwé
e5b5a36678
Merge pull request #6742 from thundernest/bump_android_gradle_plugin
Bump Android Gradle Plugin 7.4.0 -> 7.4.2
2023-03-09 16:07:29 +00:00
Wolf-Martell Montwé
d88ea3752d
Merge pull request #6732 from thundernest/remove_precondition
Remove Preconditions
2023-03-09 14:03:28 +00:00
Wolf Montwé
ed7270251a
Bump Android Gradle Plugin 7.4.0 -> 7.4.2 2023-03-09 14:44:54 +01:00
Wolf-Martell Montwé
e2db2337af
Merge pull request #6731 from thundernest/add_contact_repository
Add ContactRepository
2023-03-09 13:04:35 +00:00
Wolf Montwé
532642d8db
Remove Preconditions 2023-03-09 14:02:02 +01:00
Wolf Montwé
73bf846622
Change ContactRepository to allow nullable values to be cached 2023-03-09 13:50:22 +01:00
Wolf Montwé
9cdf3e2b7a
Add ContactRepository 2023-03-09 13:48:06 +01:00
Wolf-Martell Montwé
acb1d7fce6
Merge pull request #6730 from thundernest/add_contact_data_source
Add ContactDataSource
2023-03-09 12:47:01 +00:00
Wolf Montwé
3ed19f0011
Move CursorExtensions to :core:android:common module 2023-03-09 12:14:28 +01:00
Wolf Montwé
3974688b63
Add ContactFixture for test setup 2023-03-09 12:10:31 +01:00
Wolf Montwé
8b049982a9
Add ContactDataSource and Contact entity 2023-03-09 12:10:25 +01:00
Wolf-Martell Montwé
401c954b74
Merge pull request #6727 from thundernest/add_email_value_type
Add email value type
2023-03-07 17:21:36 +00:00
Wolf Montwé
5e09e067b0
Add email value type 2023-03-07 18:12:38 +01:00
Wolf-Martell Montwé
ed0f9fea72
Merge pull request #6729 from thundernest/fix_lint
Fix missing lint plugin
2023-03-07 17:04:59 +00:00
Wolf Montwé
31a5fc7390
Fix missing lint plugin for :core:common module 2023-03-07 16:51:35 +01:00
cketti
5cf4235a3d Message list: Move account chip back to align with second line 2023-03-07 13:57:10 +01:00
Wolf-Martell Montwé
7a9c373f92
Merge pull request #6725 from thundernest/change_messagehelper_to_kotlin
Change MessageHelper to Kotlin
2023-03-07 12:37:19 +00:00
Wolf Montwé
979240b6e1
Remove getInstance as instance should be controlled by dependency injection 2023-03-07 13:18:08 +01:00
Wolf-Martell Montwé
3bcaf699af
Merge pull request #6726 from thundernest/add_detekt_to_ci_tests
Add detekt to CI run
2023-03-07 12:09:22 +00:00
cketti
4e883d2562
Merge pull request #6723 from thundernest/system_bar_colors
System bar color changes
2023-03-07 13:02:07 +01:00
Wolf Montwé
58c5d7d470
Add detekt to CI run 2023-03-07 09:52:11 +01:00
Wolf Montwé
264deb98f2
Change MessageHelperTest to Kotlin 2023-03-07 09:40:32 +01:00
Wolf Montwé
5c7ede27ca
Rename MessageHelperTest.java to MessageHelperTest.kt 2023-03-07 09:40:32 +01:00