RoadTripMoustache / kana_to_kanji

Simple application to learn Japanese kana (hiragana, katakana) and kanji
5 stars 1 forks source link

feat: Implement sign in #272

Open Adaendra opened 1 month ago

Adaendra commented 1 month ago

Prerequisites

Pull Requests

📖 Description

Implement the sign in with email and google. Code is done for apple but not tested (and maybe some configs are missing)

⁉️ Related Issues

closes: #137

🧪 How to test the change?

Sign in anonymously

Sign in with classic account

Sign in with google

☑️ Checklist before requesting a review

github-actions[bot] commented 1 month ago

Coverage after merging issue_137 into issue_136 will be

53.37%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication
   landing_view.dart0%100%100%0%101–102, 104–105, 114, 116–118, 120–122, 125, 127–128, 130–132, 134, 136–137, 141, 144–146, 21, 25–26, 36–38, 42, 44–47, 50, 52–53, 62, 64, 66–68, 70–73, 75, 78, 80, 83, 85, 88–90, 92–93, 98–99
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart98.21%100%100%98.21%60
   sign_in_view_model.dart91.67%100%100%91.67%33, 35
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%
github-actions[bot] commented 1 month ago

Coverage after merging issue_137 into issue_136 will be

53.37%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication
   landing_view.dart0%100%100%0%101–102, 104–105, 114, 116–118, 120–122, 125, 127–128, 130–132, 134, 136–137, 141, 144–146, 21, 25–26, 36–38, 42, 44–47, 50, 52–53, 62, 64, 66–68, 70–73, 75, 78, 80, 83, 85, 88–90, 92–93, 98–99
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart98.21%100%100%98.21%60
   sign_in_view_model.dart91.67%100%100%91.67%33, 35
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%
github-actions[bot] commented 1 month ago

Coverage after merging issue_137 into issue_136 will be

53.37%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication
   landing_view.dart0%100%100%0%101–102, 104–105, 114, 116–118, 120–122, 125, 127–128, 130–132, 134, 136–137, 141, 144–146, 21, 25–26, 36–38, 42, 44–47, 50, 52–53, 62, 64, 66–68, 70–73, 75, 78, 80, 83, 85, 88–90, 92–93, 98–99
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart98.21%100%100%98.21%60
   sign_in_view_model.dart91.67%100%100%91.67%33, 35
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%
github-actions[bot] commented 1 month ago

Coverage after merging issue_137 into issue_136 will be

53.61%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart98.21%100%100%98.21%60
   sign_in_view_model.dart91.67%100%100%91.67%33, 35
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%
github-actions[bot] commented 4 weeks ago

Coverage after merging issue_137 into issue_136 will be

53.59%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart98.21%100%100%98.21%60
   sign_in_view_model.dart91.30%100%100%91.30%30, 32
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%
github-actions[bot] commented 3 weeks ago

Coverage after merging issue_137 into issue_136 will be

54.15%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart100%100%100%100%
   sign_in_view_model.dart91.30%100%100%91.30%30, 32
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%
github-actions[bot] commented 3 weeks ago

Coverage after merging issue_137 into issue_136 will be

54.15%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart100%100%100%100%
   sign_in_view_model.dart91.30%100%100%91.30%30, 32
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%
github-actions[bot] commented 3 weeks ago

Coverage after merging issue_137 into issue_136 will be

54.15%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart97.87%100%100%97.87%41
   sign_in_view_model.dart91.30%100%100%91.30%30, 32
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%
github-actions[bot] commented 3 weeks ago

Coverage after merging issue_137 into issue_136 will be

53.12%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication
   landing_view.dart0%100%100%0%15, 25, 27, 29–34, 36–38, 40, 42–43, 46, 48, 50–54, 56–59, 61–62, 67–68, 70–71, 73, 75, 78–79
   landing_view_model.dart0%100%100%0%15, 18–19, 21, 25–26, 31–33, 35, 43–45
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart97.87%100%100%97.87%42
   sign_in_view_model.dart91.30%100%100%91.30%30, 32
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%
github-actions[bot] commented 2 weeks ago

Coverage after merging issue_137 into issue_136 will be

53.12%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
lib/src
   locator.dart2%100%100%2%102–103, 106–107, 110–111, 114–116, 119–120, 125–131, 133, 36–38, 43–53, 60–61, 64, 66–67, 84–90, 92–93, 98–99
lib/src/authentication
   landing_view.dart0%100%100%0%15, 25, 27, 29–34, 36–38, 40, 42–43, 46, 48, 50–54, 56–59, 61–62, 67–68, 70–71, 73, 75, 78–79
   landing_view_model.dart0%100%100%0%15, 18–19, 21, 25–26, 31–33, 35, 43–45
lib/src/authentication/create
   create_account_view_model.dart75%100%100%75%34, 36, 39, 41
lib/src/authentication/services
   auth_service.dart0%100%100%0%16–17, 23, 25–28, 36, 39, 43, 46–48, 52–55, 63–64, 66, 68–75, 77
lib/src/authentication/sign_in
   sign_in_view.dart97.87%100%100%97.87%42
   sign_in_view_model.dart91.30%100%100%91.30%30, 32
lib/src/core/repositories
   user_repository.dart54.84%100%100%54.84%23, 25–27, 30, 32, 72–73, 76, 78, 81–82, 85–86
lib/src/core/services
   api_service.dart0%100%100%0%15–17
   dataloader_service.dart0%100%100%0%20, 22, 25–26, 28–29, 31–32, 34–35, 39–40
   token_service.dart100%100%100%100%