-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Menu API] All our drop down menus should use the new menu api #3607 #3620
Conversation
67556ea
to
49593ca
Compare
3018575
to
d266e99
Compare
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.
This looks great, just one tiny nitpick
@@ -114,7 +75,7 @@ export default { | |||
return this.openmct.objects.get(this.openmct.router.path[0].identifier) | |||
.then((currentObject) => { | |||
let legacyContextualParent = this.convertToLegacy(currentObject); | |||
let legacyType = this.openmct.$injector.get('typeService').getType(item.key); | |||
let legacyType = this.openmct.$injector.get('typeService').getType(key); |
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.
we can use the new types api (openmct.types)
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.
CreateAction
(openmct/platform/commonUI/edit/src/creation/CreateAction.js
) requires legacyType
, so this might not work unless I am missing something.
@nikhilmandlik - Once you fix conflicts and make the one suggested change, i will merge |
d266e99
to
d769ea8
Compare
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.
af9d201
to
128b8f4
Compare
128b8f4
to
b430f9d
Compare
@charlesh88 @nikhilmandlik This good to go? |
Reviewer Checklist
|
Resolves:
resolves: #3607
TODOs:
fix size of super menu (menu with description) @charlesh88
May need to add

text-transform: capitalize;
on font-style menus @charlesh88Create menu
Time conductor menus (ConductorMode.vue, ConductorTimeSystem.vue, ConductorHistory.vue)
Inspector Font style menus (FontStyleEditor.vue)
Notes:
Identified following menus:
Author Checklist: