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

Task/prefer svgicon in sharing #162

Merged
merged 7 commits into from
Jan 4, 2018

Conversation

edoardo
Copy link
Member

@edoardo edoardo commented Dec 21, 2017

I'm using the SharingDialog component in the new FavoritesDialog component (WIP) and got broken UI due to missing material icons font in my test app.
With nico we decided to use SvgIcon instead.

Replace FontIcon with SvgIcon in the Sharing component.
Added the missing SVG imports in the SvgIcon component.

Sorry for the huge diff, do we have special settings for prettier? I thought we run pretty much with the defaults, but I might have to tweak the settings in my editor.

@jenniferarnesen
Copy link
Contributor

jenniferarnesen commented Jan 2, 2018

@edoardo Can you add the new icons to the svgicon example? Also, I know you didn't add the PermissionOption component, but it has no tests and we should try to have some coverage for every component in d2-ui. Could you add tests for it?

@jenniferarnesen
Copy link
Contributor

@edoardo Regarding prettier, it is not set up in this repo. If you are running prettier in your workspace, it looks like you might need to add a few configurations, like Arrow Function Parentheses, and line width. Here is a link to the options: https://prettier.io/docs/en/options.html

@edoardo
Copy link
Member Author

edoardo commented Jan 3, 2018

@jenniferarnesen Examples and tests added.

@jenniferarnesen jenniferarnesen merged commit c2cac08 into master Jan 4, 2018
@jenniferarnesen jenniferarnesen deleted the task/prefer-svgicon-in-sharing branch January 4, 2018 10:25
edoardo added a commit that referenced this pull request Jan 4, 2018
This commit includes:
* Replace FontIcon with SvgIcon in sharing component, we are moving away from FontIcon
* Added tests for PermissionOption component
* Some Prettier formatting changes
varl pushed a commit that referenced this pull request Feb 23, 2018
This commit includes:
* Replace FontIcon with SvgIcon in sharing component, we are moving away from FontIcon
* Added tests for PermissionOption component
* Some Prettier formatting changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants