-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
fixes-for-customer-name-twice-desktop #20832
fixes-for-customer-name-twice-desktop #20832
Conversation
Hi @priti2jcommerce. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@magento-engcom-team give me test instance |
Hi @shikhamis11. Thank you for your request. I'm working on Magento instance for you |
@magento-engcom-team give me 2.3-develop instance |
Hi @priti2jcommerce. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
@@ -15,7 +15,8 @@ $welcomeMessage = $block->getWelcome(); | |||
case 'welcome': ?> | |||
<li class="greet welcome" data-bind="scope: 'customer'"> | |||
<!-- ko if: customer().fullname --> | |||
<span class="logged-in" data-bind="text: new String('<?= $block->escapeHtml(__('Welcome, %1!', '%1')) ?>').replace('%1', customer().fullname)"> | |||
<span><?= $block->escapeHtml(__('Welcome,')) ?></span> |
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.
This is not acceptable, translatable message should retain the same.
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.
Hi @orlangur ,
Thanks for the update, made the changes for this.
Hi @orlangur , Any update on this PR? Thanks, |
@@ -525,6 +525,9 @@ | |||
|
|||
.customer-name { | |||
cursor: pointer; | |||
span { | |||
display: none; |
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.
Why do we need to hide it? Simply eliminate redundant text rendering
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.
made the changes for above
priti seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
a00fe27
to
d7ac52b
Compare
Hi @priti2jcommerce, thank you for your contribution! |
Hi @orlangur, thank you for the review. |
@magento-engcom-team give me 2.3-develop instance |
Hi @priti2jcommerce. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Hi @priti2jcommerce, here is your Magento instance. |
✔️ QA passed |
…stomer-name-twice-desktop # Conflicts: # app/code/Magento/Customer/Test/Mftf/Section/StorefrontPanelHeaderSection.xml
Hi @priti2jcommerce, thank you for your contribution! |
@orlangur, it's incorrect fix because if we remove the "Welcome" block, customers will see just drop-down arrow without any text |
@iGerchak please report a new issue referring here. |
Description (*)
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)