v14: ManifestEntityAction don't have a weight ?
# package-development
k
Hi, Not sure if this should be an issue - but `ManifestEntityAction`s don't appear to have a way to sort them when you add them ? i would suspect they need a
weight
just like dashboards, trees, etc, ? have i missed another way, or it this a 'feature request'
j
there should be a 'weight' property on them
or are you saying it doesn't work?
k
intellisense fail 😦 - didn't seem like it was there . think it works.
w
No I have noticed do seem to load in a random order was fine before the beta. But unsure if it’s a just me problem or not.
Also the entity action opens my dialog when using the menu top right inside the content editor/workspace but it does nothing when it appears in the tree menu entity actions. Clicking it does nothing....
Will play spot the difference tomorrow against core one...
j
Yeah, I noticed the order switches around all the time
there's a weight on the actions, but the menu probably doesn't take them into account yet
w
It did do in an earlier preview I was able to weight it correctly
So seems a regression
k
i think it does work!, but the core actions don't have weights on them.
I have put weight on mine and they are consistantly near the bottom now. (don't know where reload is set, but its allways at the bottom for me)
j
Ah ok, don't know where I looked just before where they had weights, must have been the workspace actions
I'll make sure we add weights to the entity actions
thanks
This PR adds weights to all entity actions: https://github.com/umbraco/Umbraco.CMS.Backoffice/pull/1434