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

IBX-3070: User thumbnail should not be rendered with border and other minor bugs #43

Merged
merged 5 commits into from
Jun 27, 2022

Conversation

tischsoic
Copy link
Contributor

@tischsoic tischsoic commented Jun 22, 2022

Question Answer
Tickets https://issues.ibexa.co/browse/IBX-3070
Bug fix? yes/no
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

@tischsoic tischsoic force-pushed the IBX-3070-user-thumbnail branch from 6747193 to 5c137b3 Compare June 26, 2022 09:07
Copy link
Contributor

@tomaszszopinski tomaszszopinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA approved on IbexaDXP 4.1 commerce.

<ellipse ry="15" rx="15" cy="16" cx="16" fill="{{ background }}" stroke="#000000" stroke-width="3" />
<text x="5" y="22" font-size="16px" fill="{{ text }}">{{ initials }}</text>
<ellipse ry="15" rx="15" cy="16" cx="16" fill="{{ background }}" stroke="{{ text_color }}" stroke-width="1" />
<text x="50%" y="50%" dominant-baseline="central" text-anchor="middle" font-size="12px" fill="{{ text_color }}">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You still should have fallback to text here if text_color is not set.

@@ -1,4 +1,6 @@
<symbol id="profile_image" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<ellipse ry="15" rx="15" cy="16" cx="16" fill="{{ background }}" stroke="#000000" stroke-width="3" />
<text x="5" y="22" font-size="16px" fill="{{ text }}">{{ initials }}</text>
<ellipse ry="15" rx="15" cy="16" cx="16" fill="{{ background }}" stroke="{{ text_color }}" stroke-width="1" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should not make that same mistake twice and use different variable name for stroke color as it is not text related, right?

@tischsoic tischsoic requested a review from ViniTou June 27, 2022 06:43
@ViniTou ViniTou merged commit 9221e42 into 4.1 Jun 27, 2022
@ViniTou ViniTou deleted the IBX-3070-user-thumbnail branch June 27, 2022 08:26
@tischsoic
Copy link
Contributor Author

Merged up:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants