From 5db2aab407648e47bdb773acefa838511efd7aa3 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Thu, 5 Dec 2024 23:34:18 +0000 Subject: [PATCH 1/3] fix: update the osd-plugin-generator template to reference the correct button Signed-off-by: Justin Kim --- .../template/public/components/app.tsx.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/osd-plugin-generator/template/public/components/app.tsx.ejs b/packages/osd-plugin-generator/template/public/components/app.tsx.ejs index 2029a69dd8db..1e9351d08399 100644 --- a/packages/osd-plugin-generator/template/public/components/app.tsx.ejs +++ b/packages/osd-plugin-generator/template/public/components/app.tsx.ejs @@ -88,10 +88,10 @@ import { CoreStart } from '<%= importFromRoot('src/core/public') %>'; defaultMessage="Last timestamp: {time}" values={{ time: timestamp ? timestamp : 'Unknown' }} />

- + - + From de3076da5ace9a2c83d54b91a29b2c63d76592f1 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Fri, 6 Dec 2024 01:28:48 +0000 Subject: [PATCH 2/3] remove the size prop Signed-off-by: Justin Kim --- .../osd-plugin-generator/template/public/components/app.tsx.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/osd-plugin-generator/template/public/components/app.tsx.ejs b/packages/osd-plugin-generator/template/public/components/app.tsx.ejs index 1e9351d08399..fe674f256333 100644 --- a/packages/osd-plugin-generator/template/public/components/app.tsx.ejs +++ b/packages/osd-plugin-generator/template/public/components/app.tsx.ejs @@ -88,7 +88,7 @@ import { CoreStart } from '<%= importFromRoot('src/core/public') %>'; defaultMessage="Last timestamp: {time}" values={{ time: timestamp ? timestamp : 'Unknown' }} />

- + From 620f910fecc401cff3fa4fd9b198361b338f4bad Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Fri, 6 Dec 2024 01:35:52 +0000 Subject: [PATCH 3/3] change it to EuiButton Signed-off-by: Justin Kim --- .../template/public/components/app.tsx.ejs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/osd-plugin-generator/template/public/components/app.tsx.ejs b/packages/osd-plugin-generator/template/public/components/app.tsx.ejs index fe674f256333..876b3f8c5e75 100644 --- a/packages/osd-plugin-generator/template/public/components/app.tsx.ejs +++ b/packages/osd-plugin-generator/template/public/components/app.tsx.ejs @@ -4,7 +4,7 @@ import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; import { BrowserRouter as Router } from 'react-router-dom'; import { -EuiSmallButton, +EuiButton, EuiHorizontalRule, EuiPage, EuiPageBody, @@ -88,10 +88,10 @@ import { CoreStart } from '<%= importFromRoot('src/core/public') %>'; defaultMessage="Last timestamp: {time}" values={{ time: timestamp ? timestamp : 'Unknown' }} />

- + - +