Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose migration #26

Merged
merged 7 commits into from
Mar 8, 2023
Merged

Compose migration #26

merged 7 commits into from
Mar 8, 2023

Conversation

Maeeen
Copy link
Collaborator

@Maeeen Maeeen commented Mar 7, 2023

This is about migration to Compose and Kotlin.

Maeeen and others added 7 commits March 3, 2023 14:45
As discussed this morning, we plan on moving to Kotlin and Jetpack compose. This commit marks the beginning of the modification to make it.
Changes:
* Change from minSdk:24 to minSdk:28 to comply with the firebase
  realtime database requirements
Changes:
* Remove `GreetingActivity.java` and `MainActivity.java` and
  dependencies
* Write simple `ComposeActvitityTest.kt`
Copy link
Collaborator

@AlbanTrincherini AlbanTrincherini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing to say 👍, just as we discussed it 😌.

@Maeeen Maeeen merged commit f9251b6 into master Mar 8, 2023
Maeeen added a commit that referenced this pull request Mar 8, 2023
* Modify configuration files to support Kotlin & Jetpack Compose

As discussed this morning, we plan on moving to Kotlin and Jetpack compose. This commit marks the beginning of the modification to make it.

* Update minSdk to comply with firebase requirement

Changes:
* Change from minSdk:24 to minSdk:28 to comply with the firebase
  realtime database requirements

* Delete old java activity file and write basic test

Changes:
* Remove `GreetingActivity.java` and `MainActivity.java` and
  dependencies
* Write simple `ComposeActvitityTest.kt`

* fix: Support for coverage with Kotlin

* Added Mockito

* Fixed the build.gradle with proper versions

* 🔥 💯 :triump: base 😡

---------

Co-authored-by: BoyeGuillaume <guillaume.boye@epfl.ch>
@Maeeen Maeeen deleted the compose-migration branch March 10, 2023 10:06
Maeeen added a commit that referenced this pull request Mar 16, 2023
* Modify configuration files to support Kotlin & Jetpack Compose

As discussed this morning, we plan on moving to Kotlin and Jetpack compose. This commit marks the beginning of the modification to make it.

* Update minSdk to comply with firebase requirement

Changes:
* Change from minSdk:24 to minSdk:28 to comply with the firebase
  realtime database requirements

* Delete old java activity file and write basic test

Changes:
* Remove `GreetingActivity.java` and `MainActivity.java` and
  dependencies
* Write simple `ComposeActvitityTest.kt`

* Authentication

This commit adds firebase, firebase auth, auth ui and also new interfaces for users and authenticator along with some tests.
FirebaseAuthenticator#authenticate should be tested in a valid Android environment with a login activity.

* Better test

* Compose migration (#26)

* Modify configuration files to support Kotlin & Jetpack Compose

As discussed this morning, we plan on moving to Kotlin and Jetpack compose. This commit marks the beginning of the modification to make it.

* Update minSdk to comply with firebase requirement

Changes:
* Change from minSdk:24 to minSdk:28 to comply with the firebase
  realtime database requirements

* Delete old java activity file and write basic test

Changes:
* Remove `GreetingActivity.java` and `MainActivity.java` and
  dependencies
* Write simple `ComposeActvitityTest.kt`

* fix: Support for coverage with Kotlin

* Added Mockito

* Fixed the build.gradle with proper versions

* 🔥 💯 :triump: base 😡

---------

Co-authored-by: BoyeGuillaume <guillaume.boye@epfl.ch>

* Basic interface

* Theme and basic navigation

* Add login flow

* Try of testing navigation

* Add navigation quick test

* Move navigation into appropriate package and refactor

* Begin of LoginActivityTest

* Add test for LoginActivity

* LoginActivity.kt refactor

* fix: authenticate of FirebaseAuthenticator does not abort authenticate when logged-in

* Navigation test

* Delete a line in LoginScreen (cc) and adds seed for theme

* Delete a line in LoginScreen (cc) again

* Add missing UI test dependency in build.gradle

* Should be ok to merge with master

* Should be ok to merge with master

---------

Co-authored-by: BoyeGuillaume <guillaume.boye@epfl.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants