Skip to content

FEAT: added dropdown with sign-out option in navbar - #290

Merged
MehulKChaudhari merged 14 commits into
RealDevSquad:developfrom
kotesh-arya:feature/sign-out-option
Feb 10, 2023
Merged

FEAT: added dropdown with sign-out option in navbar#290
MehulKChaudhari merged 14 commits into
RealDevSquad:developfrom
kotesh-arya:feature/sign-out-option

Conversation

@kotesh-arya

@kotesh-arya kotesh-arya commented Oct 14, 2022

Copy link
Copy Markdown
Contributor

Closes #284

Description

  • Currently, When the user visits the RDS website, they sign in with Git hub but are unable to sign out. This feature will enable them to sign out by providing them with an option to sign out in a dropdown from the navbar, as shown below:
    Screenshot (203)

@vinayak-trivedi vinayak-trivedi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for the PR @kotesh-arya
I've requested some changes, please have a look at them

Comment thread components/dropdown/index.js Outdated
Comment thread components/dropdown/index.js Outdated
Comment thread components/dropdown/index.js Outdated
Comment thread components/dropdown/s.module.css

@Muralidhar22 Muralidhar22 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think the dropdown css file name can be given as dropdown.module.css, is there any reason it's named as s.module.css . what do you think?

@kotesh-arya

Copy link
Copy Markdown
Contributor Author

I agree with you @Muralidhar22 , but I am using the styled-jsx now and I will consider naming files more meaningfully 👍🏻

Comment thread components/dropdown/index.js Outdated
Comment thread components/dropdown/index.js Outdated
Comment thread components/NavBar/index.js
Comment thread package.json Outdated
Comment thread color/color.json
Comment thread color/color.json Outdated
Comment thread components/NavBar/index.js Outdated
Comment thread components/dropdown/index.js Outdated
Comment thread components/dropdown/index.js Outdated
Comment thread components/NavBar/navbar.module.css
@Maheima

Maheima commented Nov 18, 2022

Copy link
Copy Markdown

I think you should add the functionality where the dropdown closes when a user clicks outside of it too

@MehulKChaudhari

Copy link
Copy Markdown
Contributor

I think you should add the functionality where the dropdown closes when a user clicks outside of it too

+1

@kotesh-arya

Copy link
Copy Markdown
Contributor Author

I think you should add the functionality where the dropdown closes when a user clicks outside of it too

Added it @Maheima 👍🏻

Comment thread components/NavBar/index.js
Muralidhar22
Muralidhar22 previously approved these changes Nov 25, 2022
@SanketDhabarde

Copy link
Copy Markdown

I think you should add the functionality where the dropdown closes when a user clicks outside of it too

Added it @Maheima 👍🏻

So @kotesh-arya will it close the dropdown when clicking on the navbar or anywhere on screen?

Maheima
Maheima previously approved these changes Dec 1, 2022

@Maheima Maheima left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

vinayak-trivedi
vinayak-trivedi previously approved these changes Dec 2, 2022

@vinayak-trivedi vinayak-trivedi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM 👍

@kotesh-arya
kotesh-arya dismissed stale reviews from vinayak-trivedi and Maheima via 6b2b46e December 4, 2022 11:22
@kotesh-arya

Copy link
Copy Markdown
Contributor Author

I think you should add the functionality where the dropdown closes when a user clicks outside of it too

Added it @Maheima 👍🏻

So @kotesh-arya will it close the dropdown when clicking on the navbar or anywhere on screen?

Yes @SanketDhabarde !
It will close even if user clicks anywhere on the page 👍🏻

Comment thread redux/reducers/dropdowntoggle.js

@MehulKChaudhari MehulKChaudhari left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great move 🔥 using redux. Added few comments please check.

Comment thread components/NavBar/index.js Outdated
Comment thread components/dropdown/index.js Outdated
Maheima
Maheima previously approved these changes Dec 7, 2022

@Maheima Maheima left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

@vercel

vercel Bot commented Dec 22, 2022

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
website-crypto ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 24, 2023 at 7:34AM (UTC)

@ivinayakg ivinayakg left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great Job 👍

@MehulKChaudhari
MehulKChaudhari merged commit 46c0000 into RealDevSquad:develop Feb 10, 2023
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.

Sign Out option in Navbar

7 participants