Community-Website icon indicating copy to clipboard operation
Community-Website copied to clipboard

update functionality for Admin profile

Open SwayamRana808 opened this issue 1 year ago • 2 comments

Issue that this pull request solves

Closes: #896

Proposed changes

[Frontend] Introduce Update Admin Functionality

Brief description of what is fixed or changed

Introduce Update Admin Functionality and also backend api updated

Types of changes

Put an x in the boxes that apply

  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Documentation update (Documentation content changed)
  • [ ] Other (please describe):

Checklist

Put an x in the boxes that apply

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] My changes does not break the current system and it passes all the current test cases.

Screenshots

Please attach the screenshots of the changes made in case of change in user interface

https://github.com/HITK-TECH-Community/Community-Website/assets/122097724/7b260dd2-71cb-4d47-ac23-f09d0f19de72

Other information

Any other information that is important to this pull request

SwayamRana808 avatar May 19 '24 06:05 SwayamRana808

@SwayamRana808 let me know when u are done fixing the requested changes as i can see the current state of this pr is not good, a lot of un-necessary changes are there and functionality is still not intact

Kajol-Kumari avatar May 20 '24 15:05 Kajol-Kumari

i have changed response json but still it showing in network tab

Screenshot 2024-05-20 212920

it should have shown something like this -- Screenshot 2024-05-20 213244

@Kajol-Kumari can you please have look on this

SwayamRana808 avatar May 20 '24 16:05 SwayamRana808

Screenshot 2024-05-22 at 9 40 52 PM The phone number field keeps on giving error, can u check this?

number should start with 9-6 it was validity check if number is from India its was already defined in backend here validationSchema updateAdmin contact schema 6-9

SwayamRana808 avatar May 22 '24 16:05 SwayamRana808