-
Notifications
You must be signed in to change notification settings - Fork 906
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
fix: update the osd-plugin-generator template to reference the correct button #9014
fix: update the osd-plugin-generator template to reference the correct button #9014
Conversation
…t button Signed-off-by: Justin Kim <[email protected]>
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "fix". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
<EuiButton type="primary" size="s" onClick={onClickHandler}> | ||
<EuiSmallButton type="primary" size="s" onClick={onClickHandler}> | ||
<FormattedMessage id="<%= camelCase(name) %>.buttonText" | ||
defaultMessage="<%= hasServer ? 'Get data' : 'Click me' %>" /> | ||
</EuiButton> | ||
</EuiSmallButton> |
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.
can we fix the import by change EuiSmallButton
to EuiButton
, so the page style get unchanged.
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.
yes sure i will do that change
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
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.
thanks
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9014 +/- ##
==========================================
- Coverage 60.87% 60.85% -0.02%
==========================================
Files 3808 3808
Lines 91189 91189
Branches 14405 14405
==========================================
- Hits 55510 55496 -14
- Misses 32139 32152 +13
- Partials 3540 3541 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…t button (#9014) * fix: update the osd-plugin-generator template to reference the correct button Signed-off-by: Justin Kim <[email protected]> * remove the size prop Signed-off-by: Justin Kim <[email protected]> * change it to EuiButton Signed-off-by: Justin Kim <[email protected]> --------- Signed-off-by: Justin Kim <[email protected]> (cherry picked from commit afb2605) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…t button (#9014) (#9018) * fix: update the osd-plugin-generator template to reference the correct button * remove the size prop * change it to EuiButton --------- (cherry picked from commit afb2605) Signed-off-by: Justin Kim <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…t button (opensearch-project#9014) * fix: update the osd-plugin-generator template to reference the correct button Signed-off-by: Justin Kim <[email protected]> * remove the size prop Signed-off-by: Justin Kim <[email protected]> * change it to EuiButton Signed-off-by: Justin Kim <[email protected]> --------- Signed-off-by: Justin Kim <[email protected]> Signed-off-by: Federico Silva <[email protected]>
Description
Issues Resolved
fixes #8918
Testing the changes
node scripts/generate_plugin --name my_plugin_name -y
, and upon navigating to my new plugin's page, the page correctly renders:Changelog
Check List
yarn test:jest
yarn test:jest_integration