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

Dev 17/08/2021 #77

Merged
merged 5 commits into from
Aug 17, 2021
Merged

Dev 17/08/2021 #77

merged 5 commits into from
Aug 17, 2021

Conversation

arafaysaleem
Copy link
Owner

No description provided.

arafaysaleem and others added 5 commits August 8, 2021 04:49
Merge pull request #70 from arafaysaleem/dev
* chore(Assets): add offline google fonts

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden test for home screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): refactor golden test for home screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden test for login screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): add a global golden test config

Signed-off-by: arafaysaleem <[email protected]>

* chore(Gitignore): ignore windows generated golden pngs

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): add shared mocks for auth provider

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden tests for register screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): refactor golden tests for home and login screens

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): add a workflow to update goldens for new changes

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): update PR actions to new versions

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add comments to all golden tests

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): fix test folder path for ubuntu file system

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): generate local goldens in different dir

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): add a comment to common_mocked_providers.dart

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): update generated goldens for new changes

* ci(Goldens): restrict generation to only if dart code updates

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden tests for change password screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): update generated goldens for new changes

Co-authored-by: arafaysaleem <[email protected]>
* wip(Screen): Add a forgot password screen

Signed-off-by: arafaysaleem <[email protected]>

* refact(Typedef/Screens): add new typedefs for provider listeners

Signed-off-by: arafaysaleem <[email protected]>

* refact(Typedef/Screens): add new typedefs for provider listeners

Signed-off-by: arafaysaleem <[email protected]>
chore(Lint): prefer relative imports
Signed-off-by: arafaysaleem <[email protected]>

* refact(Screen): Refactor the forgot password screen

Signed-off-by: arafaysaleem <[email protected]>

* refact(AuthProvider): update provider state in forget password functions

Signed-off-by: arafaysaleem <[email protected]>

* refact(Screen): add routing to forget password screen

Signed-off-by: arafaysaleem <[email protected]>

* refact(Screen): rename forget password widgets to use forget

Signed-off-by: arafaysaleem <[email protected]>

* chore(Pubspec): update dependencies

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): update generated goldens for new changes

* refact(Helper): Change otp digit error message to single letter

Signed-off-by: arafaysaleem <[email protected]>

* refact(Models): remove unnecessary json annotation, disable error warning

Signed-off-by: arafaysaleem <[email protected]>

* refact(Providers): seperate forgot pw logic into it's own provider

Signed-off-by: arafaysaleem <[email protected]>

* add(Widgets): add callbacks to custom dialog buttons

Signed-off-by: arafaysaleem <[email protected]>

* add(Widgets): introduce padding property on rounded bottom container

Signed-off-by: arafaysaleem <[email protected]>

* refact(Screens/Widgets): fix visuals and bugs with forgot password workflow

Signed-off-by: arafaysaleem <[email protected]>

* refact(Provider): change loading message for reset password state

Signed-off-by: arafaysaleem <[email protected]>

* refact(Screen): pop screen after change password succesful

Signed-off-by: arafaysaleem <[email protected]>

* refact(Widget): change otp inputs' height and validation

Signed-off-by: arafaysaleem <[email protected]>

* refact(Widget): add pop confirmation on reset password form

Signed-off-by: arafaysaleem <[email protected]>

* add(Provider/Widget): add method to resend otp code

Signed-off-by: arafaysaleem <[email protected]>

* ci(Goldens): run golden generation on changes to views directory

Signed-off-by: arafaysaleem <[email protected]>

* refact(Screen): change password reset failure popup title

Signed-off-by: arafaysaleem <[email protected]>

* ci(Goldens): change name of golden generation job

Signed-off-by: arafaysaleem <[email protected]>

* refact(Widgets): use null aware operators instead of if checks

Signed-off-by: arafaysaleem <[email protected]>

Co-authored-by: arafaysaleem <[email protected]>
* chore(Assets): add offline google fonts

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden test for home screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): refactor golden test for home screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden test for login screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): add a global golden test config

Signed-off-by: arafaysaleem <[email protected]>

