-
Notifications
You must be signed in to change notification settings - Fork 92
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
Upgrade Google Material Icons #251
Upgrade Google Material Icons #251
Conversation
After material icons upgrade, the former filled copy/duplicate icon is not filled anymore and looks exactly the same as the same but outlined copyToClipboard icon, which means that the outlined icon now represents all three aliases. We agreed to only use `copy` alias for the icon which is the most commonly alias used in our products.
@indirectlylit Where would be a good place to save a note about "1. The filled copy/duplicate and the outlined copyToClipboard is merged into one outlined copy"? I assume that at the end of the day this will come to the GitHub Releases page and KDS version history page but I am not sure where to log updates before we have a new release. |
What kind of 'domain' is this referring to? This seems like a mistake, if we're using the facility icon for other reasons. |
please add these notes to the changelog page: |
@indirectlylit I don't know how we use all icons, but taking into account that we need to define them in |
@indirectlylit |
I don't think that it was exposed on purpose with the token In Material Icons, 'business' and 'domain' are aliases to the same icon: The kolibri-design-system/lib/KIcon/iconDefinitions.js Lines 258 to 260 in efbbf8a
However, the token is not used in there anymore. It was removed when we transitioned this icon from representing 'classes' to its current meaning of 'facility': learningequality/kolibri@219e74e Long story short, I think we can safely drop the
That's fine. I need to work with @sairina at some point to get the changelog fully up-to-date with all the changes we haven't logged. |
Thanks @indirectlylit , I removed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very minor, but for paragraphs in /pages
I disabled the text length rule and use soft wrapping in the text editor.
This makes editing long-form documentation easier because we don't need to manage endline placement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and looks good!
The final step (if necessary) will be to create any PRs against Studio/Kolibri/KDP with the updates necessary to make sure the copy alias changes don't cause breakage.
thank you!
@indirectlylit I've checked KDP, KDS, and Studio, and no updates are needed there in regards to this PR. |
great, thanks for investigating! |
Description
This PR upgrades
@material-icons/svg
package (Google Material Icons fork) from0.0.1
to its latest version1.0.12
so that we have access to some new icons that are needed for new products features and are missing in the older version (I will expose them in a different PR). It also contains updated precompiled Vue svg icons files and reStructuredText replacement strings.Before/after of KDS public icons
1. The filled
copy
/duplicate
and the outlinedcopyToClipboard
is merged into one outlinedcopy
(CHANGELOG)The former filled
copy
/duplicate
icon wasn't filled anymore after the@material-icons/svg
package upgrade and looked exactly the same as the outlinedcopyToClipboard
icon, which means that the outlined icon newly represented all three aliases. @jtamiace confirmed that it's fine to deprecate the filled icon in KDS public icons set too. In addition to that, we will only keepcopy
alias for this icon which is the most commonly used alias in our products.@radinamatic This also means that
duplicate
andcopyToClipboard
icons won't be available in reStructuredText replacement strings anymore and should be replaced bycopy
icon.2.
domain
andfacility
icons have been merged into one icon withdomain
andfacility
aliasesIt seems that previously, there were some, hard to perceive, differences in svgs that are not there anymore, so the same icon is indeed the same icon now :)
3. Minor updates in svg content of
email
,settings
,indeterminateCheck
,lesson
, andhint
iconsI haven't noticed any visual differences for these.
Updated KDS icons documentation page
:
Reviewer guidance