Skip to content
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

Use smaller and compressed varients of buttons and form components #257

Merged
merged 9 commits into from
Aug 2, 2024

Conversation

AMoo-Miki
Copy link
Contributor

Description

Replace instances of EuiButton that don't have an explicit sizing attribute to EuiSmallButton*.
Replace instances of Eui<form elements> that don't have density attributes to EuiCompressed<form elements>.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link
Member

@ohltyler ohltyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @AMoo-Miki! Just one small syntax comment.

Btw, is there any standardized guidelines for this listed somewhere I can reference for the future?

@@ -85,7 +85,7 @@ export function ModelField(props: ModelFieldProps) {
<Field name={props.fieldPath}>
{({ field, form }: FieldProps) => {
return (
<EuiFormRow
<EuiompressedFormRow
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing C. Same on lines 99 / 138

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@AMoo-Miki
Copy link
Contributor Author

Btw, is there any standardized guidelines for this listed somewhere I can reference for the future?

Viraj owns it. Can't tag him here somehow.

Signed-off-by: Miki <[email protected]>
@ohltyler ohltyler merged commit 9f9f74e into opensearch-project:main Aug 2, 2024
6 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 2, 2024
ohltyler pushed a commit that referenced this pull request Aug 2, 2024
) (#259)

Signed-off-by: Miki <[email protected]>
(cherry picked from commit 9f9f74e)

Co-authored-by: Miki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants