Ghini / ghini.desktop

plant collections manager (desktop version)
http://ghini.github.io/
GNU General Public License v2.0
24 stars 14 forks source link

insert menu is sorted by alphabeth rather than logic #398

Closed mfrasca closed 6 years ago

mfrasca commented 6 years ago

Expected behaviour

menu items should be in the same order as the plugins define them. so if our garden plugin says accession→plant→location→contact, we should not change it to accession→contact→location→plant.

Actual behaviour

menu items get sorted by label, which also mean that they will potentially follow different orders in different languages.

mfrasca commented 6 years ago

we could also add separators. for example, the garden plug-in knows it follows the taxonomy plug-in, so it can start with a SeparatorMenuItem. and it might want to separate the Contact menu item from the previous ones.

mfrasca commented 6 years ago

image

mfrasca commented 6 years ago

leaving it as is in 1.0