Skip to content

Conversation

@heyjoethomas
Copy link
Contributor

Updates social media icons by removing them from their containers so they are more identifiable. Also adds an icon for Twitch.

WHY are these changes introduced?

We received feedback that the current icons were hard to distinguish when next to each other.

WHAT is this pull request doing?

How to 🎩

🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines

Copy-paste this code in playground/Playground.tsx:
import React from 'react';
import {Page} from '../src';

export function Playground() {
  return (
    <Page title="Playground">
      {/* Add the code you want to test in here */}
    </Page>
  );
}

🎩 checklist

Removes social media icons from their containers so they are more identifiable and also adds an icon for Twitch
@heyjoethomas heyjoethomas requested a review from Saulki July 28, 2023 19:03
@heyjoethomas heyjoethomas added the Icon Polaris iconography label Jul 28, 2023
Copy link

@stuartinstrell stuartinstrell left a comment

Choose a reason for hiding this comment

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

Thanks @heyjoethomas these look great to me! Will let @Saulki review before approving for merge.

Saulki
Saulki previously requested changes Aug 15, 2023
Copy link

@Saulki Saulki left a comment

Choose a reason for hiding this comment

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

Instagram icon needs to be a little heavier.

Copy link

Choose a reason for hiding this comment

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

Instagram icon looks much more thin/smaller when placed next to other icons. Any way to add more weight to it?
image

@heyjoethomas
Copy link
Contributor Author

heyjoethomas commented Aug 15, 2023

Instagram icon needs to be a little heavier.

@Saulki We are using their branding directly. We can't edit or change their logo

@nattydodd
Copy link

Hey @heyjoethomas @Saulki! just curious when you expect this to be merged? We'd like to make use of these icons in Collective when ready. Thanks!

@Saulki
Copy link

Saulki commented Aug 17, 2023

Instagram icon needs to be a little heavier.

@Saulki We are using their branding directly. We can't edit or change their logo

@heyjoethomas I might be missing context on branding guidelines or Polaris icon guidelines, maybe even don't have context of future plans with micro icon size (my assumption why social icons being so small), so sorry if I miss on this one.

But I've played around just with the size of these icons and come to couple of ideas, let me know if there is reason they don't work and we can revert to original icons. Check it in my Figma: https://www.figma.com/file/BVJ1lEY2dEH7gEl0ypFWsP/Application-management?type=design&node-id=3749%3A49589&mode=design&t=EOsFQsre02hDZYF3-1

My rationale:

  • I found out none of social icons fit to Polaris icon keylines and are much smaller than that;
  • If we are restricted by branding, we can still play with the size and aim for similar visual weight, even when actual icon size is bigger than others. Just bumping it up to keylines might be enough, but we can go beyond that if it has thin strokes like Instagram.
  • I've used few other minor icons that we commonly use in Collabs as a comparison, because they will be mostly used in this context, next to interactive icons (like print or message). That was my baseline for icon weight. Most common use case for social icons is having it interactive as icon button which links out to social platform. Do you have other use cases in mind maybe?

image

@heyjoethomas
Copy link
Contributor Author

Instagram icon needs to be a little heavier.

@Saulki We are using their branding directly. We can't edit or change their logo

@heyjoethomas I might be missing context on branding guidelines or Polaris icon guidelines, maybe even don't have context of future plans with micro icon size (my assumption why social icons being so small), so sorry if I miss on this one.

But I've played around just with the size of these icons and come to couple of ideas, let me know if there is reason they don't work and we can revert to original icons. Check it in my Figma: https://www.figma.com/file/BVJ1lEY2dEH7gEl0ypFWsP/Application-management?type=design&node-id=3749%3A49589&mode=design&t=EOsFQsre02hDZYF3-1

My rationale:

  • I found out none of social icons fit to Polaris icon keylines and are much smaller than that;
  • If we are restricted by branding, we can still play with the size and aim for similar visual weight, even when actual icon size is bigger than others. Just bumping it up to keylines might be enough, but we can go beyond that if it has thin strokes like Instagram.
  • I've used few other minor icons that we commonly use in Collabs as a comparison, because they will be mostly used in this context, next to interactive icons (like print or message). That was my baseline for icon weight. Most common use case for social icons is having it interactive as icon button which links out to social platform. Do you have other use cases in mind maybe?

