Commit Graph

59 Commits

Author SHA1 Message Date
Florian Renaud
04d4b6369a Update room properties from room details (#439)
-  Add the edit action in the room details
-  Add "Add topic" button in room details
-  Add the screen behind that action to edit some room properties: avatar, name, topic
   -  Handle the save button action
      - enable the button only if changes are detected
      - display a loader "updating room"
      - display an error dialog if any request has failed
- Check user has the right power level to change various attributes
   - "Add topic" is only shown if there's no topic and they are able to set on
   - Edit menu is only shown if they can change topic, name or avatar
   - On the edit page, any fields they can't change are uneditable

Co-authored-by: Chris Smith <csmith@lunarian.uk>
2023-06-01 15:10:29 +00:00
bmarty
3daea29a82 Sync Strings from Localazy 2023-05-29 00:09:47 +00:00
Benoit Marty
3704564198 Use default material3 version again and cleanup @OptIn annotations.
Material3 is now 1.1.0
2023-05-15 12:28:31 +02:00
bmarty
cd5e4458a6 Sync Strings from Localazy 2023-04-24 00:09:54 +00:00
Jorge Martin Espinosa
afd58f1634 Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
45cea6cc3b Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 11:11:47 +02:00
Benoit Marty
c774f7529e [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Benoit Marty
d449ede86d [Strings] Sync the strings. 2023-03-27 14:36:46 +02:00
ganfra
b348ad7af3 Hopefully makes CI happy 2023-03-09 17:30:49 +01:00
ganfra
335b99b567 [Architecture] remove unused drawable file 2023-03-09 11:40:07 +01:00
ganfra
7051bfc14e [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
ganfra
b2c68d555a [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01:00
ganfra
d1cbd907e7 [Architecture] clean up 2023-03-02 18:06:31 +01:00
ganfra
c581f0b383 [Architecture] introduce BackstackNode 2023-03-02 17:55:26 +01:00
ganfra
15ed58b756 [Architecture] use FeatureEntryPoint on Preferences 2023-03-02 15:59:25 +01:00
ganfra
9d730d8b74 [Architecture] use impl instead of implementation 2023-03-02 15:49:20 +01:00
ganfra
da92113e43 [Architecture] Introduce EntryPoint and use createNode for ParentNode too 2023-03-02 12:33:18 +01:00
Benoit Marty
0734404fec Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
e03ef8c338 Rename classes (not a State) 2023-02-09 18:21:25 +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
4f6239b3c2 Cleanup and TODO. 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
10763dcecc Remove bad usage of ElementSurface 2023-02-03 12:56:53 +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
4dd71a6b85 Fix compilation issue (need @integer/rtl_mirror_flip). 2023-01-31 15:39:12 +01:00
ganfra
27bf42c5f2 Change/move some gradle modules to be better separated. Let core module be a kotlin lib. 2023-01-24 17:38:57 +01:00
ganfra
46e58fe64d enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") 2023-01-20 19:13:44 +01:00
ganfra
718b37a4eb Finish removing x. from packages (keep it in app module for now) 2023-01-20 18:52:59 +01:00
ganfra
f800e22477 Rename all features modules 2023-01-20 18:35:03 +01:00
ganfra
d7b4cb97a7 Rename uistrings module 2023-01-20 17:42:09 +01:00
ganfra
c2177beb13 Rename testtags module 2023-01-20 17:30:35 +01:00
ganfra
7903e855ec Rename designsystem module 2023-01-20 17:09:12 +01:00
Benoit Marty
c532f9694b Change package and fix KDoc. 2023-01-20 12:43:49 +01:00
Benoit Marty
73ce44f0a1 testtags 2023-01-20 10:26:32 +01:00
Benoit Marty
66a389c4c5 Rename folders java to kotlin 2023-01-18 13:51:30 +01:00
Benoit Marty
8c93aedbc1 Create dedicated modules for Strings and apply the plugin com.likethesalad.stem
Remove translations
2023-01-18 11:54:02 +01:00
Benoit Marty
da59e812a7 Cleanup strings.xml 2023-01-18 11:40:56 +01:00
Benoit Marty
2e42234971 Fix wording issue 2023-01-17 18:12:40 +01:00
ganfra
3abba8e88f Remove viewmodel/fragment references 2023-01-13 18:20:10 +01:00
ganfra
1a0c9df1da Use EventSink lambda in state instead of Flow in Presenter 2023-01-11 15:53:52 +01:00
ganfra
7d65a4a1e7 Merge branch 'develop' into feature/fga/navigation First step: makes it compile by disabling the new screens (need to migrate to nodes) 2023-01-06 19:22:52 +01:00
ganfra
9ed208950e Migrate Login to new architecture and make some adjustments 2023-01-06 15:15:45 +01:00
ganfra
7fc69a70da Move some code to 'architecture' module 2023-01-04 21:09:59 +01:00
Benoit Marty
243ee07bfc Fix warning 2022-12-23 15:19:24 +01:00
Benoit Marty
caf7f6fccc Update existing Copyright 2022-12-22 13:53:06 +01:00
Benoit Marty
e2515020cf Add missing Copyright 2022-12-22 13:51:56 +01:00
ganfra
8b8b490bb2 Nav: First iteration integrating Appyx 2022-12-21 17:56:01 +01:00
Benoit Marty
7e9d50401e Fix detekted issues. 2022-12-12 17:01:51 +01:00
Benoit Marty
af8c5180ca Timber for all modules 2022-12-09 15:42:29 +01:00