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
Upload: Improve asset cards and upload progress visual design #14849
Conversation
@maevalienard The "cancel" button during upload doesn't have any hover/ focus effect: do you have an idea what we could use there? |
Codecov ReportBase: 59.62% // Head: 59.58% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #14849 +/- ##
==========================================
- Coverage 59.62% 59.58% -0.05%
==========================================
Files 1339 1339
Lines 32566 32608 +42
Branches 6207 6214 +7
==========================================
+ Hits 19418 19428 +10
- Misses 11289 11316 +27
- Partials 1859 1864 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Good catch. From what I saw, we could use neutral700 as hover color :) |
I've addressed the feedback from @maevalienard & addressed your comment @ronronscelestes – its now exactly as specified in the figma file 🙇🏼♀️ |
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 for the fixes @joshuaellis 💃
one last UI tweak:
I think by doing that
<Card borderColor={error ? 'danger600' : undefined}>
in UploadingAssetCard
we break the border color when no error
from my tests it should be fixed by doing:
<Card borderColor={error ? 'danger600' : 'neutral150'}>
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 goood 💅
What does it do?
@strapi/design-system@1.3.0
is releasedUploadProgress
UploadProgress
colors for@strapi/design-system@1.3.0
Why is it needed?
Stay up-to-date with the UI Kit.
Related issue(s)/PR(s)