From 331406034fee44b3474975d705d82c6af96f46a2 Mon Sep 17 00:00:00 2001 From: Amit Arora <98074872+rhamitarora@users.noreply.github.com> Date: Mon, 11 Sep 2023 12:38:27 +0530 Subject: [PATCH] Added the Actions Icons on Cluster Detail Page (#3051) * Added the Actions Icons on Cluster Detail Page * Added Action Icon Button on Cluster Detail Page * Added Action Icon Button on Cluster Detail Page --- .../assets/v2/build/asset-manifest.json | 6 +- pkg/portal/assets/v2/build/index.html | 2 +- .../v2/build/static/js/main.f1999c11.js | 3 + ...CENSE.txt => main.f1999c11.js.LICENSE.txt} | 0 .../v2/build/static/js/main.f1999c11.js.map | 1 + .../v2/build/static/js/main.f27c737c.js | 3 - .../v2/build/static/js/main.f27c737c.js.map | 1 - portal/v2/src/App.tsx | 5 +- portal/v2/src/ClusterDetail.tsx | 12 ++- portal/v2/src/ClusterList.tsx | 62 ++------------ portal/v2/src/SSHModal.tsx | 80 +++++++++++-------- .../v2/src/{Kubeconfig.tsx => ToolIcons.tsx} | 44 +++++++++- test/e2e/admin_portal.go | 35 ++++++++ 13 files changed, 145 insertions(+), 109 deletions(-) create mode 100644 pkg/portal/assets/v2/build/static/js/main.f1999c11.js rename pkg/portal/assets/v2/build/static/js/{main.f27c737c.js.LICENSE.txt => main.f1999c11.js.LICENSE.txt} (100%) create mode 100644 pkg/portal/assets/v2/build/static/js/main.f1999c11.js.map delete mode 100644 pkg/portal/assets/v2/build/static/js/main.f27c737c.js delete mode 100644 pkg/portal/assets/v2/build/static/js/main.f27c737c.js.map rename portal/v2/src/{Kubeconfig.tsx => ToolIcons.tsx} (62%) diff --git a/pkg/portal/assets/v2/build/asset-manifest.json b/pkg/portal/assets/v2/build/asset-manifest.json index eb04d026dcc..7b0a26ef7b7 100644 --- a/pkg/portal/assets/v2/build/asset-manifest.json +++ b/pkg/portal/assets/v2/build/asset-manifest.json @@ -1,10 +1,10 @@ { "files": { - "main.js": "/static/js/main.f27c737c.js", + "main.js": "/static/js/main.f1999c11.js", "index.html": "/index.html", - "main.f27c737c.js.map": "/static/js/main.f27c737c.js.map" + "main.f1999c11.js.map": "/static/js/main.f1999c11.js.map" }, "entrypoints": [ - "static/js/main.f27c737c.js" + "static/js/main.f1999c11.js" ] } \ No newline at end of file diff --git a/pkg/portal/assets/v2/build/index.html b/pkg/portal/assets/v2/build/index.html index 07d4b7c85f5..33040bcd9ce 100644 --- a/pkg/portal/assets/v2/build/index.html +++ b/pkg/portal/assets/v2/build/index.html @@ -1 +1 @@ -
0&&tt?1:e>=t?0:NaN}function Sy(e,t){return null==e||null==t?NaN:t0;){if((o=Cy(l,u,n))===r)return i[a]=l,i[s]=u,t(i);if(o>0)l=Math.floor(l/o)*o,u=Math.ceil(u/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,u=Math.floor(u*o)/o}r=o}return e},e}function Jb(){var e=Nb();return e.copy=function(){return Rb(e,Jb())},Ab.apply(e,arguments),Qb(e)}Gb=Zb({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Kb=Gb.format,Yb=Gb.formatPrefix;const eC=1e3,tC=60*eC,nC=60*tC,rC=24*nC,oC=7*rC,iC=30*rC,aC=365*rC,sC=new Date,lC=new Date;function uC(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=t=>(e(t=new Date(+t)),t),o.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),o.round=e=>{const t=o(e),n=o.ceil(e);return e-t=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=_[o in I_?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=x(n,b),b.X=x(r,b),b.c=x(t,b),C.x=x(n,C),C.X=x(r,C),C.c=x(t,C),{format:function(e){var t=x(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",C);return t.toString=function(){return e},t},utcParse:function(e){var t=S(e+="",!0);return t.toString=function(){return e},t}}}var D_,E_,I_={"-":"",_:" ",0:"0"},L_=/^\s*\d+/,T_=/^%/,M_=/[\\^$*+?|[\]().{}]/g;function R_(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i