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

Add CSS display-none utility #1120

Merged
merged 9 commits into from
Jan 13, 2024
Merged

Conversation

ShatilKhan
Copy link
Contributor

Description

Added new CSS Utility Class display-none

Issues Resolved

Fixes #773

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • All tests pass
    • yarn lint
    • yarn test-unit
  • Update CHANGELOG.md
  • 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.

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
Copy link
Member

@joshuarrrr joshuarrrr left a comment

Choose a reason for hiding this comment

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

@BSFishy BSFishy added the OSCI label Nov 2, 2023
@ShatilKhan
Copy link
Contributor Author

@joshuarrrr
Copy link
Member

@ShatilKhan Just checking back to see if you'll be able to finish up this PR.

@ShatilKhan
Copy link
Contributor Author

Yeah @joshuarrrr
I'm finishing up all my PRs by next week hopefully
Was busy with studies for the past few weeks, hence wasn't able to contribute

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
@ShatilKhan
Copy link
Contributor Author

Copy link
Member

@joshuarrrr joshuarrrr left a comment

Choose a reason for hiding this comment

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

Thanks @ShatilKhan! Just a few minor formatting tweaks.

src-docs/src/views/utility_classes/utility_classes.js Outdated Show resolved Hide resolved
src-docs/src/views/utility_classes/utility_classes.js Outdated Show resolved Hide resolved
src-docs/src/views/utility_classes/utility_classes.js Outdated Show resolved Hide resolved
ShatilKhan and others added 3 commits December 12, 2023 06:09
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
@ShatilKhan
Copy link
Contributor Author

ShatilKhan commented Dec 12, 2023

Done with the suggested changes

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
joshuarrrr
joshuarrrr previously approved these changes Dec 12, 2023
@BSFishy
Copy link
Contributor

BSFishy commented Dec 12, 2023

@joshuarrrr joshuarrrr dismissed their stale review December 12, 2023 17:09

awaiting linting fix

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
Copy link
Contributor Author

@ShatilKhan ShatilKhan left a comment

Choose a reason for hiding this comment

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

Fixed linting problem on line 104 in utility_classes.js

Copy link
Contributor

@BSFishy BSFishy left a comment

Choose a reason for hiding this comment

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

I just realized this should also be added to src/themes/oui-next/global_styling/utility/_utility.scss so it works in next themes as well

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
@ShatilKhan
Copy link
Contributor Author

I just realized this should also be added to src/themes/oui-next/global_styling/utility/_utility.scss so it works in next themes as well

done

@joshuarrrr joshuarrrr merged commit 5e7ac43 into opensearch-project:main Jan 13, 2024
16 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 13, 2024
* Update _utility.scss

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Update CHANGELOG.md

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Add `oui-displayNone` to `utility_classes.js`

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Update utility_classes.js

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Fix typo in utility_classes.js

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Fix Indentation in utility_classes.js

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* fix lint

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Add displayNone to oui-next

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

---------

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit 5e7ac43)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
BSFishy pushed a commit that referenced this pull request Jan 25, 2024
* Update _utility.scss

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Update CHANGELOG.md

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Add `oui-displayNone` to `utility_classes.js`

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Update utility_classes.js

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Fix typo in utility_classes.js

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Fix Indentation in utility_classes.js

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* fix lint

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

* Add displayNone to oui-next

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>

---------

Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit 5e7ac43)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

Add oui-displayNone CSS utility
4 participants