Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

feat(menu): added icons to items in the hamburger menu #2213

Closed
wants to merge 6 commits into from
Closed

feat(menu): added icons to items in the hamburger menu #2213

wants to merge 6 commits into from

Conversation

linus345
Copy link
Contributor

@linus345 linus345 commented Jul 8, 2020

Closes #2209

Changes proposed in this pull request:

  • Added icons to items in the hamburger menu

note
useTranslator seems to have been automatically fixed by the linter and was included in the commit. Let me know if this is a problem.

@gitpod-io
Copy link

gitpod-io bot commented Jul 8, 2020

@vercel
Copy link

vercel bot commented Jul 8, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hospitalrun/hospitalrun-frontend/nth9uuy0j
✅ Preview: https://hospitalrun-frontend-git-fork-linus345-feat-mobile-menu-icons.hospitalrun.vercel.app

},
viewIncidents: {
permission: Permissions.ViewIncidents,
label: 'incidents.reports.label',
path: '/incidents',
icon: 'incident',
},
settings: {
permission: null,
Copy link
Member

Choose a reason for hiding this comment

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

we have a settings icon that we can use here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Instead of incident for viewIncidents(the marked line) or for the settings field? I assume the settings field?

Do you know the name of the icon?

Copy link
Member

Choose a reason for hiding this comment

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

For the settings field, sorry the marked line got a little weird.

The name of the icon is called setting.

For future reference, here are a list of our icon set: https://components.hospitalrun.io/?path=/story/icons--icon-set

@matteovivona matteovivona added the in progress indicates that issue/pull request is currently being worked on label Jul 9, 2020
@vercel vercel bot temporarily deployed to Preview July 9, 2020 13:59 Inactive
@linus345
Copy link
Contributor Author

Should this pr be closed? Looks like #2220 did almost the exact same.

@jackcmeyer jackcmeyer closed this Jul 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in progress indicates that issue/pull request is currently being worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add icons to hamburger menu
3 participants