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

Removed Edit Profile button and Added individuals buttons for edit profile pic and bio #293

Closed
wants to merge 6 commits into from

Conversation

developer-rachit
Copy link
Contributor

This PR is regarding this suggestion #214
Updated Figma design as discussed with @Xazin
In these one requirement is pending, when Bio character counts exceed 150 then we need to disable the Save Bio btn.
I am not getting this how, I need @Xazin your assistance pls.

@developer-rachit developer-rachit requested a review from Xazin October 8, 2022 18:54
@Xazin
Copy link
Member

Xazin commented Nov 20, 2022

@developer-rachit Can you rebase and fix merge conflicts, then I will take a look again and see if we can merge?

@codecov
Copy link

codecov bot commented Nov 28, 2022

Codecov Report

Merging #293 (cb96857) into development (5936fad) will increase coverage by 0.02%.
The diff coverage is 10.52%.

@@               Coverage Diff               @@
##           development     #293      +/-   ##
===============================================
+ Coverage        26.96%   26.98%   +0.02%     
===============================================
  Files              139      139              
  Lines             3620     3624       +4     
===============================================
+ Hits               976      978       +2     
- Misses            2644     2646       +2     
Impacted Files Coverage Δ
lib/application/user/profile/profile_event.dart 0.00% <0.00%> (ø)
lib/presentation/profile/profile_screen.dart 0.00% <0.00%> (ø)
lib/application/user/profile/profile_state.dart 66.66% <33.33%> (-8.34%) ⬇️
lib/application/user/profile/profile_bloc.dart 43.33% <35.71%> (-6.67%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Xazin Xazin force-pushed the development branch 13 times, most recently from 5be7e86 to 77ff369 Compare December 11, 2022 20:08
@Xazin Xazin force-pushed the development branch 7 times, most recently from 9ffa101 to 7fdfc72 Compare December 19, 2022 21:16
@Xazin Xazin force-pushed the development branch 3 times, most recently from 05db9fc to 1ac5990 Compare December 19, 2022 21:36
color: Color(0xFF666666),
),
textAlign: TextAlign.left,
Row(
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this could be a Widget itself?

),
onPressed: () {
if (state.isBioEditing == true) {
/// TODO: Implement save profile image
Copy link
Member

Choose a reason for hiding this comment

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

Not relevant comment?

),
const SizedBox(height: 10),
if (state.isEditing == true) ...[
if (state.isBioEditing == true) ...[
//idhr bio editing start
Copy link
Member

Choose a reason for hiding this comment

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

Remove

),
),
),
],
] else ...[
// TODO only for MVP (remove later)
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if this comment is still relevant?

);
context
.read<ProfileBloc>()
.add(EditProfilePic());
Copy link
Member

Choose a reason for hiding this comment

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

I don't remember how this works, but shouldn't the image be passed to this event?

@Xazin Xazin closed this Jan 24, 2023
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.

2 participants