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

[Frontend] Integrate Get Team on Admin Panel Fixed #868

Merged
merged 3 commits into from
May 13, 2024

Conversation

Hemu21
Copy link
Contributor

@Hemu21 Hemu21 commented May 13, 2024

Issue that this pull request solves

Under Admin Panel, About Us => Manage Team It should call the Get Team api and the actual data should be populated

Issue

Issue Link resolve #789

Closes: #789

Types of changes

Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • 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

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

Important information

There a important thing I am telling. Db does not had valid profiles so dp is not displaying. and Api get all team members get data without authenticating. I had added the token in fetching so no problem in merging this pr. But You need to Improve backend api.

Copy link

welcome bot commented May 13, 2024

Thank you and congrats🎉 for opening this pull request!💖

Please make sure you have followed our Contributing Guidelines.🙌 We will test out your code and reply in a bit with some pointers and requests.💿 There may be some errors, but don't worry! We'll work through them with you! 👍🎉😄 If you haven't filled the template out, Please do so!🚀
Feel free to join our Slack Community.💖 We have different channels for active discussions.✨ Hope you have a great time there!😄

@auto-assign auto-assign bot requested a review from jackfrost13 May 13, 2024 08:49
Copy link
Member

@Kajol-Kumari Kajol-Kumari left a comment

Choose a reason for hiding this comment

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

minor comments and please make sure the responsivenes as well, rest the pr looks good

{d.description}
<h3 style={{fontWeight:"bolder"}}>About</h3> {d.description}
</div>
<div className={style["content"]}>
Copy link
Member

Choose a reason for hiding this comment

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

the linkedIn, github and twitter urls should be url and should open in a new tab once someone clicks on it.

{d.icon}
<h4> {d.name} </h4>
<div style={{display:"flex", justifyContent:"center",alignItems:"center"}}>
<img src={d.image} style={{margin:"auto", borderRadius:"50%", width:"200px", height:"200px"}} alt="" />
Copy link
Member

Choose a reason for hiding this comment

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

If the image doesn't load due to some reason, can we show a default image?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Image is not loading because In database there is no valid image url

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok I will make this changes

Copy link
Member

Choose a reason for hiding this comment

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

In database, the image is getting stored in /upload/teamMember folder so don't expect an url to come, instead you should use relative path to render the same.

@Kajol-Kumari Kajol-Kumari added gssoc GSSoC'24 Label level2 Bug fixing, adding small features. labels May 13, 2024
@Hemu21
Copy link
Contributor Author

Hemu21 commented May 13, 2024

@Kajol-Kumari I had updated it can you please check. I am putting this image here because database image urls are wrong. so image is not displaying. I had added default image also.

kajol

@Hemu21
Copy link
Contributor Author

Hemu21 commented May 13, 2024

@Kajol-Kumari Updated can you please check.

@Kajol-Kumari Kajol-Kumari merged commit 524cddc into HITK-TECH-Community:main May 13, 2024
4 checks passed
Copy link

welcome bot commented May 13, 2024

Congrats on merging your first pull request! 🙌 🎉 ⚡️ Now that you've merged your first pull request, you're the perfect person to help someone else out with this challenging first step.😄🙌
Feel free to join our Slack Community.💖 We have different channels for active discussions.✨ Hope you have a great time there!😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc GSSoC'24 Label level2 Bug fixing, adding small features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Frontend] Integrate Get Team on Admin Panel
2 participants