Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[dev]: Update feather to 2.0.x #1416

Merged
merged 11 commits into from
Jul 16, 2019
Merged

[dev]: Update feather to 2.0.x #1416

merged 11 commits into from
Jul 16, 2019

Conversation

sirugh
Copy link
Contributor

@sirugh sirugh commented Jul 8, 2019

Description

Updates feathericons to 2.0.3 and uses named imports instead of specifying path.

Related Issue

Closes #1415 .

Verification Steps

  1. General regression test of the app to make sure icons appear and display properly.
  2. In venia-concept run yarn build:analyze before and after this PR. Compare size. After this PR we should gain less than a KB in size (probably due to updates in the feather repo).

Screenshots / Screen Captures (if appropriate)

Before
Image from Gyazo

After
Image from Gyazo

Proposed Labels for Change Type/Package

  • major (e.g x.0.0 - a breaking change)
  • minor (e.g 0.x.0 - a backwards compatible addition)
  • patch (e.g 0.0.x - a bug fix)

Checklist:

  • I have updated the documentation accordingly, if necessary.
  • I have added tests to cover my changes, if necessary.

@vercel
Copy link

vercel bot commented Jul 8, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://venia-git-updatefeather.magento-research1.now.sh

import WifiIcon from 'react-feather/dist/icons/wifi';
import { AlertCircle as AlertCircleIcon } from 'react-feather';
import { CloudOff as CloudOffIcon } from 'react-feather';
import { Wifi as WifiIcon } from 'react-feather';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I could now combine these into a single import with csv -- just kept them individual for diff sake.

Copy link
Contributor

Choose a reason for hiding this comment

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

Combining would be nice. 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can do that -- the truth is I used a regex replace for these to make the initial conversion :D

@PWAStudioBot
Copy link
Contributor

PWAStudioBot commented Jul 8, 2019

Messages
📖 We are currently working on automating the PR metadata checks. Until that time, you may see failures related to labels/description/linked issues/etc even if you have fixed the problem. Failures will persist until the next push (assuming they are fixed).

Generated by 🚫 dangerJS against afeaf09

@sirugh sirugh added the version: Patch This changeset includes backwards compatible bug fixes. label Jul 8, 2019
Copy link
Contributor

@jimbo jimbo 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, works well. Good improvement. 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
pkg:venia-concept version: Patch This changeset includes backwards compatible bug fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature]: Update to react-feather 2.0
4 participants