-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
fix(#8686): update target UI to match figma #8687
Conversation
Hi @latin-panda as you check out this draft PR, one change that is proving challenging to reproduce exactly is aligning the icon to the text.
Let me know your thoughts on it. What I have done so far Tasks to complete this work:
What's left
|
Fixes done so far
The one card I was not able to reproduce is this one below. I am not sure which kind of object I should add to @n-orlowski This is ready for your review incase something is not pixel-perfect based on the Figma design. Any tips on how to see the actual pixel count between elements ? For instance, how can I tell the padding value around the inner rectangle from the outer one ? |
Hi @latin-panda, I have addressed Nicole's requested changes, this PR is ready for a thorough review. If there are any changes required, do you have any tips / tools I can use to see the actual pixel count between elements ? For instance, how can I tell the padding value around the inner rectangle from the outer one ? Or how can I tell the padding value between the goal and the top of the card should be |
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.
Thanks Ben! A couple of feedback. I'm going to run the branch in my local in the meantime.
@Benmuiruri please fix the PR title to match the format |
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.
@ben I left a comment. Also, please mark the completed items from this checklist.
The documentation is a good way to detect bugs
webapp/src/ts/components/analytics-targets-progress/analytics-targets-progress.component.html
Outdated
Show resolved
Hide resolved
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.
Looks good, please update the checklist in this ticket with the completed items.
And once the CI is green, you can do squash and merge
. Approving now to unblock
ab7c525
to
f49580c
Compare
Hi @garethbowen and @1yuv this PR has been completed, tested, and approved. It's ready to be merged once the CI build passes. |
@Benmuiruri The fix for e2e has been merged, please update this PR with the latest from the main branch. Thanks! |
f49580c
to
fe68b4d
Compare
* Chore: add border-radius and gray-bg variables * Fix: update target border-radius and gray-bg * Fix: update target card margins on mobile * Fix: add horizontal border in target card * Fix: align icon with text * Fix: match Figma design * Fix: small adjustment * Fix: adjust padding * Fix: adjust progress bar border * Fix: adjust goal text alignment * Fix: create variables * Fix: rename variable * Fix: update progress bar in target aggregate * Fix: minor adjustment * Fix: adjust progress bar * Fix: adjustments * Fix: adjustments * Fix: adjustments * Fix: adjustments * Fix: adjustments * Fix: tiny adjustment * Fix: tiny adjustment * Fix: extract class * Fix: target aggregate adjustment * Fix: progress bar adjustment
Description
Update Target Page CSS to meet match Figma design
#8686
Code review checklist
Compose URLs
If Build CI hasn't passed, these may 404:
License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.