-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Product creation experience: add more context about product data #33755
Conversation
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 tested well @octaedro, I just noticed one spelling mistake in the class name.
But as @jarekmorawski mentioned in the last comment in the original issue, the tooltip text does feel a little odd, pointing users to click on it instead, and not something we have done before.
I like the idea that Jarek proposed, or maybe we want to add a link within the tooltip that users can click? (although a recent change I made doesn't allow users to hover over the tooltip content, so that would make clicking a link within a bit difficult, I could update that though).
@@ -4770,6 +4770,13 @@ img.help_tip { | |||
line-height: 24px; | |||
} | |||
|
|||
.tips_prodcut_types { |
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.
Spelling mistake, have to switch the c
and u
in prodcut
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.
Nice catch! I fixed it in commit 0188d18
@@ -21,6 +21,7 @@ | |||
<?php endforeach; ?> | |||
</optgroup> | |||
</select> | |||
<a href="https://woocommerce.com/document/managing-products/#product-types" class="tips_prodcut_types" target="_blank"><?php echo wc_help_tip( __( 'Click in the icon to learn more about each product type', 'woocommerce' ) ); ?></a> |
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.
Same spelling issue as here as above in the class name.
Test Results SummaryCommit SHA: d4266a3
To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
Hey @louwie17, Could you take another look at this PR? I added the fix to the typo you mentioned, the changes that Jarek suggested, and updated the testing instructions as well. |
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 updates @octaedro, nice work on getting the tooltip content to update when the dropdown changes 👍
I just left one minor suggestion for a styling change to keep in sync with how the other tooltips look. Suggestion in in-line comment.
display: inline-block; | ||
} | ||
.woocommerce-product-type-tip { | ||
margin-left: 1em; |
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.
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.
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 sticking with the several changes and iterations of this issue @octaedro, this tested well and code looks good as well, this is ready to ship 💯
Hi @octaedro, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:
|
All Submissions:
Changes proposed in this Pull Request:
This PR adds a tooltip to provide more context to the
Product data
area, during product creation.Closes #33539.
// cc @jarekmorawski @pmcpinto
How to test the changes in this Pull Request:
Products
>Add New
.?
) icon is visible next to the product type selector, in theProduct data
area.simple
grouped
external
variable
My product
has been added.Product types define available product details and attributes, such as downloadable files and variations. They're also used for analytics and inventory management.
Other information:
pnpm changelog add --filter=<project>
?FOR PR REVIEWER ONLY: