-
Notifications
You must be signed in to change notification settings - Fork 12
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
in AssignmentIconds replace <path>s with <circle>s where applicable #1575
Conversation
0be7b2d
to
922d149
Compare
477a5c4
to
25a273e
Compare
FYI #1573 is changing the daily writing icon |
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.
+1 for pixel perfect!
nice tysm @bcardiff I will add that to this |
fd09a03
to
1e91ac5
Compare
@NoRedInk/design I have updated this to
Once approved I will do the commit dropping the old icons. NB @charbelrami these are not pixel perfect! Several of the old icons did not have their circles touch the edges of the containing box ( Note for myself: you get all the SVG code as Markdown with $$('title').forEach(t => t.remove());
$$('[class]').forEach(x => x.removeAttribute('class'));
t3 = '```';
copy($$('tbody tr').map(row =>
`### ${row.innerText.trim()} \n${t3}svg\n${row.children[2].innerHTML}\n${t3}`
).join('\n\n')) |
@bendansby re-requesting but the only thing that changed was Daily Writing |
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.
so round
This is now ready to merge! All changes are approved, old versions of icons dropped, and updated
<svg>
s are in this readme as code (and can be exported with some judicious Taco Bell programming).HOLD UP NO MERGING YETSo the checklist is:As of right now this has two versions of every applicable icon. When the icon name is suffixed with
X
that's actually the original version of the icon using a path. I include those because I want design to be able to compare side by side. Once they approve, I will make a commit removing all of them leaving only the versions with<circle>
s.🔧 Modifying a component
Context
Sometimes circular icons in in AssignmentIcons look unsharp around the outsides. This is because they do not use Circle or Ellipse elements, but Paths.
🖼️ What does this change look like?
You can see little pixel imperfections in this, not gonna lie. In the old versions a lot of the circles were slightly elliptical or did not touch the sides of their bounding box. Maybe that actually works better because the shape inside of the circle looks more centered in those circles, and I get that. Now the circles touch all four sides of the bounding rectangle.
You can definitely get a better feel with a live page. The preview lets you blow up the icons pretty big (turn on "Show names" to know which is which). I can also send the HTML page that I've screenshot below. There's no good way to serve it to you other than as an image. Stinks.
Rendered SVG code for each
Collapsed because it's a ton of code blocks that make this hard to read
startPrimary
assessment
practiceCircled
modules
writing
passageQuizCircled
planningDiagnosticCircled
quizCircled
unitDiagnosticCircled
quickWriteCircled
guidedDraftCircled
selfReviewCircled
peerReviewCircled
gradingAssistantCircled
dailyWritingCircled
Component completion checklist
nriDescription
[x] If this is a new major version of the component, our team has stories created to upgrade all instances of the old component. Here are links to the stories: