Commit graph

256 commits

Author SHA1 Message Date
Benoit Marty
606cd3efc3 Cleanup and centralize test data. 2023-02-09 17:44:20 +01:00
Benoit Marty
f6afd4de26 Add test for MessagesPresenter 2023-02-09 16:12:22 +01:00
Benoit Marty
e4722f43d3 Test reply and edit message 2023-02-09 15:19:32 +01:00
Benoit Marty
165697a80e Fix dependency issue. 2023-02-09 12:04:31 +01:00
Benoit Marty
a3348ca71c Improve coverage for TimelinePresenter 2023-02-09 09:52:03 +01:00
Benoit Marty
48bd5fd48e Add test for ActionListPresenter 2023-02-08 16:01:49 +01:00
Benoit Marty
f736b48a92 Add test for MessageComposerPresenter 2023-02-08 09:56:55 +01:00
Benoit Marty
333f9e9709 Add test for TimelinePresenter 2023-02-07 18:32:00 +01:00
Benoit Marty
58c59efebf Add test for LogoutPreferencePresenter 2023-02-07 17:47:38 +01:00
Benoit Marty
8fb1f2655e Add test for LoginRootPresenter 2023-02-07 17:35:46 +01:00
Benoit Marty
5ca2b475cc Add test for ChangeServerPresenter 2023-02-07 16:57:33 +01:00
Benoit Marty
f02e5d606b Rename class. 2023-02-07 10:36:29 +01:00
Benoit Marty
190d20acbe Fix test: also inject timezone to avoid relying on the system timezone. 2023-02-07 10:36:29 +01:00
Benoit Marty
6099fe5df7 Add test for DefaultLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty
6d8e4d9afc Create FakeLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty
ae4237abb5 Create module dateformatter 2023-02-07 10:36:29 +01:00
Benoit Marty
c3a7ab1de4 Add test about visible range 2023-02-07 10:36:29 +01:00
Benoit Marty
feac348c89 Enable testFixtures - but not supported by AGP yet, so put files in module matrixtest 2023-02-07 10:36:29 +01:00
Benoit Marty
ff5a3cd86c Fix detekt issue 2023-02-07 10:36:06 +01:00
bmarty
bd807b1745 Import strings from Element Android 2023-02-07 06:06:11 +00:00
bmarty
b8a237303d Import strings from Element Android 2023-02-04 06:06:06 +00:00
Benoit Marty
8413b9792f Add preview for colors. 2023-02-03 16:29:17 +01:00
Benoit Marty
426005f298 Fix detekt issue, optimize import, fix color of preference category title 2023-02-03 13:43:00 +01:00
Benoit Marty
2989370c3b Fix issue. 2023-02-03 12:57:42 +01:00
Benoit Marty
41456ec13b Add some TODO for design input 2023-02-03 12:57:42 +01:00
Benoit Marty
bbe10382b0 ElementTheme + MaterialTheme3 2023-02-03 12:57:42 +01:00
Benoit Marty
201508678a Rename component. No need for Element prefix 2023-02-03 12:57:42 +01:00
Benoit Marty
cdfc13cb15 Material3 only in designsystem. 2023-02-03 12:56:53 +01:00
Benoit Marty
9f3f345088 Material 1.8 2023-02-03 12:56:53 +01:00
Benoit Marty
01aea5a9af Add some Preview 2023-02-03 12:56:53 +01:00
Benoit Marty
9d32b05fbb Rework Preview for a better rendering in the IDE. 2023-02-03 12:56:53 +01:00
Benoit Marty
e3fed8b4f5 Optimize import 2023-02-03 12:56:53 +01:00
Benoit Marty
7d85d8da30 Add ElementCircularProgressIndicator and ElementOutlinedTextField. 2023-02-03 12:56:53 +01:00
Benoit Marty
e889856d1c Fix color error. 2023-02-03 12:55:36 +01:00
Benoit Marty
71fa01f8b6 Theme: Add ElementModalBottomSheetLayout. 2023-02-03 12:55:36 +01:00
Benoit Marty
c54471b5e0 Add some aliases and fixes placeholder color. 2023-02-03 12:55:36 +01:00
Benoit Marty
e4cc733f4a First draft of full custom theme.
ElementTheme everywhere

Create ElementButton
2023-02-03 12:55:36 +01:00
Benoit Marty
78544357e8 Create ExtendedColors to define more colors. 2023-02-03 12:55:36 +01:00
dependabot[bot]
59615ec99b 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
a4f9354e8a Merge pull request #66 from vector-im/feature/bma/sonar
Sonar / Kover / Codecov
2023-02-02 11:33:12 +01:00
ganfra
9cf88fff5f Merge branch 'develop' into feature/fga/fix_restoration 2023-02-01 16:05:05 +01:00
ganfra
8b4b8886a9 Clean up 2023-02-01 16:02:54 +01:00
ganfra
b8860a6658 Simplify AvatarData and avoid carrying ByteArray 2023-02-01 15:57:00 +01:00
ganfra
fc07ff29f5 Remove PresenterConnector and molecule runtime in feature modules, directly call Presenter.present method 2023-02-01 15:56:07 +01:00
Benoit Marty
acac3a42bf Revert unwanted change. 2023-02-01 15:25:24 +01:00
Benoit Marty
eafac31ccc 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
fce1569ee3 Fix sonar issue: do not ignore result of File:delete(). 2023-02-01 14:46:00 +01:00
ganfra
fa71eab85e Handle activity and process recreation for session 2023-01-31 20:49:16 +01:00
bmarty
5b743bfac5 Import strings from Element Android 2023-01-31 06:06:05 +00:00
Benoit Marty
3410b70af4 Optimize import 2023-01-30 16:36:51 +01:00