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

feat: move reconnect banner to a new component #692

Closed
wants to merge 6 commits into from

Conversation

LuseBiswas
Copy link

@LuseBiswas LuseBiswas commented Sep 6, 2024

Fixes Issue

**My PR closes #691 **

πŸ‘¨β€πŸ’» Changes proposed(What did you do ?)

I just made another component i.e. ReconnectBanner.jsx in Components πŸ“ of Client and And applied it in BuddyMatcher.jsx by pasing props.

βœ”οΈ Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • This PR does not contain plagiarized content.
  • The title and description of the PR is clear and explains the approach.

Note to reviewers

πŸ“· Screenshots

Copy link

vercel bot commented Sep 6, 2024

@LuseBiswas is attempting to deploy a commit to the dunsin's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

PR Compliance Checks

Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.

Protected Branch

In order to be considered for merging, the pull request changes must not be implemented on the "main" branch. This is described in our Contributing Guide. We are closing this pull request and we would suggest that you implement your changes as described in our Contributing Guide and open a new pull request.

Watched Files

This pull request modifies specific files that require careful review by the maintainers.

Files Matched

  • package-lock.json

@LuseBiswas
Copy link
Author

@Dun-sin I checked all the things and I found out that there is restirictions in a Max-Character Limit in One Line. So I break the Line into several parts to encounter that error.
And there are some components which are not in use but declared so I removed that too.
Hope this will make the build perfect. Rest I still not able to get you vercel link you are saying to me.

I know its sound silly but can you please provide to me. Actually I am new in Open Source Contribution. SO thats why.

@Dun-sin
Copy link
Owner

Dun-sin commented Sep 6, 2024

@LuseBiswas pls stop creating new prs and just edit and fix your current PR, google it if you don't know how

secondly, you didn't fill the PR properly and the compliance error is still there(look at what i said in the last PR you just closed)

Copy link

vercel bot commented Sep 6, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
whisper-b2p2 βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Sep 6, 2024 2:36pm

@Dun-sin
Copy link
Owner

Dun-sin commented Sep 6, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
whisper-b2p2 βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Sep 6, 2024 2:36pm

@LuseBiswas here's the vercel link

client/src/components/BuddyMatcher.jsx Outdated Show resolved Hide resolved
client/src/components/BuddyMatcher.jsx Outdated Show resolved Hide resolved
client/src/components/BuddyMatcher.jsx Outdated Show resolved Hide resolved
client/src/components/ReconnectBanner.jsx Outdated Show resolved Hide resolved
client/src/components/ReconnectBanner.jsx Outdated Show resolved Hide resolved
package-lock.json Outdated Show resolved Hide resolved
client/src/components/ReconnectBanner.jsx Show resolved Hide resolved
@LuseBiswas
Copy link
Author

@Dun-sin Thankyou for guiding me in detail. I had done all the changes as you said. Let me know if any other changes I need to do.

Copy link
Owner

@Dun-sin Dun-sin left a comment

Choose a reason for hiding this comment

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

my mistake, pls remove all(don't delete) the files that you didn't work on

@Dun-sin
Copy link
Owner

Dun-sin commented Sep 7, 2024

@LuseBiswas also fill the PR template properly, you can edit it, check the 3 dots by the side of it

@LuseBiswas
Copy link
Author

Hey @Dun-sin I just made all the changes:-
First:- I edited my PR Template by explaining my approcah and changes I made.
Second:- I remove (I dont delete it this time) all the files which I did not work on.

But there is an extra empty commit there named "[Merge resolved: Your commit message here]" it is done by me intentionally, actually I was facing problem to reset the last commit so I had to force the commit. Kindly look at that while merging it.

@LuseBiswas
Copy link
Author

@Dun-sin if any changes I need to make then let me know. I'll make that. Because of your support I learnt so much new things.πŸ™‚

Copy link
Owner

Choose a reason for hiding this comment

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

still need to remove this

<Anonymous
onChatClosed={startNewSearch}
/>
//Changes made here with moviing reconnector to another component.
Copy link
Owner

Choose a reason for hiding this comment

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

remove this comment

Copy link
Owner

Choose a reason for hiding this comment

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

don't think you ran prettier for this file, do you have prettier installed on your VSCode(it should automatically do this on each save)

@Dun-sin
Copy link
Owner

Dun-sin commented Sep 7, 2024

Hey @Dun-sin I just made all the changes:- First:- I edited my PR Template by explaining my approcah and changes I made. Second:- I remove (I dont delete it this time) all the files which I did not work on.

But there is an extra empty commit there named "[Merge resolved: Your commit message here]" it is done by me intentionally, actually I was facing problem to reset the last commit so I had to force the commit. Kindly look at that while merging it.

@LuseBiswas don't worry about the commit, that's normal, i will handle that when i merge this. you still need to provide the screenrecording in your PR. It can be a screenshot like in this PR -> #683 or a screenrecoding like this PR -> #680

@LuseBiswas
Copy link
Author

Hey @Dun-sin its been a day I am trying to get that reconnect banner option on the web app. I tried to being offline and decreasing my internet speed through Network tab from inspection. But I am unable to get that.

It is not like this problem I am facing on my local website. Its even in your hosted website too. I think you should check it out.

Screenshot 2024-09-09 at 3 16 26β€―AM

@Dun-sin
Copy link
Owner

Dun-sin commented Sep 9, 2024

Thanks, will look into it

@Dun-sin
Copy link
Owner

Dun-sin commented Sep 9, 2024

@LuseBiswas create a new PR with the right branch, which is anything other than main and remove package.json

@Dun-sin
Copy link
Owner

Dun-sin commented Sep 12, 2024

@LuseBiswas

@LuseBiswas
Copy link
Author

@Dun-sin I am so sorry...but actually I was little busy with my academics....I will make it ASAP.

@Dun-sin Dun-sin closed this Sep 18, 2024
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