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

[IndexTable] Update hover styles for status and subdued rows #9893

Merged
merged 3 commits into from
Aug 10, 2023

Conversation

laurkim
Copy link
Contributor

@laurkim laurkim commented Aug 7, 2023

WHY are these changes introduced?

Resolves #666.
Updates hover styles for critical, subdued, and success status rows on IndexTable.
Updates hover styles when subdued prop is true.

Note: Hover styles on selected IndexTable rows remains unchanged, regardless of status.

WHAT is this pull request doing?

Updates hover styles for critical, subdued, and success status rows on IndexTable.
Updates hover styles when subdued prop is true.


IndexTable with Row Status
IndexTable with Row Status


IndexTable with Subdued Rows
IndexTable with Subdued Rows

How to 🎩

Row Status Storybook
Row Subdued Storybook

🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines

🎩 checklist

@laurkim laurkim added 🤖Skip Changelog Causes CI to ignore changelog update check. #gsd:32218 labels Aug 7, 2023
@laurkim laurkim self-assigned this Aug 7, 2023
@laurkim laurkim marked this pull request as ready for review August 7, 2023 17:08
Copy link
Member

@lgriffee lgriffee left a comment

Choose a reason for hiding this comment

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

LGTM! 💯✨🚢 🎉

@laurkim laurkim changed the title [IndexTable] Update hover styles for status rows [IndexTable] Update hover styles for status and subdued rows Aug 9, 2023
@laurkim laurkim merged commit a26b52d into main Aug 10, 2023
14 checks passed
@laurkim laurkim deleted the lo/update-index-table branch August 10, 2023 15:37
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
…#9893)

### WHY are these changes introduced?

Resolves [Shopify#666](Shopify/polaris-internal#666).
Updates hover styles for critical, subdued, and success status rows on
IndexTable.
Updates hover styles when `subdued` prop is `true`.
> Note: Hover styles on selected IndexTable rows remains unchanged,
regardless of status.

### WHAT is this pull request doing?
Updates hover styles for critical, subdued, and success status rows on
IndexTable.
Updates hover styles when `subdued` prop is `true`.
    <details>
      <summary>IndexTable with Row Status</summary>
<img
src="https://github.com/Shopify/polaris/assets/26749317/5c6f36f8-d96d-408f-aa6f-37fbf9efc75a"
alt="IndexTable with Row Status">
    </details>
    <details>
      <summary>IndexTable with Subdued Rows</summary>
<img
src="https://github.com/Shopify/polaris/assets/26749317/75b440d4-33fe-4753-a2c2-36a6d15c8771"
alt="IndexTable with Subdued Rows">
    </details>

<!-- ℹ️ Delete the following for small / trivial changes -->

### How to 🎩

[Row Status
Storybook](https://5d559397bae39100201eedc1-albpoemcxb.chromatic.com/?path=/story/all-components-indextable--with-row-status&globals=polarisSummerEditions2023:true)
[Row Subdued
Storybook](https://5d559397bae39100201eedc1-albpoemcxb.chromatic.com/?path=/story/all-components-indextable--with-subdued-rows&globals=polarisSummerEditions2023:true)

🖥 [Local development
instructions](https://github.com/Shopify/polaris/blob/main/README.md#local-development)
🗒 [General tophatting
guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md)
📄 [Changelog
guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog)

### 🎩 checklist

- [x] Tested on
[mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing)
- [x] Tested on [multiple
browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers)
- [ ] Tested for
[accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md)
- [ ] Updated the component's `README.md` with documentation changes
- [ ] [Tophatted
documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md)
changes in the style guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖Skip Changelog Causes CI to ignore changelog update check.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants