Commit Graph

171 Commits

Author SHA1 Message Date
Benoit Marty 7389748f3e Konsist: add rule obout test class name, and fix existing issue 2023-10-12 15:03:50 +02:00
Benoit Marty 8929a90970 Konsist: add test to ensure filename match top level Composable View, and fix existing issue 2023-10-10 15:39:22 +02:00
bmarty cd120b408f Sync Strings from Localazy 2023-10-09 00:09:28 +00:00
Benoit Marty de39179b9d Merge pull request #1465 from vector-im/feature/bma/codeCoverage
Improve code coverage
2023-10-02 10:18:31 +02:00
bmarty 7e3b9d8d3b Sync Strings from Localazy 2023-10-02 00:09:47 +00:00
Benoit Marty 5378748911 Add preview for SlidingSyncNotSupportedDialog 2023-09-29 17:06:58 +02:00
Benoit Marty 6b13d044bb Use generic common_username and common_password 2023-09-28 16:43:05 +02:00
Benoit Marty 1afdb6aa85 Use generic action_continue 2023-09-28 16:21:16 +02:00
Benoit Marty 1c7db1de85 Ensure http url entered by the user are provided to the SDK without being altered.
Also change values in `LoginConstants`, this was not really correct.
2023-09-28 10:22:08 +02:00
Benoit Marty 702c137ead Replace mutableStateOf by mutableIntStateOf and mutableFloatStateOf. Use intValue and floatValue to avoid unboxing. 2023-09-26 18:07:53 +02:00
bmarty c72bb92ef2 Sync Strings from Localazy 2023-09-25 00:09:17 +00:00
Benoit Marty 0e4c146e87 Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty e622f8d869 Merge pull request #1392 from vector-im/feature/bma/iterateOnIcons
Iterate on icons
2023-09-20 23:20:28 +02:00
Benoit Marty d531e71cd8 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benjamin Bouvier ffb1302211 feat: use the raw homeserver URL instead of manually removing the scheme
On the one hand, the SDK knows what to do and will clean up the URL if needs be,
guessing what the best scheme (http or https) is based on the prefix. On the other
hand, trimming the scheme as done here doesn't allow for manual testing on insecure
servers, which is handy in e2e testing situations.
2023-09-19 19:23:11 +02:00
Benoit Marty f808dcd6ea Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew ee8d27e927 [Rich text editor] Add link functionality to rich text editor (#1309)
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00
Benoit Marty 2819448cd4 Use DayNightPreview 2023-09-19 11:49:12 +02:00
Benoit Marty 0453ea5904 Localazy sync 2023-09-18 16:42:35 +02:00
bmarty d2f9b02bbf Sync Strings from Localazy 2023-09-18 00:09:19 +00:00
ganfra b382993cbb Sync Strings from Localazy 2023-09-14 14:38:49 +00:00
Marco Romano 7fdd83bf91 GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
jonnyandrew 9e5b46200b Reduce test flakiness by warming up molecule tests (#1226) 2023-09-06 10:08:21 +00:00
jmartinesp 74b2ddebfd Sync Strings from Localazy 2023-09-05 06:37:36 +00:00
Benoit Marty 5d889afd21 Merge pull request #1128 from vector-im/feature/bma/cleanupOidc
Cleanup OIDC
2023-08-28 15:08:36 +02:00
Benoit Marty f80eece489 Merge branch 'develop' into feature/bma/settingUpAccount 2023-08-28 13:02:44 +02:00
Benoit Marty 55255735d7 Merge branch 'develop' into feature/bma/dataObject 2023-08-28 10:56:02 +02:00
Benoit Marty 756af63edb Fix regression on WaitListView. 2023-08-25 14:55:52 +02:00
Benoit Marty 7055fea895 Add preview for SunsetPage and fix warnings about Modifiers. 2023-08-25 14:38:34 +02:00
Benoit Marty 0c5675e307 Extract Composable to new SunsetPage. 2023-08-25 13:49:40 +02:00
Benoit Marty 8415826a97 Import strings with Localazy. 2023-08-25 12:15:06 +02:00
Benoit Marty 7083abcf09 migrate object to data object (#1135) 2023-08-24 09:32:44 +02:00
Benoit Marty 26e5da94d6 Add a workaround to detect the Chrome Custom Tab closing (when there is no redirection). 2023-08-23 18:11:08 +02:00
Benoit Marty c84b1747e7 Handle remarks from PR #1127 2023-08-23 17:23:12 +02:00
Benoit Marty 8cf48986e7 Add missing tests. 2023-08-23 13:49:03 +02:00
Benoit Marty 6928dc6e44 Restore OIDC support. 2023-08-23 12:18:42 +02:00
ElementBot ef8a60b657 Sync Strings from Localazy (#1098)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-08-21 08:34:19 +02:00
Jorge Martín 9f1795bc04 Fix subtitle color 2023-08-18 14:55:41 +02:00
Jorge Martín afbd998b12 Force theme and colors in WaitListView. 2023-08-18 14:55:13 +02:00
Jorge Martin Espinosa 0324719606 Upgrade compose-material3 to 1.2.0-alpha05 version (#1011)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>

Also upgrade compileSdk to 34.
2023-08-17 14:20:54 +02:00
ElementBot 38a25dc3e9 Sync Strings from Localazy (#1032)
Co-authored-by: Florian14 <Florian14@users.noreply.github.com>
2023-08-11 14:34:05 +00:00
Jorge Martin Espinosa 23982dde47 [Compound] Implement components (Button) (#1021)
* Create `CompoundButton`

* Some fixes

* Lint fixes

* Start replacing existing `Button` usages

* Replace button usages

* Remove previous Button composable

* Rename `CompoundButton` to `Button`

* Fix emphasized button being displayed as Text

* Fix cancel button in `WaitListView`

* Update screenshots

* Add shorthand functions for `OutlinedButton` and `TextButton`

* Add changelog

* Fix wrong size used for emphasized button in dialog

* Create a private `ButtonInternal` implementation with the shared logic.

- Make `ButtonStyle` private.
- Rename `title` to `text`.
- Rename `buttonStyle` and `buttonSize` to just `style` and `size`.

* Fix several warnings and lint issues.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-08 16:11:37 +00:00
Benoit Marty 822bb82347 Merge pull request #967 from vector-im/feature/bma/detektConfig
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty 8f4b664158 Sync strings. 2023-07-27 12:16:04 +02:00
Benoit Marty 908471cd51 Remove other unused resource. 2023-07-27 11:41:10 +02:00
Benoit Marty 19e81825ff Enable detekt rules AlsoCouldBeApply and fix existing issues. 2023-07-26 11:10:46 +02:00
Benoit Marty b5a5118160 Enable detekt rule ThrowingExceptionsWithoutMessageOrCause and fix existing issues. 2023-07-26 10:33:51 +02:00
Benoit Marty 73347deaaf Enable detekt rule UseCheckOrError and fix existing issues (and a potential crash on MapboxMap?). 2023-07-26 10:18:28 +02:00
Benoit Marty 6aa5239189 Enable detekt rule PreviewPublic and fix existing issues. 2023-07-26 10:08:39 +02:00
bmarty af2159e98f Sync Strings from Localazy 2023-07-24 00:10:09 +00:00