* chore(Gitignore): ignore windows generated golden pngs

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): add shared mocks for auth provider

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden tests for register screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): refactor golden tests for home and login screens

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): add a workflow to update goldens for new changes

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): update PR actions to new versions

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add comments to all golden tests

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): fix test folder path for ubuntu file system

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): generate local goldens in different dir

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): add a comment to common_mocked_providers.dart

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): update generated goldens for new changes

* ci(Goldens): restrict generation to only if dart code updates

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden tests for change password screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): update generated goldens for new changes

* test(Goldens): add golden tests for forgot password screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Utils): add unit test for new form validator methods

Signed-off-by: arafaysaleem <[email protected]>

* test(Extensions): add unit tests for new otp extension

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): update generated goldens for new changes

* ci(Goldens): don't run on view changes. Might generate incorrect UIs

Signed-off-by: arafaysaleem <[email protected]>

Co-authored-by: arafaysaleem <[email protected]>
… auto_route

* add(Routes): add a routes class with screen names

Signed-off-by: arafaysaleem <[email protected]>

* add(Router): add a router utility for easier navigation

Signed-off-by: arafaysaleem <[email protected]>

* chore(Dependency): remove auto_route package dependency

Signed-off-by: arafaysaleem <[email protected]>

* refact: replace auto router with our AppRouter and Routes class

Signed-off-by: arafaysaleem <[email protected]>

* refact(Router): change Object? to dynamic in MaterialPageRoute

Signed-off-by: arafaysaleem <[email protected]>

* refact(Widget): increase animation duration of floating movie posters

Signed-off-by: arafaysaleem <[email protected]>

* refact(Provider): remove otp int parsing in forgot password provider

Signed-off-by: arafaysaleem <[email protected]>

* ci(Test-PR): remove routes file from test coverage

Signed-off-by: arafaysaleem <[email protected]>
@github-actions github-actions bot added analyzer CI/CD Improvements or additions to the workflows code-gen config exceptions extensions linting Fixes for lint warnings or changes to lint config models Changes concerning model classes networking Changes concerning networking logic presentation-layer Changes concerning UI providers Changes concerning state-management or dependency injection repositories routes Improvements or additions to the routing screens Improvements or additions to screens services Improvements or additions to the app's services tests Improvements or additions to tests utilities Improvements or additions to utility classes views Changes to visual elements widgets Improvements or additions to widgets labels Aug 17, 2021
@codecov
Copy link

codecov bot commented Aug 17, 2021

Codecov Report

Merging #77 (5eab6cf) into release (ea958e0) will increase coverage by 14.24%.
The diff coverage is 40.52%.

Impacted file tree graph

@@             Coverage Diff              @@
##           release      #77       +/-   ##
============================================
+ Coverage     7.83%   22.08%   +14.24%     
============================================
  Files          124      134       +10     
  Lines         2769     3084      +315     
============================================
+ Hits           217      681      +464     
+ Misses        2552     2403      -149     
Impacted Files Coverage Δ
lib/main.dart 0.00% <0.00%> (ø)
lib/models/booking_model.dart 91.66% <ø> (ø)
lib/models/genre_model.dart 100.00% <ø> (ø)
lib/models/movie_model.dart 95.23% <ø> (ø)
lib/models/movie_role_model.dart 100.00% <ø> (ø)
lib/models/payment_model.dart 90.90% <ø> (ø)
lib/models/role_model.dart 100.00% <ø> (ø)
lib/models/seat_model.dart 100.00% <ø> (ø)
lib/models/show_model.dart 100.00% <ø> (ø)
lib/models/show_time_model.dart 100.00% <ø> (ø)
... and 84 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea958e0...5eab6cf. Read the comment docs.

@arafaysaleem arafaysaleem merged commit 9a045e0 into release Aug 17, 2021
arafaysaleem added a commit that referenced this pull request Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer CI/CD Improvements or additions to the workflows code-gen config exceptions extensions linting Fixes for lint warnings or changes to lint config models Changes concerning model classes networking Changes concerning networking logic presentation-layer Changes concerning UI providers Changes concerning state-management or dependency injection repositories routes Improvements or additions to the routing screens Improvements or additions to screens services Improvements or additions to the app's services tests Improvements or additions to tests utilities Improvements or additions to utility classes views Changes to visual elements widgets Improvements or additions to widgets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant