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

[UI] Fix Navbar not closing on click getting started in mobile view #1889

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hymmns
Copy link
Contributor

@hymmns hymmns commented Aug 27, 2024

Description

This PR fixes #1888

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

welcome bot commented Aug 27, 2024

Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, please review the Newcomers' Guide and sure to join the community Slack.
Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while peforming a commit.

Copy link

netlify bot commented Aug 27, 2024

Deploy Preview for mesheryio-preview ready!

Name Link
🔨 Latest commit a661d42
🔍 Latest deploy log https://app.netlify.com/sites/mesheryio-preview/deploys/6714049865baf60008ddc158
😎 Deploy Preview https://deploy-preview-1889--mesheryio-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Gemfile.lock Outdated
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x64-mingw-ucrt)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason for these changes?

Copy link
Member

Choose a reason for hiding this comment

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

@hymmns revert these changes.

@amitamrutiya
Copy link
Contributor

It would also be good to keep the animation we already have when closing the navbar menu.

@hymmns
Copy link
Contributor Author

hymmns commented Aug 27, 2024

Ok thanks @amitamrutiya
Will get on it as soon as I can

Gemfile.lock Outdated
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x64-mingw-ucrt)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
Copy link
Member

Choose a reason for hiding this comment

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

@hymmns revert these changes.

</nav>
<script>
Copy link
Member

Choose a reason for hiding this comment

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

move the js script to javascript file not in html file.Keep things seaparate

Copy link
Member

Choose a reason for hiding this comment

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

@hymmns thoughts on this feedback? Will you be incorporating?

We don't need javascript to accomplish this. We can keep this behavior within CSS.

Copy link
Member

Choose a reason for hiding this comment

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

At least with respect to the function in this file, we can do it within CSS.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @sudhanshutech and @leecalcote.
Does the changes address your comments.
Please let me know if you have any further requests

@hymmns hymmns force-pushed the hymmns/issue#1888 branch 2 times, most recently from 912ac85 to 62f6082 Compare August 29, 2024 21:28
js/stellarnav.js Outdated
Comment on lines 202 to 203
toggleMenu(e);
window.location.href = e.target.href;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not certain why e.preventDefault() was originally added, so to avoid causing any breaking changes, I introduced window.location.href = e.target.href to ensure navigation to the intended URL works

@hymmns
Copy link
Contributor Author

hymmns commented Aug 29, 2024

@amitamrutiya and @sudhanshutech does this address your comments

@amitamrutiya
Copy link
Contributor

Whoa @hymmns, you did an excellent job! One more request: if you can figure out how to do this, could you please add a smooth scrolling effect when we press the "Getting Started" button, regardless of the screen size?

@amitamrutiya
Copy link
Contributor

I found an issue in your deploy preview URL: when I press the "Getting Started" button on a large screen, all of the header options disappear.

@Ashparshp
Copy link

@hymmns, Thank you for your contribution! Let's discuss this during the website call on Monday at 5:30 PM IST (7:00 AM CT). Please consider adding it as an agenda item to the meeting minutes || meeting link.

@hymmns
Copy link
Contributor Author

hymmns commented Aug 31, 2024

@amitamrutiya, I have made the changes as requested.

@Ashparshp
Copy link

@hymmns, Join slack please.

@hymmns
Copy link
Contributor Author

hymmns commented Sep 1, 2024

Thanks for the invite @Ashparshp

@Ashparshp
Copy link

@hymmns,

Thank you for your contribution! Let's discuss this during the website call on Monday at 5:30 PM IST (7:00 AM CT). Please consider adding it as an agenda item to the meeting minutes || meeting link.

@Ashparshp
Copy link

Ashparshp commented Sep 9, 2024

@hymmns, I have added this as an agenda item to the meeting minutes. Please join the evening call.

@leecalcote
Copy link
Member

@hymmns what did we conclude with respect to this PR?

@hymmns
Copy link
Contributor Author

hymmns commented Oct 18, 2024

Thanks @leecalcote, Will do

Copy link

stale bot commented Nov 19, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the issue/stale Issue has not had any activity for an extended period of time label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/website issue/stale Issue has not had any activity for an extended period of time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UI] Navbar is not closing on click getting started in mobile view
5 participants