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

fix: Fix profile edit form on submission #119

Closed
wants to merge 1 commit into from

Conversation

ruddi10
Copy link

@ruddi10 ruddi10 commented Mar 9, 2021

Description

When a user edit or fill the profile even after pressing the submit button the form remains open and I think that creates confusion I would rather suggest that we close the form .

New Dependency

react-toastify

Fixes #117

Type of Change:

  • Code
  • User Interface

Code/Quality Assurance Only

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Peek 2021-03-09 17-51
Peek 2021-03-09 17-53

Checklist:

  • My PR follows the style guidelines of this project
  • I have performed a self-review of my own code or materials

Code/Quality Assurance Only

  • My changes generate no new warnings
  • My PR currently breaks something (fix or feature that would cause existing functionality to not work as expected)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been published in downstream modules

@ruddi10
Copy link
Author

ruddi10 commented Mar 9, 2021

@codesankalp @keshakaneria @Aaishpra kindly review it

@codesankalp codesankalp added the Status: Needs Review PR needs an additional review or a maintainer's review. label Mar 9, 2021
Copy link
Member

@keshakaneria keshakaneria left a comment

Choose a reason for hiding this comment

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

Great! Replace the green color with a bit of dark shade and black text written in ALL CAPS with added exclamation mark at the end for Success, so that it is visible. Same goes for the red shade for unsuccessful.
You can use the following shades:

  • Green: #4BE043
  • Red: #F61E1E

@ruddi10
Copy link
Author

ruddi10 commented Mar 9, 2021

@keshakaneria sure will implement those any other suggestions except for that.

@keshakaneria
Copy link
Member

@keshakaneria sure will implement those any other suggestions except for that.

Otherwise looks good 👍

Copy link
Member

@codesankalp codesankalp left a comment

Choose a reason for hiding this comment

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

See my review comments @ruddi10.

@@ -17,6 +17,7 @@
"react-router-dom": "^5.2.0",
"react-router-redux": "^4.0.8",
"react-scripts": "3.4.1",
"react-toastify": "^7.0.3",
Copy link
Member

Choose a reason for hiding this comment

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

I am not sure about adding this, but it looks good. @Aaishpra and @keshakaneria What do you think about adding this?
(I am asking this because it is mentioned to use semantic-UI.)

@@ -1,80 +1,74 @@
import axios from 'axios'
import axios from "axios";
Copy link
Member

Choose a reason for hiding this comment

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

Why this file has been changed @ruddi10 as there is no need for change in actions.
If it's just re-formatting then unstage this file.

@@ -1,22 +1,19 @@
import React, { Component } from 'react'
Copy link
Member

Choose a reason for hiding this comment

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

Again, If there is no change added by you in the code of this file then unstage that file because there is a PR for this.

@@ -1,62 +1,69 @@
import React, { Component } from 'react'
Copy link
Member

Choose a reason for hiding this comment

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

Also, unstage this file if there is no change made by you.

@codesankalp codesankalp added Status: Changes Requested Changes are required to be done by the PR author. and removed Status: Needs Review PR needs an additional review or a maintainer's review. labels Mar 9, 2021
@codesankalp
Copy link
Member

@ruddi10 Please resolve the merge conflicts and do the suggested changes.

@codesankalp
Copy link
Member

Closing this PR due to inactivity and no response from @ruddi10

@ruddi10
Copy link
Author

ruddi10 commented Apr 12, 2021

@codesankalp I will complete this by this weekend if that's not a problem?

@codesankalp
Copy link
Member

Ok, @ruddi10 reopening this pull request 👍

@codesankalp codesankalp reopened this Apr 12, 2021
@codesankalp
Copy link
Member

@ruddi10 Any updates?

@codesankalp codesankalp self-requested a review April 22, 2021 19:01
@ruddi10
Copy link
Author

ruddi10 commented Apr 23, 2021

@ruddi10 Any updates?

@codesankalp some serious health issues in family will it be fine if I take some time?

@codesankalp
Copy link
Member

@ruddi10 Any updates?

@codesankalp some serious health issues in family will it be fine if I take some time?

Ok, @ruddi10 take the time but keep updating in a few days.

@codesankalp
Copy link
Member

@ruddi10 Can you please update your progress? I will wait for 2 days for your reply and after that I will close this PR.

@isabelcosta
Copy link
Member

@codesankalp some serious health issues in family will it be fine if I take some time?

@ruddi10 I will close this due to lack of response. I hope you and your family are well now 🙏🏾
If you wish to work on this again in the future, feel free to claim the issue again and we'll assign this to you.

cc @codesankalp

@isabelcosta isabelcosta closed this Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Changes Requested Changes are required to be done by the PR author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Profile Form doesnt close after submitting
4 participants