-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
refactor: changed const name and removed css class #2126
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/hospitalrun/hospitalrun-frontend/4x12ir1mw |
Hi @maciekglowacki, thank you for your submission! What's issue fix (would you link it in PR description |
Hi @tehkapa. I signed CLA. I didn't know how to properly create an issue. Should I always create an issue before making a PR? |
Does your PR start with any existing issues? Also, there are some failing with tests (to be solved) |
No, it doesn't. I will have a look at the tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good eye for catching this inaccurate naming 🙂 It is planned to have a hamberger icon when available (please see HospitalRun/components#456).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please checkout the current master for check-translations/index.ts
so there will be no changes in this file.
Deployment failed with the following error:
|
Deployment failed with the following error:
|
Deployment failed with the following error:
|
Deployment failed with the following error:
|
@maciekglowacki Hi, there's an update about the mobile dropdown menu! The hamberger icon has been added in the Components repo, and this PR is work-in-progress to apply it to the mobile navigation bar. May we ask you to review that PR and let us know what you think? |
This pull request introduces 1 alert when merging afb9657 into 99c2e16 - view on LGTM.com new alerts:
|
Further update. The above mentioned PR has been merged with master. |
There is const hambergerPages in Navbar.tsx file used to map pagesMap object to its values.With annotation that it should display hamburger menu on mobile devices.
However on mobile device a dropdown menu is shown instead of hamburger menu.
I would rename the const simply to pages.
There is a css class "nav-hamburger" but it does not change any styling of nav item.
That is my first pull request so if I should do some changes, please instruct me how to make them :).