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

fixes-for-customer-name-twice-desktop #20832

Conversation

priti2jcommerce
Copy link
Contributor

Description (*)

  1. Magento version 2.3 luma theme
  2. Desktop view

Fixed Issues (if relevant)

  1. On Header customer name appearing twice after login #20830
  2. ...

Manual testing scenarios (*)

  1. Go to login page after login ,customer full name is present twice one in welcome message and second in drop down

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-engcom-team
Copy link
Contributor

Hi @priti2jcommerce. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me 2.3-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

@shikhamis11
Copy link
Member

@magento-engcom-team give me test instance

@magento-engcom-team
Copy link
Contributor

Hi @shikhamis11. Thank you for your request. I'm working on Magento instance for you

@priti2jcommerce
Copy link
Contributor Author

@magento-engcom-team give me 2.3-develop instance

@magento-engcom-team
Copy link
Contributor

Hi @priti2jcommerce. Thank you for your request. I'm working on Magento 2.3-develop instance for you

@orlangur orlangur self-assigned this Jan 31, 2019
@@ -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>
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@priti2jcommerce
Copy link
Contributor Author

Hi @orlangur ,

Any update on this PR?

Thanks,
Priti

@@ -525,6 +525,9 @@

.customer-name {
cursor: pointer;
span {
display: none;
Copy link
Contributor

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

Copy link
Contributor Author

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

@magento-cicd2
Copy link
Contributor

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ priti2jcommerce
❌ priti


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.

@priti2jcommerce priti2jcommerce force-pushed the fixes-for-customer-name-twice-desktop branch from a00fe27 to d7ac52b Compare April 4, 2019 08:45
@m2-assistant
Copy link

m2-assistant bot commented Apr 4, 2019

Hi @priti2jcommerce, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@ghost ghost unassigned orlangur Apr 4, 2019
@magento-engcom-team
Copy link
Contributor

Hi @orlangur, thank you for the review.
ENGCOM-4666 has been created to process this Pull Request

@priti2jcommerce
Copy link
Contributor Author

@magento-engcom-team give me 2.3-develop instance

@magento-engcom-team
Copy link
Contributor

Hi @priti2jcommerce. Thank you for your request. I'm working on Magento 2.3-develop instance for you

@magento-engcom-team
Copy link
Contributor

Hi @priti2jcommerce, here is your Magento instance.
Admin access: https://i-20832-2-3-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@VasylShvorak
Copy link
Contributor

✔️ QA passed

@m2-assistant
Copy link

m2-assistant bot commented Apr 16, 2019

Hi @priti2jcommerce, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@iGerchak
Copy link
Contributor

iGerchak commented Jul 18, 2019

@orlangur, it's incorrect fix because if we remove the "Welcome" block, customers will see just drop-down arrow without any text
Example:
Capture 2019-07-18 at 17 05 47

@orlangur
Copy link
Contributor

orlangur commented Aug 6, 2019

@iGerchak please report a new issue referring here.

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.