From c7be1ee3a2ecc77c4119c8884f7028fcfd4ba19f Mon Sep 17 00:00:00 2001 From: schakradari Date: Tue, 13 Dec 2022 17:13:40 -0500 Subject: [PATCH 1/3] #11602 fix : Object options menu truncated when selected in ApplicationListView. Signed-off-by: schakradari --- .../application-resource-list.tsx | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/ui/src/app/applications/components/application-details/application-resource-list.tsx b/ui/src/app/applications/components/application-details/application-resource-list.tsx index d49ae103166f1..de66235f98714 100644 --- a/ui/src/app/applications/components/application-details/application-resource-list.tsx +++ b/ui/src/app/applications/components/application-details/application-resource-list.tsx @@ -75,19 +75,17 @@ export const ApplicationResourceList = ({ )}> - {() => - nodeMenu({ - name: res.name, - version: res.version, - kind: res.kind, - namespace: res.namespace, - group: res.group, - info: null, - uid: '', - resourceVersion: null, - parentRefs: [] - }) - } + {nodeMenu({ + name: res.name, + version: res.version, + kind: res.kind, + namespace: res.namespace, + group: res.group, + info: null, + uid: '', + resourceVersion: null, + parentRefs: [] + })} From 130585ce5518b69a433cd9e2e388106f768b48e1 Mon Sep 17 00:00:00 2001 From: schakradari Date: Tue, 13 Dec 2022 17:13:40 -0500 Subject: [PATCH 2/3] #11602 fix : Object options menu truncated when selected in ApplicationListView. Signed-off-by: schakradari --- .../application-resource-list.tsx | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/ui/src/app/applications/components/application-details/application-resource-list.tsx b/ui/src/app/applications/components/application-details/application-resource-list.tsx index febe268ccd688..623c1ccb6ad2c 100644 --- a/ui/src/app/applications/components/application-details/application-resource-list.tsx +++ b/ui/src/app/applications/components/application-details/application-resource-list.tsx @@ -75,19 +75,17 @@ export const ApplicationResourceList = ({ )}> - {() => - nodeMenu({ - name: res.name, - version: res.version, - kind: res.kind, - namespace: res.namespace, - group: res.group, - info: null, - uid: '', - resourceVersion: null, - parentRefs: [] - }) - } + {nodeMenu({ + name: res.name, + version: res.version, + kind: res.kind, + namespace: res.namespace, + group: res.group, + info: null, + uid: '', + resourceVersion: null, + parentRefs: [] + })} From a980926ff05d0d23273e902406083179e92cb32a Mon Sep 17 00:00:00 2001 From: schakrad Date: Fri, 31 Mar 2023 16:06:00 -0400 Subject: [PATCH 3/3] metrics-extension-change Signed-off-by: schakrad --- .../application-resource-list.tsx | 24 ++++++++++--------- ui/src/app/index.tsx | 2 ++ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/ui/src/app/applications/components/application-details/application-resource-list.tsx b/ui/src/app/applications/components/application-details/application-resource-list.tsx index 623c1ccb6ad2c..febe268ccd688 100644 --- a/ui/src/app/applications/components/application-details/application-resource-list.tsx +++ b/ui/src/app/applications/components/application-details/application-resource-list.tsx @@ -75,17 +75,19 @@ export const ApplicationResourceList = ({ )}> - {nodeMenu({ - name: res.name, - version: res.version, - kind: res.kind, - namespace: res.namespace, - group: res.group, - info: null, - uid: '', - resourceVersion: null, - parentRefs: [] - })} + {() => + nodeMenu({ + name: res.name, + version: res.version, + kind: res.kind, + namespace: res.namespace, + group: res.group, + info: null, + uid: '', + resourceVersion: null, + parentRefs: [] + }) + } diff --git a/ui/src/app/index.tsx b/ui/src/app/index.tsx index 9ee30c081723d..7331e1c6c173a 100644 --- a/ui/src/app/index.tsx +++ b/ui/src/app/index.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; import * as ReactDOM from 'react-dom'; +import * as Moment from 'moment'; import {App} from './app'; ReactDOM.render(, document.getElementById('app')); @@ -14,3 +15,4 @@ if (mdl.hot) { (window as any).React = React; (window as any).ReactDOM = ReactDOM; +(window as any).Moment = Moment;