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

Feat (CollapsibleNavGroup): Make background colors theme-able #968

Conversation

joshuarrrr
Copy link
Member

Description

  • move vars to themes
  • make light and none have the same background in next theme
  • explicitly set none to inherit for existing themes
  • add warning note to prop description
Screen.Recording.2023-08-16.at.10.38.40.AM.mov

Issues Resolved

Fixes #904

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.

- move vars to themes
- make `light` and `none` have the same background in `next` theme
- explicitly set `none` to `inherit` for existing themes
- add warning note to prop description

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
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.

Looks good from impl standpoint

Copy link
Contributor

@KrooshalUX KrooshalUX left a comment

Choose a reason for hiding this comment

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

From UX, LGTM.

…hemeable

Signed-off-by: Josh Romero <rmerqg@amazon.com>
@joshuarrrr joshuarrrr merged commit 693ae40 into opensearch-project:main Aug 17, 2023
8 checks passed
@joshuarrrr joshuarrrr deleted the feat/make-collapsible-nav-group-background-themeable branch August 17, 2023 20:06
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 17, 2023
* Feat (CollapsibleNavGroup): Make background colors theme-able

- move vars to themes
- make `light` and `none` have the same background in `next` theme
- explicitly set `none` to `inherit` for existing themes
- add warning note to prop description

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit 693ae40)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
joshuarrrr pushed a commit that referenced this pull request Aug 17, 2023
…978)

* Feat (CollapsibleNavGroup): Make background colors theme-able

- move vars to themes
- make `light` and `none` have the same background in `next` theme
- explicitly set `none` to `inherit` for existing themes
- add warning note to prop description

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit 693ae40)
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>
joshuarrrr added a commit to joshuarrrr/OpenSearch-Dashboards that referenced this pull request Aug 29, 2023
CollapsibleNav vars now provided via theme import
see opensearch-project/oui#968

Signed-off-by: Josh Romero <rmerqg@amazon.com>
joshuarrrr added a commit to joshuarrrr/OpenSearch-Dashboards that referenced this pull request Aug 30, 2023
CollapsibleNav vars now provided via theme import
see opensearch-project/oui#968

Signed-off-by: Josh Romero <rmerqg@amazon.com>
ashwin-pc pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this pull request Aug 30, 2023
* bump OUI to 1.3.0-beta.2

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Remove unecessary sass import

CollapsibleNav vars now provided via theme import
see opensearch-project/oui#968

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>
joshuarrrr added a commit to joshuarrrr/OpenSearch-Dashboards that referenced this pull request Sep 6, 2023
CollapsibleNav vars now provided via theme import
see opensearch-project/oui#968

Signed-off-by: Josh Romero <rmerqg@amazon.com>
ashwin-pc pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this pull request Sep 7, 2023
* Bump OUI to `1.3.0`

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* bump changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Remove unecessary sass import

CollapsibleNav vars now provided via theme import
see opensearch-project/oui#968

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Co-authored-by: Kawika Avilla <kavilla414@gmail.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.

Update OuiCollapsableNav > OuiCollapsableNavGroup background to use the same value as OuiPageBackgroundColor
3 participants