question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Align quick create menu items order with sidebar items order

See original GitHub issue

🐛 Bug Report

The order of quick create menu items needs to align with the sidebar menu items order.

NOTE: This is a followup to #2305

image

To Reproduce

Open the quick create menu and notice the ordering of menu items is different to how they are ordered in the sidebar.

src/shared/components/navbar/Navbar.tsx

  // For Desktop, add shortcuts menu
  const addPages = [
    pageMap.newPatient,
    pageMap.newAppointment,
    pageMap.newLab,
    pageMap.newMedication,
    pageMap.newIncident,
    pageMap.newImaging,
  ]

Expected behavior

The order of the menu items on the quick create menu should be the same as the ordering of the sidebar menu items

image

src/shared/components/navbar/Navbar.tsx

 // For Desktop, add shortcuts menu
  const addPages = [
    pageMap.newPatient,
    pageMap.newAppointment,
    pageMap.newMedication,
    pageMap.newLab,
    pageMap.newImaging,
    pageMap.newIncident,
  ]

Your Environment

  • node version: 6,8,10
  • fastify version: >=1.0.0
  • os: Mac, Windows, Linux
  • any other relevant information

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
blestabcommented, Aug 25, 2020

Sure @alti21, go for it!

0reactions
blestabcommented, Aug 28, 2020

Thank you for offering @mani9896 this one is already assigned to someone else. Stick around we should be able to find you something easy to do. In the meantime checkout our how to contribute guide here https://github.com/HospitalRun/hospitalrun-frontend/blob/master/.github/CONTRIBUTING.md and also be sure to join our slack here: https://hospitalrun-slack.herokuapp.com/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing Order In Quick Create Menu - Microsoft Dynamics ...
Hi, Is it possible to change the order of the entities viewed in the quick create ribbon? Currently it starts with Activities, then...
Read more >
Align Menu.Item to bottom inside a Sider - Stack Overflow
For me I wanted to add a logo at the end of the sidebar so I did like so <Menu.Item title="" style={{ position:...
Read more >
Figma Project: Build a Navigation Menu with Components
Figma is free to use. Sign up here: http://bit.ly/2KaMEjBIn this video, we'll show you how to build a website navigation bar with a...
Read more >
Figma tutorial: Auto layout navigation menu - YouTube
Figma is free to use. Sign up here: http://bit.ly/2NeTyr7Auto Layout can be added to Frames to create dynamic Frames and Components that ...
Read more >
How to Create & Design a Custom Navigation Menu - Elementor
Want to create a functional great-looking navigation menu for your ... Drag and drop the items into the order you want them to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found