This PR introduces significant updates to ensure the components of the profile-related screens adhere to our design flow idea, closely aligning with Figma specifications (subject to updates for M2). It closes issue #158, subtask from #82.
Changes
Test Class Updates
Removed all references to the email field in CreateProfileTest and EditProfileTest classes.
Deleted test cases: createInvalidProfileNoEmail and editInvalidProfileNoEmail.
UI Component Adjustments
Modified ProfileSection in ProfileComponents.kt to fill the width and align text to the start.
Updated CreateProfileScreen to remove the email field and adjust other layout elements.
Resource Constants
Removed constants related to the email field in C.kt.
Updated other constants to reflect the revised UI structure.
Profile Screen Tests
Added new assertions for UI elements in ProfileScreenTest, covering the contribution field and reviews section.
Files
Added
N/A
Modified
CreateProfileScreen.kt
ProfileComponents.kt
EditProfileScreen.kt
CreateProfileTest.kt
ProfileScreenTest.kt
EditProfileTest.kt
C.kt
Removed
Email-related constants and test cases
Dependencies Added
N/A
Testing
Updated tests to reflect changes in profile screen layouts.
Verified the removal of email-related tests does not impact overall test coverage.
Make Profile Screens Fit Our Design Flow Idea
Description
This PR introduces significant updates to ensure the components of the profile-related screens adhere to our design flow idea, closely aligning with Figma specifications (subject to updates for M2). It closes issue #158, subtask from #82.
Changes
Test Class Updates
CreateProfileTest
andEditProfileTest
classes.createInvalidProfileNoEmail
andeditInvalidProfileNoEmail
.UI Component Adjustments
ProfileSection
inProfileComponents.kt
to fill the width and align text to the start.CreateProfileScreen
to remove the email field and adjust other layout elements.Resource Constants
C.kt
.Profile Screen Tests
ProfileScreenTest
, covering the contribution field and reviews section.Files
Added
Modified
CreateProfileScreen.kt
ProfileComponents.kt
EditProfileScreen.kt
CreateProfileTest.kt
ProfileScreenTest.kt
EditProfileTest.kt
C.kt
Removed
Dependencies Added
Testing
Screenshots