Closed chiragtyagi2003 closed 3 months ago
We have these basic policies to make the approval process smoother for our volunteer team.
Please make sure your code passes all tests. Our test code coverage system will fail if either of these two conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing.
Do not assign reviewers. Our Queue Monitors will review your PR and assign them. When your PR has been assigned reviewers contact them to get your code reviewed and approved via:
Your reviewer(s) will have the following roles:
:dart: Please be considerate of our volunteers' time. Contacting the person who assigned the reviewers is not advised unless they ask for your input. Do not @ the person who did the assignment otherwise.
@chiragtyagi2003 Please fix the failing test.
@chiragtyagi2003 Please fix the failing tests.
@Cioppolo14 I believe there are some changes required in the code, as the log suggests issues found in finding ancestors widgets, due to which tests are failing.
This is an update on the PR merging freeze:
develop-userTypeFix
branch into the develop
branch. develop-userTypeFix
branch was created to fix a long standing design flaw where Admins were Admins of all organizations, not specific ones.userType
field has been removed from the User collection and it has been replaced by an appUserProfileId
field.
null
if the user isn’t registered to use the apps. This will help people to add users manually during the event checkin process, or if an Admin wants to manually add someone in the Admin dashboard.null
the AppUserProfileID
will reference a AppUserProfile
collection with App related information such as the organizations for which a user may be an Admin.We decided to do this at the beginning of the weekend to give us all time to adjust PR code and create bug fixes that may arise.
Update your code at or after midnight GMT on the morning of March 23, 2024. (5:30am IST).
If your PRs have already been approved, request a re-review after fixing the conflicts and refactoring to the new AppUserProfileID
methodology.
@chiragtyagi2003 Please fix the failing tests.
This pull request did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please verify it has no conflicts with the develop branch and rebase if needed. Mention it now if you need help or give permission to other people to finish your work.
Closing as stale. We can reopen it if you'd like
What kind of change does this PR introduce?
Unittests for pre_auth_view_models/login_view_model.dart
Issue Number:
Fixes #1007
Did you add tests for your changes?
No, I added unittests for existing code.
Snapshots/Videos:
Not relevant
If relevant, did you update the documentation?
Not Relevant
Summary
The new unit tests are for validation of empty email and password text fields, correct loading of greetings image and also unfocusing of the text fields after login.
Does this PR introduce a breaking change?
No
Other information
Have you read the contributing guide?
Yes