image

@Saulki Gotcha. I don't expect these to perfectly line up with our guidelines because they are built for that. However, I will double check them all to make sure they are as close as possible.

@michellegerrarddoyle
Copy link

@heyjoethomas do we have an idea when this will be merged please?

Resized some to better align with icon grid for standard Polaris icons
update instagram
@heyjoethomas
Copy link
Contributor Author

@heyjoethomas do we have an idea when this will be merged please?

When someone approves the changes.

@michellegerrarddoyle
Copy link

@heyjoethomas look ok to me but I know you said the original request came from Saulius and Stu.

@Saulki please could you review since you gave the last round of feedback? Keen to see it merged asap as we have a dev task dependant on it.

Copy link

@stuartinstrell stuartinstrell left a comment

Choose a reason for hiding this comment

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

Going to approve this PR so as to not block projects for Collabs and Collective. @Saulki is currently OOO - @heyjoethomas is there a way we can get this shipped asap and Saulius can raise any issues when he returns? cc @michellegerrarddoyle

@heyjoethomas heyjoethomas dismissed Saulki’s stale review September 6, 2023 14:22

He is OOO and this is blocked.

@heyjoethomas heyjoethomas merged commit 47652f7 into main Sep 6, 2023
@heyjoethomas heyjoethomas deleted the social-media-icons-update branch September 6, 2023 14:22
kyledurand pushed a commit that referenced this pull request Sep 7, 2023
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @shopify/polaris-icons@7.9.0

### Minor Changes

