Commit Graph

257 Commits

Author SHA1 Message Date
Benoit Marty
6169323043 Move test data to TestData.kt 2023-02-09 18:41:58 +01:00
Benoit Marty
a0e56426c4 Cleanup and centralize test data. 2023-02-09 17:44:20 +01:00
Benoit Marty
ad62a613cc Add test for MessagesPresenter 2023-02-09 16:12:22 +01:00
Benoit Marty
e375454f28 Test reply and edit message 2023-02-09 15:19:32 +01:00
Benoit Marty
310a8ca8e3 Fix dependency issue. 2023-02-09 12:04:31 +01:00
Benoit Marty
8bcc2209a3 Improve coverage for TimelinePresenter 2023-02-09 09:52:03 +01:00
Benoit Marty
50c70d10c8 Add test for ActionListPresenter 2023-02-08 16:01:49 +01:00
Benoit Marty
8ed858351b Add test for MessageComposerPresenter 2023-02-08 09:56:55 +01:00
Benoit Marty
d0977d0108 Add test for TimelinePresenter 2023-02-07 18:32:00 +01:00
Benoit Marty
97a9dc1dff Add test for LogoutPreferencePresenter 2023-02-07 17:47:38 +01:00
Benoit Marty
7d161730c0 Add test for LoginRootPresenter 2023-02-07 17:35:46 +01:00
Benoit Marty
0b6d7b0bc5 Add test for ChangeServerPresenter 2023-02-07 16:57:33 +01:00
Benoit Marty
8b599a6549 Rename class. 2023-02-07 10:36:29 +01:00
Benoit Marty
150c520501 Fix test: also inject timezone to avoid relying on the system timezone. 2023-02-07 10:36:29 +01:00
Benoit Marty
e706091a44 Add test for DefaultLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty
dfeb9d8c7f Create FakeLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty
674a813f3b Create module dateformatter 2023-02-07 10:36:29 +01:00
Benoit Marty
2516d0cae7 Add test about visible range 2023-02-07 10:36:29 +01:00
Benoit Marty
32dd9adda7 Enable testFixtures - but not supported by AGP yet, so put files in module matrixtest 2023-02-07 10:36:29 +01:00
Benoit Marty
cde64d4860 Fix detekt issue 2023-02-07 10:36:06 +01:00
bmarty
6e2cf177f3 Import strings from Element Android 2023-02-07 06:06:11 +00:00
bmarty
b324be8a6f Import strings from Element Android 2023-02-04 06:06:06 +00:00
Benoit Marty
864b70f512 Add preview for colors. 2023-02-03 16:29:17 +01:00
Benoit Marty
732fb9bd1e Fix detekt issue, optimize import, fix color of preference category title 2023-02-03 13:43:00 +01:00
Benoit Marty
579693354a Fix issue. 2023-02-03 12:57:42 +01:00
Benoit Marty
56cb19707b Add some TODO for design input 2023-02-03 12:57:42 +01:00
Benoit Marty
decd3a9585 ElementTheme + MaterialTheme3 2023-02-03 12:57:42 +01:00
Benoit Marty
37840af3fd Rename component. No need for Element prefix 2023-02-03 12:57:42 +01:00
Benoit Marty
fb4c5138ee Material3 only in designsystem. 2023-02-03 12:56:53 +01:00
Benoit Marty
c4f53134d9 Material 1.8 2023-02-03 12:56:53 +01:00
Benoit Marty
65e7984d5d Add some Preview 2023-02-03 12:56:53 +01:00
Benoit Marty
2cfa921a70 Rework Preview for a better rendering in the IDE. 2023-02-03 12:56:53 +01:00
Benoit Marty
8f551fbe03 Optimize import 2023-02-03 12:56:53 +01:00
Benoit Marty
8d87320531 Add ElementCircularProgressIndicator and ElementOutlinedTextField. 2023-02-03 12:56:53 +01:00
Benoit Marty
171e35c89a Fix color error. 2023-02-03 12:55:36 +01:00
Benoit Marty
3273685cc4 Theme: Add ElementModalBottomSheetLayout. 2023-02-03 12:55:36 +01:00
Benoit Marty
0af99b88a1 Add some aliases and fixes placeholder color. 2023-02-03 12:55:36 +01:00
Benoit Marty
6e4edc8289 First draft of full custom theme.
ElementTheme everywhere

Create ElementButton
2023-02-03 12:55:36 +01:00
Benoit Marty
3ecce4e24f Create ExtendedColors to define more colors. 2023-02-03 12:55:36 +01:00
dependabot[bot]
44fbbb98b2 Bump plugin.serialization from 1.8.0 to 1.8.10
Bumps [plugin.serialization](https://github.com/JetBrains/kotlin) from 1.8.0 to 1.8.10.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.0...v1.8.10)

---
updated-dependencies:
- dependency-name: plugin.serialization
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 22:12:36 +00:00
Benoit Marty
95b8cb6c03 Merge pull request #66 from vector-im/feature/bma/sonar
Sonar / Kover / Codecov
2023-02-02 11:33:12 +01:00
ganfra
6bbd5bdc3d Merge branch 'develop' into feature/fga/fix_restoration 2023-02-01 16:05:05 +01:00
ganfra
c3dc122d27 Clean up 2023-02-01 16:02:54 +01:00
ganfra
085e5bebe4 Simplify AvatarData and avoid carrying ByteArray 2023-02-01 15:57:00 +01:00
ganfra
bfb508ba1d Remove PresenterConnector and molecule runtime in feature modules, directly call Presenter.present method 2023-02-01 15:56:07 +01:00
Benoit Marty
c6fbbed4c1 Revert unwanted change. 2023-02-01 15:25:24 +01:00
Benoit Marty
427716b1a7 No need to use a dispatcher.
Fix issue detected by sonar: `Remove this dispatcher. It is pointless when used with only suspending functions.`
2023-02-01 15:08:31 +01:00
Benoit Marty
6eaea5bf93 Fix sonar issue: do not ignore result of File:delete(). 2023-02-01 14:46:00 +01:00
ganfra
581d002918 Handle activity and process recreation for session 2023-01-31 20:49:16 +01:00
bmarty
326172046f Import strings from Element Android 2023-01-31 06:06:05 +00:00