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] Join US Enhancements #790 #864

Merged
merged 7 commits into from
May 12, 2024

Conversation

SwayamRana808
Copy link
Contributor

@SwayamRana808 SwayamRana808 commented May 12, 2024

Issue that this pull request solves

Closes: #790

Proposed changes

under admin join us page

  1. removed url button
  2. linkedIn link working
  3. delete button functioning

Brief description of what is fixed or changed

  1. Removed url button from each cards in joinUs page.
  2. LinkedIn button which was not redirectly to new tab is now redirecting.
  3. Delete button to delete card is now functioning.

Types of changes

1.removed url button code.
2. added delete api from backend to delete button from frontend
Put an x in the boxes that apply

  • [ x] 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

Screenshot 2024-05-12 143042

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

Other information

Any other information that is important to this pull request

Copy link

welcome bot commented May 12, 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!😄

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.

@SwayamRana808 The changes looks good to me, please incorporate the requested cleanups and it should be good to be merged :)

frontend/.env Outdated Show resolved Hide resolved
</div>
</div>

Copy link
Member

Choose a reason for hiding this comment

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

[neat] please make sure the formatting is consistent, i see few extra space here which is un-necessary

@@ -5,10 +5,14 @@ import Grid from "@material-ui/core/Grid"
import { Card } from './Card/index.js'
import style from './joinus.module.scss'
import Loader from "../../../../components/util/Loader";
// import { useState } 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.

[neat] please remove these commented code


const HandleDeleteSuccess = (id) => {
setJoinUsData(prevData => prevData.filter(item => item._id !== id));
console.log(id);
Copy link
Member

Choose a reason for hiding this comment

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

[neat] can we please get rid of this console log statement?

@Kajol-Kumari Kajol-Kumari added level2 Bug fixing, adding small features. gssoc GSSoC'24 Label labels May 12, 2024
@Kajol-Kumari
Copy link
Member

@SwayamRana808 one more thing i forgot to point above - There should be a loader while deletion is going on, (take reference from resource deletion page). This will make user aware of the operation going on

@SwayamRana808
Copy link
Contributor Author

I have made the changes please review it .

Recording.2024-05-12.194534.mp4

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.

LGTM 👍🏻

@Kajol-Kumari Kajol-Kumari merged commit 790493d into HITK-TECH-Community:main May 12, 2024
7 checks passed
Copy link

welcome bot commented May 12, 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!😄

@SwayamRana808
Copy link
Contributor Author

thank you , this was my first open source contribution ❤️

@Kajol-Kumari
Copy link
Member

Way more to come, all the best @SwayamRana808 :)

@SwayamRana808 SwayamRana808 deleted the joinUsDelete branch May 13, 2024 12:56
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] Join US Enhancements
2 participants