- [#9856](#9856)
[`47652f7d6`](47652f7)
Thanks [@heyjoethomas](https://github.com/heyjoethomas)! - Updates
social media icons, removing them from their containers and adds a one
for the Twitch platform.

## @shopify/polaris-migrator@0.22.0

### Minor Changes

- [#10263](#10263)
[`67699cb88`](67699cb)
Thanks [@aveline](https://github.com/aveline)! - Added migration for
`Button` component

## @shopify/polaris@11.15.0

### Minor Changes

- [#9701](#9701)
[`cbf539495`](cbf5394)
Thanks [@martenbjork](https://github.com/martenbjork)! - Updated the
Frame and Topbar components to stay clear of a scrollbar. This reduces
the overall jumpiness in the UI when scrollbars appear and disappear
when using a Polaris app.

### Patch Changes

- [#10284](#10284)
[`eba75d20a`](eba75d2)
Thanks [@zakwarsame](https://github.com/zakwarsame)! - - Updated
`Filters` query field to initialize with focus based on `mode` state


- [#10282](#10282)
[`9a2d4f62a`](9a2d4f6)
Thanks [@kyledurand](https://github.com/kyledurand)! - Fixed pointer
alignment on tooltip


- [#10343](#10343)
[`12a62b4d7`](12a62b4)
Thanks [@mrcthms](https://github.com/mrcthms)! - Fixed UI
inconsistencies in the mobile view of the IndexFilters


- [#10276](#10276)
[`abb50250e`](abb5025)
Thanks [@highfieldjames](https://github.com/highfieldjames)! - Updated
`TextField` of `type` `number` to focus when a `Spinner` button is
clicked

- Updated dependencies
\[[`47652f7d6`](47652f7)]:
    -   @shopify/polaris-icons@7.9.0

## polaris.shopify.com@0.57.3

### Patch Changes

- Updated dependencies
\[[`47652f7d6`](47652f7),
[`eba75d20a`](eba75d2),
[`9a2d4f62a`](9a2d4f6),
[`12a62b4d7`](12a62b4),
[`cbf539495`](cbf5394),
[`abb50250e`](abb5025)]:
    -   @shopify/polaris-icons@7.9.0
    -   @shopify/polaris@11.15.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
Updates social media icons by removing them from their containers so
they are more identifiable. Also adds an icon for Twitch.

<!--
  ☝️How to write a good PR title:
- Prefix it with [ComponentName] (if applicable), for example: [Button]
  - Start with a verb, for example: Add, Delete, Improve, Fix…
  - Give as much context as necessary and as little as possible
  - Prefix it with [WIP] while it’s a work in progress
-->

### WHY are these changes introduced?

We received feedback that the current icons were hard to distinguish
when next to each other.

<!--
  Context about the problem that’s being addressed.
-->

### WHAT is this pull request doing?

<!--
  Summary of the changes committed.

Before / after screenshots are appreciated for UI changes. Make sure to
include alt text that describes the screenshot.

If you include an animated gif showing your change, wrapping it in a
details tag is recommended. Gifs usually autoplay, which can cause
accessibility issues for people reviewing your PR:

    <details>
      <summary>Summary of your gif(s)</summary>
      <img src="..." alt="Description of what the gif shows">
    </details>
-->

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

### How to 🎩

🖥 [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)

<!--
  Give as much information as needed to experiment with the component
  in the playground.
-->

<details>
<summary>Copy-paste this code in
<code>playground/Playground.tsx</code>:</summary>

```jsx
import React from 'react';
import {Page} from '../src';

export function Playground() {
  return (
    <Page title="Playground">
      {/* Add the code you want to test in here */}
    </Page>
  );
}
```

</details>

### 🎩 checklist

- [ ] Tested on
[mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing)
- [ ] 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
ascherkus pushed a commit to ascherkus/polaris that referenced this pull request Feb 19, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @shopify/polaris-icons@7.9.0

### Minor Changes

- [Shopify#9856](Shopify#9856)
[`47652f7d6`](Shopify@5443369)
Thanks [@heyjoethomas](https://github.com/heyjoethomas)! - Updates
social media icons, removing them from their containers and adds a one
for the Twitch platform.

## @shopify/polaris-migrator@0.22.0

### Minor Changes

- [Shopify#10263](Shopify#10263)
[`67699cb88`](Shopify@3584b03)
Thanks [@aveline](https://github.com/aveline)! - Added migration for
`Button` component

## @shopify/polaris@11.15.0

### Minor Changes

- [Shopify#9701](Shopify#9701)
[`cbf539495`](Shopify@f95f366)
Thanks [@martenbjork](https://github.com/martenbjork)! - Updated the
Frame and Topbar components to stay clear of a scrollbar. This reduces
the overall jumpiness in the UI when scrollbars appear and disappear
when using a Polaris app.

### Patch Changes

- [Shopify#10284](Shopify#10284)
[`eba75d20a`](Shopify@5dfc913)
Thanks [@zakwarsame](https://github.com/zakwarsame)! - - Updated
`Filters` query field to initialize with focus based on `mode` state


- [Shopify#10282](Shopify#10282)
[`9a2d4f62a`](Shopify@8b6b12e)
Thanks [@kyledurand](https://github.com/kyledurand)! - Fixed pointer
alignment on tooltip


- [Shopify#10343](Shopify#10343)
[`12a62b4d7`](Shopify@a7b16c6)
Thanks [@mrcthms](https://github.com/mrcthms)! - Fixed UI
inconsistencies in the mobile view of the IndexFilters


- [Shopify#10276](Shopify#10276)
[`abb50250e`](Shopify@31df1db)
Thanks [@highfieldjames](https://github.com/highfieldjames)! - Updated
`TextField` of `type` `number` to focus when a `Spinner` button is
clicked

- Updated dependencies
\[[`47652f7d6`](Shopify@5443369)]:
    -   @shopify/polaris-icons@7.9.0

## polaris.shopify.com@0.57.3

### Patch Changes

- Updated dependencies
\[[`47652f7d6`](Shopify@5443369),
[`eba75d20a`](Shopify@5dfc913),
[`9a2d4f62a`](Shopify@8b6b12e),
[`12a62b4d7`](Shopify@a7b16c6),
[`cbf539495`](Shopify@f95f366),
[`abb50250e`](Shopify@31df1db)]:
    -   @shopify/polaris-icons@7.9.0
    -   @shopify/polaris@11.15.0

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

Labels

Icon Polaris iconography

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants